From 80e2283583397658ef8b09925ea0e6ee0ff7a925 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 1 Jun 2023 19:01:28 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20post-p?= =?UTF-8?q?rocessor?= 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 --- .../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 | 95 - .../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 - .../google/firestore/v1/BloomFilterProto.java | 67 - .../com/google/firestore/v1/CommonProto.java | 110 - .../google/firestore/v1/DocumentProto.java | 138 - .../google/firestore/v1/FirestoreProto.java | 684 --- .../com/google/firestore/v1/QueryProto.java | 259 - .../com/google/firestore/v1/WriteProto.java | 179 - .../admin/v1/CollectionGroupName.java | 0 .../admin/v1/CreateIndexRequest.java | 466 +- .../admin/v1/CreateIndexRequestOrBuilder.java | 52 +- .../google/firestore/admin/v1/Database.java | 953 ++-- .../firestore/admin/v1/DatabaseName.java | 0 .../firestore/admin/v1/DatabaseOrBuilder.java | 80 +- .../firestore/admin/v1/DatabaseProto.java | 104 + .../admin/v1/DeleteIndexRequest.java | 347 +- .../admin/v1/DeleteIndexRequestOrBuilder.java | 56 + .../admin/v1/ExportDocumentsMetadata.java | 845 ++- .../v1/ExportDocumentsMetadataOrBuilder.java | 83 +- .../admin/v1/ExportDocumentsRequest.java | 529 +- .../v1/ExportDocumentsRequestOrBuilder.java | 62 +- .../admin/v1/ExportDocumentsResponse.java | 322 +- .../v1/ExportDocumentsResponseOrBuilder.java | 27 +- .../com/google/firestore/admin/v1/Field.java | 1461 +++-- .../google/firestore/admin/v1/FieldName.java | 0 .../admin/v1/FieldOperationMetadata.java | 2211 +++++--- .../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 | 347 +- .../admin/v1/GetDatabaseRequestOrBuilder.java | 56 + .../firestore/admin/v1/GetFieldRequest.java | 340 +- .../admin/v1/GetFieldRequestOrBuilder.java | 56 + .../firestore/admin/v1/GetIndexRequest.java | 340 +- .../admin/v1/GetIndexRequestOrBuilder.java | 56 + .../admin/v1/ImportDocumentsMetadata.java | 845 ++- .../v1/ImportDocumentsMetadataOrBuilder.java | 83 +- .../admin/v1/ImportDocumentsRequest.java | 529 +- .../v1/ImportDocumentsRequestOrBuilder.java | 62 +- .../com/google/firestore/admin/v1/Index.java | 1457 +++-- .../google/firestore/admin/v1/IndexName.java | 0 .../admin/v1/IndexOperationMetadata.java | 734 ++- .../v1/IndexOperationMetadataOrBuilder.java | 65 +- .../firestore/admin/v1/IndexOrBuilder.java | 63 +- .../google/firestore/admin/v1/IndexProto.java | 111 + .../admin/v1/ListDatabasesRequest.java | 347 +- .../v1/ListDatabasesRequestOrBuilder.java | 56 + .../admin/v1/ListDatabasesResponse.java | 408 +- .../v1/ListDatabasesResponseOrBuilder.java | 36 +- .../firestore/admin/v1/ListFieldsRequest.java | 520 +- .../admin/v1/ListFieldsRequestOrBuilder.java | 56 +- .../admin/v1/ListFieldsResponse.java | 479 +- .../admin/v1/ListFieldsResponseOrBuilder.java | 46 +- .../admin/v1/ListIndexesRequest.java | 522 +- .../admin/v1/ListIndexesRequestOrBuilder.java | 56 +- .../admin/v1/ListIndexesResponse.java | 479 +- .../v1/ListIndexesResponseOrBuilder.java | 46 +- .../firestore/admin/v1/LocationMetadata.java | 238 +- .../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 | 304 +- .../firestore/admin/v1/ProgressOrBuilder.java | 51 + .../firestore/admin/v1/ProjectName.java | 0 .../admin/v1/UpdateDatabaseMetadata.java | 245 +- .../v1/UpdateDatabaseMetadataOrBuilder.java | 24 + .../admin/v1/UpdateDatabaseRequest.java | 484 +- .../v1/UpdateDatabaseRequestOrBuilder.java | 46 +- .../admin/v1/UpdateFieldRequest.java | 458 +- .../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 | 715 +-- .../bundle/BundleElementOrBuilder.java | 42 +- .../firestore/bundle/BundleMetadata.java | 497 +- .../bundle/BundleMetadataOrBuilder.java | 44 +- .../google/firestore/bundle/BundleProto.java | 145 + .../bundle/BundledDocumentMetadata.java | 544 +- .../BundledDocumentMetadataOrBuilder.java | 56 +- .../google/firestore/bundle/BundledQuery.java | 546 +- .../bundle/BundledQueryOrBuilder.java | 37 +- .../google/firestore/bundle/NamedQuery.java | 483 +- .../firestore/bundle/NamedQueryOrBuilder.java | 43 +- .../google/firestore/bundle/bundle.proto | 0 .../firestore/v1/AggregationResult.java | 468 +- .../v1/AggregationResultOrBuilder.java | 48 +- .../firestore/v1/AggregationResultProto.java | 87 + .../com/google/firestore/v1/ArrayValue.java | 395 +- .../firestore/v1/ArrayValueOrBuilder.java | 37 +- .../v1/BatchGetDocumentsRequest.java | 794 ++- .../v1/BatchGetDocumentsRequestOrBuilder.java | 78 +- .../v1/BatchGetDocumentsResponse.java | 592 +- .../BatchGetDocumentsResponseOrBuilder.java | 49 +- .../firestore/v1/BatchWriteRequest.java | 725 +-- .../v1/BatchWriteRequestOrBuilder.java | 76 +- .../firestore/v1/BatchWriteResponse.java | 558 +- .../v1/BatchWriteResponseOrBuilder.java | 55 +- .../firestore/v1/BeginTransactionRequest.java | 412 +- .../v1/BeginTransactionRequestOrBuilder.java | 35 +- .../v1/BeginTransactionResponse.java | 280 +- .../v1/BeginTransactionResponseOrBuilder.java | 38 + .../com/google/firestore/v1/BitSequence.java | 297 +- .../firestore/v1/BitSequenceOrBuilder.java | 24 +- .../com/google/firestore/v1/BloomFilter.java | 350 +- .../firestore/v1/BloomFilterOrBuilder.java | 29 +- .../google/firestore/v1/BloomFilterProto.java | 81 + .../google/firestore/v1/CommitRequest.java | 503 +- .../firestore/v1/CommitRequestOrBuilder.java | 49 +- .../google/firestore/v1/CommitResponse.java | 480 +- .../firestore/v1/CommitResponseOrBuilder.java | 44 +- .../com/google/firestore/v1/CommonProto.java | 129 + .../firestore/v1/CreateDocumentRequest.java | 664 ++- .../v1/CreateDocumentRequestOrBuilder.java | 70 +- .../java/com/google/firestore/v1/Cursor.java | 420 +- .../google/firestore/v1/CursorOrBuilder.java | 40 +- .../firestore/v1/DeleteDocumentRequest.java | 407 +- .../v1/DeleteDocumentRequestOrBuilder.java | 35 +- .../com/google/firestore/v1/Document.java | 711 ++- .../google/firestore/v1/DocumentChange.java | 517 +- .../firestore/v1/DocumentChangeOrBuilder.java | 44 +- .../google/firestore/v1/DocumentDelete.java | 486 +- .../firestore/v1/DocumentDeleteOrBuilder.java | 44 +- .../com/google/firestore/v1/DocumentMask.java | 341 +- .../firestore/v1/DocumentMaskOrBuilder.java | 36 +- .../firestore/v1/DocumentOrBuilder.java | 73 +- .../google/firestore/v1/DocumentProto.java | 168 + .../google/firestore/v1/DocumentRemove.java | 486 +- .../firestore/v1/DocumentRemoveOrBuilder.java | 44 +- .../firestore/v1/DocumentTransform.java | 1652 ++++-- .../v1/DocumentTransformOrBuilder.java | 57 +- .../google/firestore/v1/ExistenceFilter.java | 400 +- .../v1/ExistenceFilterOrBuilder.java | 32 +- .../google/firestore/v1/FirestoreProto.java | 784 +++ .../firestore/v1/GetDocumentRequest.java | 583 +- .../v1/GetDocumentRequestOrBuilder.java | 49 +- .../v1/ListCollectionIdsRequest.java | 553 +- .../v1/ListCollectionIdsRequestOrBuilder.java | 50 +- .../v1/ListCollectionIdsResponse.java | 427 +- .../ListCollectionIdsResponseOrBuilder.java | 45 +- .../firestore/v1/ListDocumentsRequest.java | 902 +-- .../v1/ListDocumentsRequestOrBuilder.java | 91 +- .../firestore/v1/ListDocumentsResponse.java | 468 +- .../v1/ListDocumentsResponseOrBuilder.java | 46 +- .../google/firestore/v1/ListenRequest.java | 749 +-- .../firestore/v1/ListenRequestOrBuilder.java | 71 +- .../google/firestore/v1/ListenResponse.java | 750 ++- .../firestore/v1/ListenResponseOrBuilder.java | 58 +- .../com/google/firestore/v1/MapValue.java | 464 +- .../firestore/v1/MapValueOrBuilder.java | 48 +- .../firestore/v1/PartitionQueryRequest.java | 708 ++- .../v1/PartitionQueryRequestOrBuilder.java | 61 +- .../firestore/v1/PartitionQueryResponse.java | 468 +- .../v1/PartitionQueryResponseOrBuilder.java | 46 +- .../com/google/firestore/v1/Precondition.java | 427 +- .../firestore/v1/PreconditionOrBuilder.java | 32 +- .../com/google/firestore/v1/QueryProto.java | 290 + .../google/firestore/v1/RollbackRequest.java | 342 +- .../v1/RollbackRequestOrBuilder.java | 30 +- .../v1/RunAggregationQueryRequest.java | 776 ++- .../RunAggregationQueryRequestOrBuilder.java | 63 +- .../v1/RunAggregationQueryResponse.java | 460 +- .../RunAggregationQueryResponseOrBuilder.java | 37 +- .../google/firestore/v1/RunQueryRequest.java | 721 ++- .../v1/RunQueryRequestOrBuilder.java | 57 +- .../google/firestore/v1/RunQueryResponse.java | 562 +- .../v1/RunQueryResponseOrBuilder.java | 46 +- .../v1/StructuredAggregationQuery.java | 1606 ++++-- .../StructuredAggregationQueryOrBuilder.java | 60 +- .../google/firestore/v1/StructuredQuery.java | 4886 +++++++++++------ .../v1/StructuredQueryOrBuilder.java | 97 +- .../java/com/google/firestore/v1/Target.java | 1607 ++++-- .../com/google/firestore/v1/TargetChange.java | 667 ++- .../firestore/v1/TargetChangeOrBuilder.java | 52 +- .../google/firestore/v1/TargetOrBuilder.java | 62 +- .../firestore/v1/TransactionOptions.java | 1116 ++-- .../v1/TransactionOptionsOrBuilder.java | 34 +- .../firestore/v1/UpdateDocumentRequest.java | 643 ++- .../v1/UpdateDocumentRequestOrBuilder.java | 59 +- .../java/com/google/firestore/v1/Value.java | 1150 ++-- .../google/firestore/v1/ValueOrBuilder.java | 107 +- .../java/com/google/firestore/v1/Write.java | 995 ++-- .../google/firestore/v1/WriteOrBuilder.java | 91 +- .../com/google/firestore/v1/WriteProto.java | 213 + .../com/google/firestore/v1/WriteRequest.java | 823 +-- .../firestore/v1/WriteRequestOrBuilder.java | 88 +- .../google/firestore/v1/WriteResponse.java | 588 +- .../firestore/v1/WriteResponseOrBuilder.java | 56 +- .../com/google/firestore/v1/WriteResult.java | 476 +- .../firestore/v1/WriteResultOrBuilder.java | 44 +- .../firestore/v1/aggregation_result.proto | 0 .../google/firestore/v1/bloom_filter.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 252 files changed, 43312 insertions(+), 26541 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/BloomFilterProto.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 (67%) 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 (88%) 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 (89%) 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 (62%) 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 (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/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/BitSequence.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BitSequenceOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BloomFilter.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BloomFilterOrBuilder.java (59%) create mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterProto.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 (73%) 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 (72%) 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 (69%) 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 (77%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java (84%) 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 (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java (79%) 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 (77%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java (85%) 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 (66%) 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 (85%) 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 (69%) 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 (84%) 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 (83%) 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 (77%) 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 (75%) 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 (86%) 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 (77%) 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/bloom_filter.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/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 8af4442605..dcbfef47ff 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 523a32f6b3..808c904934 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 d94395a356..8fddccb4eb 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 eb94bfc410..045422236f 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 469063762f..28ec996d86 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 b0058c0d98..db8aa0d672 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 0000000000..cc63ecb8d4 --- /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 9dd4b68042..0000000000 --- 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 646dc6e90f..0000000000 --- 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\"\321\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\030\n\nkey_prefix\030\024 \001(\tB" + - "\004\342A\001\003\022\014\n\004etag\030c \001(\t\"W\n\014DatabaseType\022\035\n\031D" + - "ATABASE_TYPE_UNSPECIFIED\020\000\022\024\n\020FIRESTORE_" + - "NATIVE\020\001\022\022\n\016DATASTORE_MODE\020\002\"w\n\017Concurre" + - "ncyMode\022 \n\034CONCURRENCY_MODE_UNSPECIFIED\020" + - "\000\022\016\n\nOPTIMISTIC\020\001\022\017\n\013PESSIMISTIC\020\002\022!\n\035OP" + - "TIMISTIC_WITH_ENTITY_GROUPS\020\003\"b\n\030AppEngi" + - "neIntegrationMode\022+\n\'APP_ENGINE_INTEGRAT" + - "ION_MODE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010D" + - "ISABLED\020\002:R\352AO\n!firestore.googleapis.com" + - "/Database\022\'projects/{project}/databases/" + - "{database}R\001\001B\334\001\n\035com.google.firestore.a" + - "dmin.v1B\rDatabaseProtoP\001Z9cloud.google.c" + - "om/go/firestore/apiv1/admin/adminpb;admi" + - "npb\242\002\004GCFS\252\002\037Google.Cloud.Firestore.Admi" + - "n.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352\002" + - "#Google::Cloud::Firestore::Admin::V1b\006pr" + - "oto3" - }; - 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 0509378e28..0000000000 --- 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 5ad813f4b9..0000000000 --- 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\"\307\004\n\005Field\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022B\n\014i" + - "ndex_config\030\002 \001(\0132,.google.firestore.adm" + - "in.v1.Field.IndexConfig\022>\n\nttl_config\030\003 " + - "\001(\0132*.google.firestore.admin.v1.Field.Tt" + - "lConfig\032\211\001\n\013IndexConfig\0221\n\007indexes\030\001 \003(\013" + - "2 .google.firestore.admin.v1.Index\022\034\n\024us" + - "es_ancestor_config\030\002 \001(\010\022\026\n\016ancestor_fie" + - "ld\030\003 \001(\t\022\021\n\treverting\030\004 \001(\010\032\236\001\n\tTtlConfi" + - "g\022E\n\005state\030\001 \001(\01620.google.firestore.admi" + - "n.v1.Field.TtlConfig.StateB\004\342A\001\003\"J\n\005Stat" + - "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n" + - "\n\006ACTIVE\020\002\022\020\n\014NEEDS_REPAIR\020\003:y\352Av\n\036fires" + - "tore.googleapis.com/Field\022Tprojects/{pro" + - "ject}/databases/{database}/collectionGro" + - "ups/{collection}/fields/{field}B\331\001\n\035com." + - "google.firestore.admin.v1B\nFieldProtoP\001Z" + - "9cloud.google.com/go/firestore/apiv1/adm" + - "in/adminpb;adminpb\242\002\004GCFS\252\002\037Google.Cloud" + - ".Firestore.Admin.V1\312\002\037Google\\Cloud\\Fires" + - "tore\\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 4560bd076a..0000000000 --- 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\"R\n\024ListDatabasesRequest\022:\n\006p" + - "arent\030\001 \001(\tB*\342A\001\002\372A#\022!firestore.googleap" + - "is.com/Database\"O\n\025ListDatabasesResponse" + - "\0226\n\tdatabases\030\001 \003(\0132#.google.firestore.a" + - "dmin.v1.Database\"N\n\022GetDatabaseRequest\0228" + - "\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!firestore.googlea" + - "pis.com/Database\"\205\001\n\025UpdateDatabaseReque" + - "st\022;\n\010database\030\001 \001(\0132#.google.firestore." + - "admin.v1.DatabaseB\004\342A\001\002\022/\n\013update_mask\030\002" + - " \001(\0132\032.google.protobuf.FieldMask\"\030\n\026Upda" + - "teDatabaseMetadata\"\216\001\n\022CreateIndexReques" + - "t\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\n(firestore.go" + - "ogleapis.com/CollectionGroup\0225\n\005index\030\002 " + - "\001(\0132 .google.firestore.admin.v1.IndexB\004\342" + - "A\001\002\"\216\001\n\022ListIndexesRequest\022A\n\006parent\030\001 \001" + - "(\tB1\342A\001\002\372A*\n(firestore.googleapis.com/Co" + - "llectionGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_si" + - "ze\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"a\n\023ListInde" + - "xesResponse\0221\n\007indexes\030\001 \003(\0132 .google.fi" + - "restore.admin.v1.Index\022\027\n\017next_page_toke" + - "n\030\002 \001(\t\"H\n\017GetIndexRequest\0225\n\004name\030\001 \001(\t" + - "B\'\342A\001\002\372A \n\036firestore.googleapis.com/Inde" + - "x\"K\n\022DeleteIndexRequest\0225\n\004name\030\001 \001(\tB\'\342" + - "A\001\002\372A \n\036firestore.googleapis.com/Index\"|" + - "\n\022UpdateFieldRequest\0225\n\005field\030\001 \001(\0132 .go" + - "ogle.firestore.admin.v1.FieldB\004\342A\001\002\022/\n\013u" + - "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + - "Mask\"H\n\017GetFieldRequest\0225\n\004name\030\001 \001(\tB\'\342" + - "A\001\002\372A \n\036firestore.googleapis.com/Field\"\215" + - "\001\n\021ListFieldsRequest\022A\n\006parent\030\001 \001(\tB1\342A" + - "\001\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\"_\n\022ListFieldsResp" + - "onse\0220\n\006fields\030\001 \003(\0132 .google.firestore." + - "admin.v1.Field\022\027\n\017next_page_token\030\002 \001(\t\"" + - "\205\001\n\026ExportDocumentsRequest\0228\n\004name\030\001 \001(\t" + - "B*\342A\001\002\372A#\n!firestore.googleapis.com/Data" + - "base\022\026\n\016collection_ids\030\002 \003(\t\022\031\n\021output_u" + - "ri_prefix\030\003 \001(\t\"\204\001\n\026ImportDocumentsReque" + - "st\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!firestore.goo" + - "gleapis.com/Database\022\026\n\016collection_ids\030\002" + - " \003(\t\022\030\n\020input_uri_prefix\030\003 \001(\t2\222\023\n\016Fires" + - "toreAdmin\022\333\001\n\013CreateIndex\022-.google.fires" + - "tore.admin.v1.CreateIndexRequest\032\035.googl" + - "e.longrunning.Operation\"~\312A\037\n\005Index\022\026Ind" + - "exOperationMetadata\332A\014parent,index\202\323\344\223\002G" + - "\">/v1/{parent=projects/*/databases/*/col" + - "lectionGroups/*}/indexes:\005index\022\275\001\n\013List" + - "Indexes\022-.google.firestore.admin.v1.List" + - "IndexesRequest\032..google.firestore.admin." + - "v1.ListIndexesResponse\"O\332A\006parent\202\323\344\223\002@\022" + - ">/v1/{parent=projects/*/databases/*/coll" + - "ectionGroups/*}/indexes\022\247\001\n\010GetIndex\022*.g" + - "oogle.firestore.admin.v1.GetIndexRequest" + - "\032 .google.firestore.admin.v1.Index\"M\332A\004n" + - "ame\202\323\344\223\002@\022>/v1/{name=projects/*/database" + - "s/*/collectionGroups/*/indexes/*}\022\243\001\n\013De" + - "leteIndex\022-.google.firestore.admin.v1.De" + - "leteIndexRequest\032\026.google.protobuf.Empty" + - "\"M\332A\004name\202\323\344\223\002@*>/v1/{name=projects/*/da" + - "tabases/*/collectionGroups/*/indexes/*}\022" + - "\246\001\n\010GetField\022*.google.firestore.admin.v1" + - ".GetFieldRequest\032 .google.firestore.admi" + - "n.v1.Field\"L\332A\004name\202\323\344\223\002?\022=/v1/{name=pro" + - "jects/*/databases/*/collectionGroups/*/f" + - "ields/*}\022\331\001\n\013UpdateField\022-.google.firest" + - "ore.admin.v1.UpdateFieldRequest\032\035.google" + - ".longrunning.Operation\"|\312A\037\n\005Field\022\026Fiel" + - "dOperationMetadata\332A\005field\202\323\344\223\002L2C/v1/{f" + - "ield.name=projects/*/databases/*/collect" + - "ionGroups/*/fields/*}:\005field\022\271\001\n\nListFie" + - "lds\022,.google.firestore.admin.v1.ListFiel" + - "dsRequest\032-.google.firestore.admin.v1.Li" + - "stFieldsResponse\"N\332A\006parent\202\323\344\223\002?\022=/v1/{" + - "parent=projects/*/databases/*/collection" + - "Groups/*}/fields\022\335\001\n\017ExportDocuments\0221.g" + - "oogle.firestore.admin.v1.ExportDocuments" + - "Request\032\035.google.longrunning.Operation\"x" + - "\312A2\n\027ExportDocumentsResponse\022\027ExportDocu" + - "mentsMetadata\332A\004name\202\323\344\223\0026\"1/v1/{name=pr" + - "ojects/*/databases/*}:exportDocuments:\001*" + - "\022\333\001\n\017ImportDocuments\0221.google.firestore." + - "admin.v1.ImportDocumentsRequest\032\035.google" + - ".longrunning.Operation\"v\312A0\n\025google.prot" + - "obuf.Empty\022\027ImportDocumentsMetadata\332A\004na" + - "me\202\323\344\223\0026\"1/v1/{name=projects/*/databases" + - "/*}:importDocuments:\001*\022\223\001\n\013GetDatabase\022-" + - ".google.firestore.admin.v1.GetDatabaseRe" + - "quest\032#.google.firestore.admin.v1.Databa" + - "se\"0\332A\004name\202\323\344\223\002#\022!/v1/{name=projects/*/" + - "databases/*}\022\246\001\n\rListDatabases\022/.google." + - "firestore.admin.v1.ListDatabasesRequest\032" + - "0.google.firestore.admin.v1.ListDatabase" + - "sResponse\"2\332A\006parent\202\323\344\223\002#\022!/v1/{parent=" + - "projects/*}/databases\022\333\001\n\016UpdateDatabase" + - "\0220.google.firestore.admin.v1.UpdateDatab" + - "aseRequest\032\035.google.longrunning.Operatio" + - "n\"x\312A\"\n\010Database\022\026UpdateDatabaseMetadata" + - "\332A\024database,update_mask\202\323\344\223\00262*/v1/{data" + - "base.name=projects/*/databases/*}:\010datab" + - "ase\032v\312A\030firestore.googleapis.com\322AXhttps" + - "://www.googleapis.com/auth/cloud-platfor" + - "m,https://www.googleapis.com/auth/datast" + - "oreB\245\003\n\035com.google.firestore.admin.v1B\023F" + - "irestoreAdminProtoP\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::V1\352AL\n!fir" + - "estore.googleapis.com/Location\022\'projects" + - "/{project}/locations/{location}\352Aq\n(fire" + - "store.googleapis.com/CollectionGroup\022Epr" + - "ojects/{project}/databases/{database}/co" + - "llectionGroups/{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 d0d99efcac..0000000000 --- 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 18cbac5d7f..0000000000 --- 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 66231344e4..0000000000 --- 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 c4bb6b2645..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java +++ /dev/null @@ -1,95 +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\"\254\007\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\tapi_scope\030\005 \001" + - "(\0162).google.firestore.admin.v1.Index.Api" + - "Scope\022;\n\006fields\030\003 \003(\0132+.google.firestore" + - ".admin.v1.Index.IndexField\0225\n\005state\030\004 \001(" + - "\0162&.google.firestore.admin.v1.Index.Stat" + - "e\032\275\002\n\nIndexField\022\022\n\nfield_path\030\001 \001(\t\022B\n\005" + - "order\030\002 \001(\01621.google.firestore.admin.v1." + - "Index.IndexField.OrderH\000\022O\n\014array_config" + - "\030\003 \001(\01627.google.firestore.admin.v1.Index" + - ".IndexField.ArrayConfigH\000\"=\n\005Order\022\025\n\021OR" + - "DER_UNSPECIFIED\020\000\022\r\n\tASCENDING\020\001\022\016\n\nDESC" + - "ENDING\020\002\"9\n\013ArrayConfig\022\034\n\030ARRAY_CONFIG_" + - "UNSPECIFIED\020\000\022\014\n\010CONTAINS\020\001B\014\n\nvalue_mod" + - "e\"i\n\nQueryScope\022\033\n\027QUERY_SCOPE_UNSPECIFI" + - "ED\020\000\022\016\n\nCOLLECTION\020\001\022\024\n\020COLLECTION_GROUP" + - "\020\002\022\030\n\024COLLECTION_RECURSIVE\020\003\"/\n\010ApiScope" + - "\022\013\n\007ANY_API\020\000\022\026\n\022DATASTORE_MODE_API\020\001\"I\n" + - "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATIN" + - "G\020\001\022\t\n\005READY\020\002\022\020\n\014NEEDS_REPAIR\020\003:z\352Aw\n\036f" + - "irestore.googleapis.com/Index\022Uprojects/" + - "{project}/databases/{database}/collectio" + - "nGroups/{collection}/indexes/{index}B\331\001\n" + - "\035com.google.firestore.admin.v1B\nIndexPro" + - "toP\001Z9cloud.google.com/go/firestore/apiv" + - "1/admin/adminpb;adminpb\242\002\004GCFS\252\002\037Google." + - "Cloud.Firestore.Admin.V1\312\002\037Google\\Cloud\\" + - "Firestore\\Admin\\V1\352\002#Google::Cloud::Fire" + - "store::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", "ApiScope", "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 9d60d066a8..0000000000 --- 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 7e96e28f91..0000000000 --- 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 375cf9b156..0000000000 --- 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 746a49327e..0000000000 --- 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 5d7d87d9c0..0000000000 --- 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 935f424a5c..0000000000 --- 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 6d67bae24b..0000000000 --- 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 3be2edaf3a..0000000000 --- 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 844aceaeae..0000000000 --- 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/BloomFilterProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterProto.java deleted file mode 100644 index b9529ef65e..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterProto.java +++ /dev/null @@ -1,67 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/v1/bloom_filter.proto - -package com.google.firestore.v1; - -public final class BloomFilterProto { - private BloomFilterProto() {} - 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_BitSequence_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BitSequence_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BloomFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BloomFilter_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/bloom_filter.proto" + - "\022\023google.firestore.v1\".\n\013BitSequence\022\016\n\006" + - "bitmap\030\001 \001(\014\022\017\n\007padding\030\002 \001(\005\"Q\n\013BloomFi" + - "lter\022.\n\004bits\030\001 \001(\0132 .google.firestore.v1" + - ".BitSequence\022\022\n\nhash_count\030\002 \001(\005B\310\001\n\027com" + - ".google.firestore.v1B\020BloomFilterProtoP\001" + - "Z;cloud.google.com/go/firestore/apiv1/fi" + - "restorepb;firestorepb\242\002\004GCFS\252\002\031Google.Cl" + - "oud.Firestore.V1\312\002\031Google\\Cloud\\Firestor" + - "e\\V1\352\002\034Google::Cloud::Firestore::V1b\006pro" + - "to3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_firestore_v1_BitSequence_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_v1_BitSequence_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_BitSequence_descriptor, - new java.lang.String[] { "Bitmap", "Padding", }); - internal_static_google_firestore_v1_BloomFilter_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_v1_BloomFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_BloomFilter_descriptor, - new java.lang.String[] { "Bits", "HashCount", }); - } - - // @@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/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 dfa9aec803..0000000000 --- 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 f156f50fae..0000000000 --- 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 b9584f0afb..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java +++ /dev/null @@ -1,684 +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\036google/p" + - "rotobuf/wrappers.proto\032\027google/rpc/statu" + - "s.proto\"\271\001\n\022GetDocumentRequest\022\022\n\004name\030\001" + - " \001(\tB\004\342A\001\002\022/\n\004mask\030\002 \001(\0132!.google.firest" + - "ore.v1.DocumentMask\022\025\n\013transaction\030\003 \001(\014" + - "H\000\022/\n\tread_time\030\005 \001(\0132\032.google.protobuf." + - "TimestampH\000B\026\n\024consistency_selector\"\301\002\n\024" + - "ListDocumentsRequest\022\024\n\006parent\030\001 \001(\tB\004\342A" + - "\001\002\022\033\n\rcollection_id\030\002 \001(\tB\004\342A\001\001\022\027\n\tpage_" + - "size\030\003 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\004 \001(\tB\004\342A" + - "\001\001\022\026\n\010order_by\030\006 \001(\tB\004\342A\001\001\0225\n\004mask\030\007 \001(\013" + - "2!.google.firestore.v1.DocumentMaskB\004\342A\001" + - "\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\014sho" + - "w_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\017ne" + - "xt_page_token\030\002 \001(\t\"\307\001\n\025CreateDocumentRe" + - "quest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022\033\n\rcollectio" + - "n_id\030\002 \001(\tB\004\342A\001\002\022\023\n\013document_id\030\003 \001(\t\0225\n" + - "\010document\030\004 \001(\0132\035.google.firestore.v1.Do" + - "cumentB\004\342A\001\002\022/\n\004mask\030\005 \001(\0132!.google.fire" + - "store.v1.DocumentMask\"\364\001\n\025UpdateDocument" + - "Request\0225\n\010document\030\001 \001(\0132\035.google.fires" + - "tore.v1.DocumentB\004\342A\001\002\0226\n\013update_mask\030\002 " + - "\001(\0132!.google.firestore.v1.DocumentMask\022/" + - "\n\004mask\030\003 \001(\0132!.google.firestore.v1.Docum" + - "entMask\022;\n\020current_document\030\004 \001(\0132!.goog" + - "le.firestore.v1.Precondition\"h\n\025DeleteDo" + - "cumentRequest\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022;\n\020cur" + - "rent_document\030\002 \001(\0132!.google.firestore.v" + - "1.Precondition\"\232\002\n\030BatchGetDocumentsRequ" + - "est\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022\021\n\tdocuments" + - "\030\002 \003(\t\022/\n\004mask\030\003 \001(\0132!.google.firestore." + - "v1.DocumentMask\022\025\n\013transaction\030\004 \001(\014H\000\022B" + - "\n\017new_transaction\030\005 \001(\0132\'.google.firesto" + - "re.v1.TransactionOptionsH\000\022/\n\tread_time\030" + - "\007 \001(\0132\032.google.protobuf.TimestampH\000B\026\n\024c" + - "onsistency_selector\"\254\001\n\031BatchGetDocument" + - "sResponse\022.\n\005found\030\001 \001(\0132\035.google.firest" + - "ore.v1.DocumentH\000\022\021\n\007missing\030\002 \001(\tH\000\022\023\n\013" + - "transaction\030\003 \001(\014\022-\n\tread_time\030\004 \001(\0132\032.g" + - "oogle.protobuf.TimestampB\010\n\006result\"k\n\027Be" + - "ginTransactionRequest\022\026\n\010database\030\001 \001(\tB" + - "\004\342A\001\002\0228\n\007options\030\002 \001(\0132\'.google.firestor" + - "e.v1.TransactionOptions\"/\n\030BeginTransact" + - "ionResponse\022\023\n\013transaction\030\001 \001(\014\"h\n\rComm" + - "itRequest\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022*\n\006wri" + - "tes\030\002 \003(\0132\032.google.firestore.v1.Write\022\023\n" + - "\013transaction\030\003 \001(\014\"z\n\016CommitResponse\0227\n\r" + - "write_results\030\001 \003(\0132 .google.firestore.v" + - "1.WriteResult\022/\n\013commit_time\030\002 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\"D\n\017RollbackReques" + - "t\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022\031\n\013transaction" + - "\030\002 \001(\014B\004\342A\001\002\"\233\002\n\017RunQueryRequest\022\024\n\006pare" + - "nt\030\001 \001(\tB\004\342A\001\002\022@\n\020structured_query\030\002 \001(\013" + - "2$.google.firestore.v1.StructuredQueryH\000" + - "\022\025\n\013transaction\030\005 \001(\014H\001\022B\n\017new_transacti" + - "on\030\006 \001(\0132\'.google.firestore.v1.Transacti" + - "onOptionsH\001\022/\n\tread_time\030\007 \001(\0132\032.google." + - "protobuf.TimestampH\001B\014\n\nquery_typeB\026\n\024co" + - "nsistency_selector\"\311\001\n\020RunQueryResponse\022" + - "\023\n\013transaction\030\002 \001(\014\022/\n\010document\030\001 \001(\0132\035" + - ".google.firestore.v1.Document\022-\n\tread_ti" + - "me\030\003 \001(\0132\032.google.protobuf.Timestamp\022\027\n\017" + - "skipped_results\030\004 \001(\005\022\016\n\004done\030\006 \001(\010H\000B\027\n" + - "\025continuation_selector\"\275\002\n\032RunAggregatio" + - "nQueryRequest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022W\n\034s" + - "tructured_aggregation_query\030\002 \001(\0132/.goog" + - "le.firestore.v1.StructuredAggregationQue" + - "ryH\000\022\025\n\013transaction\030\004 \001(\014H\001\022B\n\017new_trans" + - "action\030\005 \001(\0132\'.google.firestore.v1.Trans" + - "actionOptionsH\001\022/\n\tread_time\030\006 \001(\0132\032.goo" + - "gle.protobuf.TimestampH\001B\014\n\nquery_typeB\026" + - "\n\024consistency_selector\"\231\001\n\033RunAggregatio" + - "nQueryResponse\0226\n\006result\030\001 \001(\0132&.google." + - "firestore.v1.AggregationResult\022\023\n\013transa" + - "ction\030\002 \001(\014\022-\n\tread_time\030\003 \001(\0132\032.google." + - "protobuf.Timestamp\"\206\002\n\025PartitionQueryReq" + - "uest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022@\n\020structured" + - "_query\030\002 \001(\0132$.google.firestore.v1.Struc" + - "turedQueryH\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\t" + - "read_time\030\006 \001(\0132\032.google.protobuf.Timest" + - "ampH\001B\014\n\nquery_typeB\026\n\024consistency_selec" + - "tor\"b\n\026PartitionQueryResponse\022/\n\npartiti" + - "ons\030\001 \003(\0132\033.google.firestore.v1.Cursor\022\027" + - "\n\017next_page_token\030\002 \001(\t\"\351\001\n\014WriteRequest" + - "\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022\021\n\tstream_id\030\002 " + - "\001(\t\022*\n\006writes\030\003 \003(\0132\032.google.firestore.v" + - "1.Write\022\024\n\014stream_token\030\004 \001(\014\022=\n\006labels\030" + - "\005 \003(\0132-.google.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_results\030\003 \003(\0132 .google.firestore" + - ".v1.WriteResult\022/\n\013commit_time\030\004 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\"\363\001\n\rListenReque" + - "st\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\0221\n\nadd_target" + - "\030\002 \001(\0132\033.google.firestore.v1.TargetH\000\022\027\n" + - "\rremove_target\030\003 \001(\005H\000\022>\n\006labels\030\004 \003(\0132." + - ".google.firestore.v1.ListenRequest.Label" + - "sEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + - "lue\030\002 \001(\t:\0028\001B\017\n\rtarget_change\"\325\002\n\016Liste" + - "nResponse\022:\n\rtarget_change\030\002 \001(\0132!.googl" + - "e.firestore.v1.TargetChangeH\000\022>\n\017documen" + - "t_change\030\003 \001(\0132#.google.firestore.v1.Doc" + - "umentChangeH\000\022>\n\017document_delete\030\004 \001(\0132#" + - ".google.firestore.v1.DocumentDeleteH\000\022>\n" + - "\017document_remove\030\006 \001(\0132#.google.firestor" + - "e.v1.DocumentRemoveH\000\0226\n\006filter\030\005 \001(\0132$." + - "google.firestore.v1.ExistenceFilterH\000B\017\n" + - "\rresponse_type\"\326\003\n\006Target\0228\n\005query\030\002 \001(\013" + - "2\'.google.firestore.v1.Target.QueryTarge" + - "tH\000\022@\n\tdocuments\030\003 \001(\0132+.google.firestor" + - "e.v1.Target.DocumentsTargetH\000\022\026\n\014resume_" + - "token\030\004 \001(\014H\001\022/\n\tread_time\030\013 \001(\0132\032.googl" + - "e.protobuf.TimestampH\001\022\021\n\ttarget_id\030\005 \001(" + - "\005\022\014\n\004once\030\006 \001(\010\0223\n\016expected_count\030\014 \001(\0132" + - "\033.google.protobuf.Int32Value\032$\n\017Document" + - "sTarget\022\021\n\tdocuments\030\002 \003(\t\032m\n\013QueryTarge" + - "t\022\016\n\006parent\030\001 \001(\t\022@\n\020structured_query\030\002 " + - "\001(\0132$.google.firestore.v1.StructuredQuer" + - "yH\000B\014\n\nquery_typeB\r\n\013target_typeB\r\n\013resu" + - "me_type\"\252\002\n\014TargetChange\022N\n\022target_chang" + - "e_type\030\001 \001(\01622.google.firestore.v1.Targe" + - "tChange.TargetChangeType\022\022\n\ntarget_ids\030\002" + - " \003(\005\022!\n\005cause\030\003 \001(\0132\022.google.rpc.Status\022" + - "\024\n\014resume_token\030\004 \001(\014\022-\n\tread_time\030\006 \001(\013" + - "2\032.google.protobuf.Timestamp\"N\n\020TargetCh" + - "angeType\022\r\n\tNO_CHANGE\020\000\022\007\n\003ADD\020\001\022\n\n\006REMO" + - "VE\020\002\022\013\n\007CURRENT\020\003\022\t\n\005RESET\020\004\"\240\001\n\030ListCol" + - "lectionIdsRequest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022" + - "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/" + - "\n\tread_time\030\004 \001(\0132\032.google.protobuf.Time" + - "stampH\000B\026\n\024consistency_selector\"L\n\031ListC" + - "ollectionIdsResponse\022\026\n\016collection_ids\030\001" + - " \003(\t\022\027\n\017next_page_token\030\002 \001(\t\"\312\001\n\021BatchW" + - "riteRequest\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022*\n\006w" + - "rites\030\002 \003(\0132\032.google.firestore.v1.Write\022" + - "B\n\006labels\030\003 \003(\01322.google.firestore.v1.Ba" + - "tchWriteRequest.LabelsEntry\032-\n\013LabelsEnt" + - "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"q\n\022Ba" + - "tchWriteResponse\0227\n\rwrite_results\030\001 \003(\0132" + - " .google.firestore.v1.WriteResult\022\"\n\006sta" + - "tus\030\002 \003(\0132\022.google.rpc.Status2\332\031\n\tFirest" + - "ore\022\217\001\n\013GetDocument\022\'.google.firestore.v" + - "1.GetDocumentRequest\032\035.google.firestore." + - "v1.Document\"8\202\323\344\223\0022\0220/v1/{name=projects/" + - "*/databases/*/documents/*/**}\022\365\001\n\rListDo" + - "cuments\022).google.firestore.v1.ListDocume" + - "ntsRequest\032*.google.firestore.v1.ListDoc" + - "umentsResponse\"\214\001\202\323\344\223\002\205\001\022B/v1/{parent=pr" + - "ojects/*/databases/*/documents/*/**}/{co" + - "llection_id}Z?\022=/v1/{parent=projects/*/d" + - "atabases/*/documents}/{collection_id}\022\277\001" + - "\n\016UpdateDocument\022*.google.firestore.v1.U" + - "pdateDocumentRequest\032\035.google.firestore." + - "v1.Document\"b\332A\024document,update_mask\202\323\344\223" + - "\002E29/v1/{document.name=projects/*/databa" + - "ses/*/documents/*/**}:\010document\022\225\001\n\016Dele" + - "teDocument\022*.google.firestore.v1.DeleteD" + - "ocumentRequest\032\026.google.protobuf.Empty\"?" + - "\332A\004name\202\323\344\223\0022*0/v1/{name=projects/*/data" + - "bases/*/documents/*/**}\022\271\001\n\021BatchGetDocu" + - "ments\022-.google.firestore.v1.BatchGetDocu" + - "mentsRequest\032..google.firestore.v1.Batch" + - "GetDocumentsResponse\"C\202\323\344\223\002=\"8/v1/{datab" + - "ase=projects/*/databases/*}/documents:ba" + - "tchGet:\001*0\001\022\307\001\n\020BeginTransaction\022,.googl" + - "e.firestore.v1.BeginTransactionRequest\032-" + - ".google.firestore.v1.BeginTransactionRes" + - "ponse\"V\332A\010database\202\323\344\223\002E\"@/v1/{database=" + - "projects/*/databases/*}/documents:beginT" + - "ransaction:\001*\022\246\001\n\006Commit\022\".google.firest" + - "ore.v1.CommitRequest\032#.google.firestore." + - "v1.CommitResponse\"S\332A\017database,writes\202\323\344" + - "\223\002;\"6/v1/{database=projects/*/databases/" + - "*}/documents:commit:\001*\022\244\001\n\010Rollback\022$.go" + - "ogle.firestore.v1.RollbackRequest\032\026.goog" + - "le.protobuf.Empty\"Z\332A\024database,transacti" + - "on\202\323\344\223\002=\"8/v1/{database=projects/*/datab" + - "ases/*}/documents:rollback:\001*\022\337\001\n\010RunQue" + - "ry\022$.google.firestore.v1.RunQueryRequest" + - "\032%.google.firestore.v1.RunQueryResponse\"" + - "\203\001\202\323\344\223\002}\"6/v1/{parent=projects/*/databas" + - "es/*/documents}:runQuery:\001*Z@\";/v1/{pare" + - "nt=projects/*/databases/*/documents/*/**" + - "}:runQuery:\001*0\001\022\227\002\n\023RunAggregationQuery\022" + - "/.google.firestore.v1.RunAggregationQuer" + - "yRequest\0320.google.firestore.v1.RunAggreg" + - "ationQueryResponse\"\232\001\202\323\344\223\002\223\001\"A/v1/{paren" + - "t=projects/*/databases/*/documents}:runA" + - "ggregationQuery:\001*ZK\"F/v1/{parent=projec" + - "ts/*/databases/*/documents/*/**}:runAggr" + - "egationQuery:\001*0\001\022\374\001\n\016PartitionQuery\022*.g" + - "oogle.firestore.v1.PartitionQueryRequest" + - "\032+.google.firestore.v1.PartitionQueryRes" + - "ponse\"\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(); } - 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 @@ -61,30 +86,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 { @@ -95,11 +122,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 @@ -107,11 +138,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 @@ -119,11 +154,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() { @@ -131,6 +169,7 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,8 +181,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_); } @@ -163,8 +201,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; @@ -174,19 +211,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; @@ -210,132 +246,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(); @@ -350,9 +390,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 @@ -371,8 +411,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; } @@ -383,9 +426,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(); } } @@ -393,38 +434,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; @@ -432,7 +474,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; @@ -467,24 +510,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) { @@ -494,23 +538,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; @@ -519,21 +568,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 { @@ -541,30 +593,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() { @@ -574,18 +637,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; @@ -595,24 +664,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() { @@ -623,11 +703,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) { @@ -643,14 +726,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 { @@ -661,17 +746,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; @@ -684,11 +772,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); @@ -701,11 +792,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; @@ -713,43 +807,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); } @@ -759,12 +861,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(); } @@ -773,27 +875,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; @@ -808,6 +910,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 619b76deae..664eb18a50 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 7b8ff2ad99..a8fd570a18 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,25 +51,28 @@ private Database() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Database();
   }
 
-  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
@@ -62,9 +83,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.
      * 
@@ -73,6 +95,8 @@ public enum DatabaseType */ DATABASE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Firestore Native Mode
      * 
@@ -81,6 +105,8 @@ public enum DatabaseType */ FIRESTORE_NATIVE(1), /** + * + * *
      * Firestore in Datastore Mode.
      * 
@@ -92,6 +118,8 @@ public enum DatabaseType ; /** + * + * *
      * The default value. This value is used if the database type is omitted.
      * 
@@ -100,6 +128,8 @@ public enum DatabaseType */ public static final int DATABASE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Firestore Native Mode
      * 
@@ -108,6 +138,8 @@ public enum DatabaseType */ public static final int FIRESTORE_NATIVE_VALUE = 1; /** + * + * *
      * Firestore in Datastore Mode.
      * 
@@ -116,7 +148,6 @@ public enum DatabaseType */ public static final int DATASTORE_MODE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -141,49 +172,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; @@ -201,15 +232,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.
      * 
@@ -218,6 +252,8 @@ public enum ConcurrencyMode */ CONCURRENCY_MODE_UNSPECIFIED(0), /** + * + * *
      * Use optimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -227,6 +263,8 @@ public enum ConcurrencyMode
      */
     OPTIMISTIC(1),
     /**
+     *
+     *
      * 
      * Use pessimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -238,6 +276,8 @@ public enum ConcurrencyMode
      */
     PESSIMISTIC(2),
     /**
+     *
+     *
      * 
      * Use optimistic concurrency control with entity groups by default.
      *
@@ -254,6 +294,8 @@ public enum ConcurrencyMode
     ;
 
     /**
+     *
+     *
      * 
      * Not used.
      * 
@@ -262,6 +304,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.
@@ -271,6 +315,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.
      *
@@ -295,7 +343,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(
@@ -320,40 +367,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);
     }
 
@@ -362,8 +413,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;
@@ -381,15 +431,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.
      * 
@@ -398,6 +451,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
@@ -409,6 +464,8 @@ public enum AppEngineIntegrationMode
      */
     ENABLED(1),
     /**
+     *
+     *
      * 
      * Appengine has no affect on the ability of this database to serve
      * requests.
@@ -421,6 +478,8 @@ public enum AppEngineIntegrationMode
     ;
 
     /**
+     *
+     *
      * 
      * Not used.
      * 
@@ -429,6 +488,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
@@ -440,6 +501,8 @@ public enum AppEngineIntegrationMode
      */
     public static final int ENABLED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Appengine has no affect on the ability of this database to serve
      * requests.
@@ -449,7 +512,6 @@ public enum AppEngineIntegrationMode
      */
     public static final int DISABLED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -474,10 +536,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;
       }
     }
 
@@ -485,28 +551,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);
     }
 
@@ -515,8 +581,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;
@@ -534,15 +599,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 @@ -551,30 +620,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 { @@ -583,15 +652,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 @@ -600,30 +673,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 { @@ -634,6 +707,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
@@ -641,12 +716,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
@@ -654,69 +733,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
@@ -728,6 +843,7 @@ public java.lang.String getLocationId() {
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The keyPrefix. */ @java.lang.Override @@ -736,14 +852,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
@@ -755,16 +872,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 { @@ -773,9 +889,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
@@ -783,6 +902,7 @@ public java.lang.String getKeyPrefix() {
    * 
* * string etag = 99; + * * @return The etag. */ @java.lang.Override @@ -791,14 +911,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
@@ -806,16 +927,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 { @@ -824,6 +944,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -835,21 +956,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_)) { @@ -873,17 +1000,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_); @@ -899,24 +1030,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; } @@ -947,99 +1074,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
@@ -1048,33 +1180,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();
@@ -1090,9 +1221,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
@@ -1111,8 +1242,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;
     }
@@ -1146,38 +1280,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;
@@ -1241,47 +1376,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) {
@@ -1291,23 +1434,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; @@ -1316,21 +1462,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 { @@ -1338,30 +1485,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() { @@ -1371,18 +1525,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; @@ -1392,19 +1550,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; @@ -1413,21 +1573,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 { @@ -1435,30 +1596,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() { @@ -1468,18 +1636,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; @@ -1489,6 +1661,8 @@ public Builder setLocationIdBytes( private int type_ = 0; /** + * + * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1496,12 +1670,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
@@ -1509,6 +1687,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. */ @@ -1519,6 +1698,8 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1526,14 +1707,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
@@ -1541,6 +1728,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. */ @@ -1554,6 +1742,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
@@ -1561,6 +1751,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() { @@ -1572,22 +1763,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. */ @@ -1598,28 +1796,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(); } @@ -1629,11 +1837,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() { @@ -1645,22 +1856,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. */ @@ -1671,28 +1893,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(); } @@ -1702,11 +1940,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() { @@ -1718,6 +1961,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
@@ -1729,13 +1974,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; @@ -1744,6 +1989,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
@@ -1755,15 +2002,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 { @@ -1771,6 +2017,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
@@ -1782,18 +2030,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
@@ -1805,6 +2057,7 @@ public Builder setKeyPrefix(
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearKeyPrefix() { @@ -1814,6 +2067,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
@@ -1825,12 +2080,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; @@ -1840,6 +2097,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
@@ -1847,13 +2106,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; @@ -1862,6 +2121,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
@@ -1869,15 +2130,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 { @@ -1885,6 +2145,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
@@ -1892,18 +2154,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
@@ -1911,6 +2177,7 @@ public Builder setEtag(
      * 
* * string etag = 99; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1920,6 +2187,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
@@ -1927,21 +2196,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); } @@ -1951,12 +2222,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(); } @@ -1965,27 +2236,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; @@ -2000,6 +2271,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 3d6c35c0ff..43018beccf 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
@@ -124,10 +174,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
@@ -139,12 +192,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
@@ -152,10 +207,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
@@ -163,8 +221,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 0000000000..e3fb590efb --- /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\"\321\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\030\n\nkey_prefix\030\024 \001(\tB" + + "\004\342A\001\003\022\014\n\004etag\030c \001(\t\"W\n\014DatabaseType\022\035\n\031D" + + "ATABASE_TYPE_UNSPECIFIED\020\000\022\024\n\020FIRESTORE_" + + "NATIVE\020\001\022\022\n\016DATASTORE_MODE\020\002\"w\n\017Concurre" + + "ncyMode\022 \n\034CONCURRENCY_MODE_UNSPECIFIED\020" + + "\000\022\016\n\nOPTIMISTIC\020\001\022\017\n\013PESSIMISTIC\020\002\022!\n\035OP" + + "TIMISTIC_WITH_ENTITY_GROUPS\020\003\"b\n\030AppEngi" + + "neIntegrationMode\022+\n\'APP_ENGINE_INTEGRAT" + + "ION_MODE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010D" + + "ISABLED\020\002:R\352AO\n!firestore.googleapis.com" + + "/Database\022\'projects/{project}/databases/" + + "{database}R\001\001B\334\001\n\035com.google.firestore.a" + + "dmin.v1B\rDatabaseProtoP\001Z9cloud.google.c" + + "om/go/firestore/apiv1/admin/adminpb;admi" + + "npb\242\002\004GCFS\252\002\037Google.Cloud.Firestore.Admi" + + "n.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352\002" + + "#Google::Cloud::Firestore::Admin::V1b\006pr" + + "oto3" + }; + 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 5cece07e84..8e4a079e80 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,58 +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.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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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; } @@ -156,132 +183,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(); @@ -291,9 +322,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 @@ -312,8 +343,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; } @@ -329,38 +363,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; @@ -368,7 +403,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; @@ -400,17 +436,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) { @@ -420,23 +458,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; @@ -445,21 +488,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 { @@ -467,30 +513,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() { @@ -500,27 +557,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); } @@ -530,12 +593,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(); } @@ -544,27 +607,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; @@ -579,6 +642,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 0000000000..360e0535cd --- /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 3ea0a3a06c..5f61f51ccb 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,50 +28,54 @@
  *
  * 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.emptyList();
+    collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
     outputUriPrefix_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExportDocumentsMetadata();
   }
 
-  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 @@ -62,11 +83,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -74,6 +98,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time this operation started.
    * 
@@ -88,12 +114,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 @@ -101,12 +130,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 @@ -114,6 +146,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.
@@ -129,37 +163,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 @@ -167,18 +213,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.
    * 
@@ -187,17 +240,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 @@ -205,18 +263,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.
    * 
@@ -225,42 +290,53 @@ 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.LazyStringArrayList collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -268,28 +344,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 @@ -298,29 +380,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 { @@ -329,6 +411,7 @@ public java.lang.String getOutputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,15 +423,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) { @@ -373,24 +456,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; @@ -411,38 +490,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; } @@ -484,98 +558,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].
@@ -583,33 +663,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();
@@ -635,16 +714,15 @@ public Builder clear() {
         progressBytesBuilder_.dispose();
         progressBytesBuilder_ = null;
       }
-      collectionIds_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
       outputUriPrefix_ = "";
       return this;
     }
 
     @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
@@ -663,8 +741,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.admin.v1.ExportDocumentsMetadata result =
+          new com.google.firestore.admin.v1.ExportDocumentsMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -672,27 +753,23 @@ public com.google.firestore.admin.v1.ExportDocumentsMetadata buildPartial() {
     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_ & 0x00000020) != 0)) {
         collectionIds_.makeImmutable();
@@ -707,38 +784,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;
@@ -746,7 +824,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());
       }
@@ -803,56 +882,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) {
@@ -862,28 +942,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() { @@ -894,6 +984,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time this operation started.
      * 
@@ -914,14 +1006,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 { @@ -932,6 +1025,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -940,9 +1035,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; @@ -955,6 +1050,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -972,6 +1069,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -984,6 +1083,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time this operation started.
      * 
@@ -994,11 +1095,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.
      * 
@@ -1006,14 +1108,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_; @@ -1021,26 +1126,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() { @@ -1051,6 +1165,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1072,6 +1188,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1079,8 +1197,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 {
@@ -1091,6 +1208,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1100,9 +1219,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;
@@ -1115,6 +1234,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1133,6 +1254,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1146,6 +1269,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1157,11 +1282,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.
@@ -1170,14 +1296,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_;
@@ -1185,22 +1314,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. */ @@ -1211,24 +1347,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. */ @@ -1242,11 +1385,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() { @@ -1258,34 +1404,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.
      * 
@@ -1306,6 +1465,8 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1324,6 +1485,8 @@ public Builder setProgressDocuments( return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1332,9 +1495,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; @@ -1347,6 +1510,8 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1364,6 +1529,8 @@ public Builder clearProgressDocuments() { return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1376,6 +1543,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilde return getProgressDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1386,11 +1555,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.
      * 
@@ -1398,14 +1570,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_; @@ -1413,34 +1588,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.
      * 
@@ -1461,6 +1649,8 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1479,6 +1669,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1487,9 +1679,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; @@ -1502,6 +1694,8 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1519,6 +1713,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1531,6 +1727,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1541,11 +1739,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.
      * 
@@ -1553,14 +1754,17 @@ 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_; @@ -1568,6 +1772,7 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder private com.google.protobuf.LazyStringArrayList collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureCollectionIdsIsMutable() { if (!collectionIds_.isModifiable()) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); @@ -1575,35 +1780,43 @@ private void ensureCollectionIdsIsMutable() { 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() { collectionIds_.makeImmutable(); 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. */ @@ -1611,31 +1824,37 @@ 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); bitField0_ |= 0x00000020; @@ -1643,17 +1862,21 @@ public Builder setCollectionIds( 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); bitField0_ |= 0x00000020; @@ -1661,50 +1884,58 @@ public Builder addCollectionIds( 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_); bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @return This builder for chaining. */ public Builder clearCollectionIds() { - collectionIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020);; + collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); 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); @@ -1715,18 +1946,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; @@ -1735,20 +1968,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 { @@ -1756,28 +1990,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() { @@ -1787,26 +2028,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); } @@ -1816,12 +2061,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(); } @@ -1830,27 +2075,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; @@ -1865,6 +2110,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 86ee7df28e..6668efc0dd 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 f678209ab3..5dcb8648c7 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,61 +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/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.emptyList(); + collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); outputUriPrefix_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportDocumentsRequest(); } - 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 @@ -64,30 +88,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 { @@ -96,38 +122,47 @@ public java.lang.String getName() { } public static final int COLLECTION_IDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -135,23 +170,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
@@ -164,6 +204,7 @@ public java.lang.String getCollectionIds(int index) {
    * 
* * string output_uri_prefix = 3; + * * @return The outputUriPrefix. */ @java.lang.Override @@ -172,14 +213,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
@@ -192,16 +234,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 { @@ -210,6 +251,7 @@ public java.lang.String getOutputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -263,19 +304,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; } @@ -301,146 +340,149 @@ 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(); bitField0_ = 0; name_ = ""; - collectionIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); outputUriPrefix_ = ""; return this; } @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 @@ -459,8 +501,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.ExportDocumentsRequest result = + new com.google.firestore.admin.v1.ExportDocumentsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -483,38 +528,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; @@ -522,7 +568,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; @@ -569,28 +616,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) { @@ -600,23 +651,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; @@ -625,21 +681,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 { @@ -647,30 +706,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() { @@ -680,18 +750,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; @@ -701,6 +777,7 @@ public Builder setNameBytes( private com.google.protobuf.LazyStringArrayList collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureCollectionIdsIsMutable() { if (!collectionIds_.isModifiable()) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); @@ -708,35 +785,43 @@ private void ensureCollectionIdsIsMutable() { 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() { collectionIds_.makeImmutable(); 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. */ @@ -744,31 +829,37 @@ 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); bitField0_ |= 0x00000002; @@ -776,17 +867,21 @@ public Builder setCollectionIds( 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); bitField0_ |= 0x00000002; @@ -794,50 +889,58 @@ public Builder addCollectionIds( 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_); bitField0_ |= 0x00000002; 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() { - collectionIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); 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); @@ -848,6 +951,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
@@ -860,13 +965,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; @@ -875,6 +980,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
@@ -887,15 +994,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 { @@ -903,6 +1009,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
@@ -915,18 +1023,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
@@ -939,6 +1051,7 @@ public Builder setOutputUriPrefix(
      * 
* * string output_uri_prefix = 3; + * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { @@ -948,6 +1061,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
@@ -960,21 +1075,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); } @@ -984,12 +1101,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(); } @@ -998,27 +1115,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; @@ -1033,6 +1150,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 c26d90150a..bafc4a0895 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 67% 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 b554093e0a..252e4098ce 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,52 +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/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(); } - 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
@@ -54,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * string output_uri_prefix = 1; + * * @return The outputUriPrefix. */ @java.lang.Override @@ -62,14 +85,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
@@ -77,16 +101,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 { @@ -95,6 +118,7 @@ public java.lang.String getOutputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +130,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_); } @@ -131,15 +154,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; } @@ -159,131 +182,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(); @@ -293,9 +321,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 @@ -314,8 +342,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; } @@ -331,38 +362,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; @@ -370,7 +402,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; @@ -402,17 +435,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) { @@ -422,10 +457,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
@@ -433,13 +471,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; @@ -448,6 +486,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
@@ -455,15 +495,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 { @@ -471,6 +510,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
@@ -478,18 +519,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
@@ -497,6 +542,7 @@ public Builder setOutputUriPrefix(
      * 
* * string output_uri_prefix = 1; + * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { @@ -506,6 +552,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
@@ -513,21 +561,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); } @@ -537,12 +587,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(); } @@ -551,27 +601,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; @@ -586,6 +636,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 86ce311b5d..e4588c346f 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 398b2aba7d..8076a6124d 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.
  *
@@ -13,53 +30,59 @@
  *
  * 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();
   }
 
-  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.
      * 
@@ -68,6 +91,8 @@ public interface IndexConfigOrBuilder extends */ com.google.firestore.admin.v1.Index getIndexes(int index); /** + * + * *
      * The indexes supported for this field.
      * 
@@ -76,25 +101,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`.
@@ -102,11 +132,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),
@@ -115,10 +148,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),
@@ -127,12 +163,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
@@ -142,26 +180,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_ = ""; @@ -169,28 +211,32 @@ private IndexConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IndexConfig(); } - 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.
      * 
@@ -202,6 +248,8 @@ public java.util.List getIndexesList() { return indexes_; } /** + * + * *
      * The indexes supported for this field.
      * 
@@ -209,11 +257,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.
      * 
@@ -225,6 +275,8 @@ public int getIndexesCount() { return indexes_.size(); } /** + * + * *
      * The indexes supported for this field.
      * 
@@ -236,6 +288,8 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { return indexes_.get(index); } /** + * + * *
      * The indexes supported for this field.
      * 
@@ -243,14 +297,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`.
@@ -258,6 +313,7 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(
      * 
* * bool uses_ancestor_config = 2; + * * @return The usesAncestorConfig. */ @java.lang.Override @@ -266,9 +322,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),
@@ -277,6 +336,7 @@ public boolean getUsesAncestorConfig() {
      * 
* * string ancestor_field = 3; + * * @return The ancestorField. */ @java.lang.Override @@ -285,14 +345,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),
@@ -301,16 +362,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 { @@ -321,6 +381,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
@@ -330,6 +392,7 @@ public java.lang.String getAncestorField() {
      * 
* * bool reverting = 4; + * * @return The reverting. */ @java.lang.Override @@ -338,6 +401,7 @@ public boolean getReverting() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,8 +413,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)); } @@ -373,19 +436,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; @@ -395,21 +455,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; } @@ -426,102 +483,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 @@ -531,39 +590,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(); @@ -582,9 +643,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 @@ -603,14 +664,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_); @@ -639,38 +704,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; @@ -678,7 +746,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()) { @@ -697,9 +766,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_); } @@ -742,40 +812,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) { @@ -785,21 +859,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.
        * 
@@ -814,6 +895,8 @@ public java.util.List getIndexesList() { } } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -828,6 +911,8 @@ public int getIndexesCount() { } } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -842,14 +927,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(); @@ -863,6 +949,8 @@ public Builder setIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -881,6 +969,8 @@ public Builder setIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -901,14 +991,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(); @@ -922,14 +1013,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()); @@ -940,6 +1032,8 @@ public Builder addIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -958,6 +1052,8 @@ public Builder addIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -968,8 +1064,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); @@ -977,6 +1072,8 @@ public Builder addAllIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -994,6 +1091,8 @@ public Builder clearIndexes() { return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -1011,39 +1110,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 { @@ -1051,6 +1155,8 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( } } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -1058,49 +1164,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`.
@@ -1108,6 +1221,7 @@ public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder(
        * 
* * bool uses_ancestor_config = 2; + * * @return The usesAncestorConfig. */ @java.lang.Override @@ -1115,6 +1229,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`.
@@ -1122,6 +1238,7 @@ public boolean getUsesAncestorConfig() {
        * 
* * bool uses_ancestor_config = 2; + * * @param value The usesAncestorConfig to set. * @return This builder for chaining. */ @@ -1133,6 +1250,8 @@ public Builder setUsesAncestorConfig(boolean value) { return this; } /** + * + * *
        * Output only. When true, the `Field`'s index configuration is set from the
        * configuration specified by the `ancestor_field`.
@@ -1140,6 +1259,7 @@ public Builder setUsesAncestorConfig(boolean value) {
        * 
* * bool uses_ancestor_config = 2; + * * @return This builder for chaining. */ public Builder clearUsesAncestorConfig() { @@ -1151,6 +1271,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),
@@ -1159,13 +1281,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; @@ -1174,6 +1296,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),
@@ -1182,15 +1306,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 { @@ -1198,6 +1321,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),
@@ -1206,18 +1331,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),
@@ -1226,6 +1355,7 @@ public Builder setAncestorField(
        * 
* * string ancestor_field = 3; + * * @return This builder for chaining. */ public Builder clearAncestorField() { @@ -1235,6 +1365,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),
@@ -1243,12 +1375,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; @@ -1256,8 +1390,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
@@ -1267,6 +1403,7 @@ public Builder setAncestorFieldBytes(
        * 
* * bool reverting = 4; + * * @return The reverting. */ @java.lang.Override @@ -1274,6 +1411,8 @@ public boolean getReverting() { return reverting_; } /** + * + * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1283,6 +1422,7 @@ public boolean getReverting() {
        * 
* * bool reverting = 4; + * * @param value The reverting to set. * @return This builder for chaining. */ @@ -1294,6 +1434,8 @@ public Builder setReverting(boolean value) { return this; } /** + * + * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1303,6 +1445,7 @@ public Builder setReverting(boolean value) {
        * 
* * bool reverting = 4; + * * @return This builder for chaining. */ public Builder clearReverting() { @@ -1311,6 +1454,7 @@ public Builder clearReverting() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1323,12 +1467,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(); } @@ -1337,27 +1481,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; @@ -1372,33 +1517,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.
@@ -1409,49 +1566,54 @@ 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();
     }
 
-    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.
        * 
@@ -1460,6 +1622,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
@@ -1472,6 +1636,8 @@ public enum State
        */
       CREATING(1),
       /**
+       *
+       *
        * 
        * The TTL is active for all documents.
        * 
@@ -1480,6 +1646,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.
@@ -1494,6 +1662,8 @@ public enum State
       ;
 
       /**
+       *
+       *
        * 
        * The state is unspecified or unknown.
        * 
@@ -1502,6 +1672,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
@@ -1514,6 +1686,8 @@ public enum State
        */
       public static final int CREATING_VALUE = 1;
       /**
+       *
+       *
        * 
        * The TTL is active for all documents.
        * 
@@ -1522,6 +1696,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.
@@ -1533,7 +1709,6 @@ public enum State
        */
       public static final int NEEDS_REPAIR_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1558,50 +1733,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;
@@ -1621,30 +1797,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; @@ -1656,9 +1848,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); @@ -1670,9 +1862,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; @@ -1682,12 +1874,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; @@ -1708,90 +1901,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 @@ -1801,6 +1998,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The TTL (time-to-live) configuration for documents that have this `Field`
      * set.
@@ -1811,33 +2010,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();
@@ -1847,9 +2046,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
@@ -1868,8 +2067,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;
       }
@@ -1885,38 +2087,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;
@@ -1924,7 +2129,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());
         }
@@ -1954,17 +2160,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) {
@@ -1974,26 +2182,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. */ @@ -2004,24 +2224,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. */ @@ -2035,11 +2268,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() { @@ -2048,6 +2286,7 @@ public Builder clearState() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2060,12 +2299,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(); } @@ -2074,27 +2313,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; @@ -2109,13 +2349,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}`
@@ -2146,6 +2388,7 @@ public com.google.firestore.admin.v1.Field.TtlConfig getDefaultInstanceForType()
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -2154,14 +2397,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}`
@@ -2192,16 +2436,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 { @@ -2212,6 +2455,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
@@ -2220,6 +2465,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 @@ -2227,6 +2473,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
@@ -2235,13 +2483,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
@@ -2253,12 +2506,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
@@ -2266,6 +2523,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 @@ -2273,6 +2531,8 @@ public boolean hasTtlConfig() { return ttlConfig_ != null; } /** + * + * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -2280,13 +2540,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
@@ -2297,10 +2562,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;
@@ -2312,8 +2580,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_);
     }
@@ -2336,12 +2603,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;
@@ -2351,24 +2616,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;
@@ -2396,99 +2658,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.
    *
@@ -2498,33 +2764,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();
@@ -2544,9 +2809,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
@@ -2566,7 +2831,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;
     }
@@ -2577,14 +2844,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();
       }
     }
 
@@ -2592,38 +2856,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;
@@ -2669,31 +2934,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) {
@@ -2703,10 +2968,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}`
@@ -2737,13 +3005,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; @@ -2752,6 +3020,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}`
@@ -2782,15 +3052,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 { @@ -2798,6 +3067,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}`
@@ -2828,18 +3099,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}`
@@ -2870,6 +3145,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2879,6 +3155,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}`
@@ -2909,12 +3187,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; @@ -2924,8 +3204,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
@@ -2934,12 +3219,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
@@ -2948,16 +3236,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
@@ -2981,6 +3274,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
@@ -3002,6 +3297,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
@@ -3013,9 +3310,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;
@@ -3028,6 +3326,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
@@ -3048,6 +3348,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
@@ -3063,6 +3365,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
@@ -3076,11 +3380,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
@@ -3091,14 +3398,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_;
@@ -3106,8 +3416,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
@@ -3115,12 +3430,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
@@ -3128,16 +3446,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
@@ -3160,6 +3483,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
@@ -3180,6 +3505,8 @@ public Builder setTtlConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3190,9 +3517,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;
@@ -3205,6 +3532,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
@@ -3224,6 +3553,8 @@ public Builder clearTtlConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3238,6 +3569,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
@@ -3250,11 +3583,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
@@ -3264,21 +3600,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);
     }
 
@@ -3288,12 +3627,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();
   }
@@ -3302,27 +3641,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;
@@ -3337,6 +3676,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 98f410d493..2380f949db 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,66 +46,87 @@ private FieldOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FieldOperationMetadata();
   }
 
-  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.
      * 
@@ -97,55 +136,63 @@ 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(); } - 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.
        * 
@@ -154,6 +201,8 @@ public enum ChangeType */ CHANGE_TYPE_UNSPECIFIED(0), /** + * + * *
        * The single field index is being added.
        * 
@@ -162,6 +211,8 @@ public enum ChangeType */ ADD(1), /** + * + * *
        * The single field index is being removed.
        * 
@@ -173,6 +224,8 @@ public enum ChangeType ; /** + * + * *
        * The type of change is not specified or known.
        * 
@@ -181,6 +234,8 @@ public enum ChangeType */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The single field index is being added.
        * 
@@ -189,6 +244,8 @@ public enum ChangeType */ public static final int ADD_VALUE = 1; /** + * + * *
        * The single field index is being removed.
        * 
@@ -197,7 +254,6 @@ public enum ChangeType */ public static final int REMOVE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -222,49 +278,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; @@ -284,37 +342,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 @@ -322,11 +401,14 @@ public boolean hasIndex() { return index_ != null; } /** + * + * *
      * The index being changed.
      * 
* * .google.firestore.admin.v1.Index index = 2; + * * @return The index. */ @java.lang.Override @@ -334,6 +416,8 @@ public com.google.firestore.admin.v1.Index getIndex() { return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; } /** + * + * *
      * The index being changed.
      * 
@@ -346,6 +430,7 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,9 +442,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) { @@ -374,13 +461,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; @@ -390,18 +478,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; @@ -426,89 +514,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 @@ -518,39 +612,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(); @@ -565,19 +663,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); } @@ -586,21 +687,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(); } } @@ -608,46 +711,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()); } @@ -680,24 +791,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) { @@ -707,26 +819,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. */ @@ -737,28 +861,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(); } @@ -768,11 +909,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() { @@ -784,24 +930,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() { @@ -812,6 +967,8 @@ public com.google.firestore.admin.v1.Index getIndex() { } } /** + * + * *
        * The index being changed.
        * 
@@ -832,14 +989,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 { @@ -850,6 +1008,8 @@ public Builder setIndex( return this; } /** + * + * *
        * The index being changed.
        * 
@@ -858,9 +1018,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; @@ -873,6 +1033,8 @@ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { return this; } /** + * + * *
        * The index being changed.
        * 
@@ -890,6 +1052,8 @@ public Builder clearIndex() { return this; } /** + * + * *
        * The index being changed.
        * 
@@ -902,6 +1066,8 @@ public com.google.firestore.admin.v1.Index.Builder getIndexBuilder() { return getIndexFieldBuilder().getBuilder(); } /** + * + * *
        * The index being changed.
        * 
@@ -912,11 +1078,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.
        * 
@@ -924,18 +1091,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) { @@ -948,41 +1119,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; @@ -994,85 +1169,104 @@ 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(); } - 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.
        * 
@@ -1081,6 +1275,8 @@ public enum ChangeType */ CHANGE_TYPE_UNSPECIFIED(0), /** + * + * *
        * The TTL config is being added.
        * 
@@ -1089,6 +1285,8 @@ public enum ChangeType */ ADD(1), /** + * + * *
        * The TTL config is being removed.
        * 
@@ -1100,6 +1298,8 @@ public enum ChangeType ; /** + * + * *
        * The type of change is not specified or known.
        * 
@@ -1108,6 +1308,8 @@ public enum ChangeType */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The TTL config is being added.
        * 
@@ -1116,6 +1318,8 @@ public enum ChangeType */ public static final int ADD_VALUE = 1; /** + * + * *
        * The TTL config is being removed.
        * 
@@ -1124,7 +1328,6 @@ public enum ChangeType */ public static final int REMOVE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1149,49 +1352,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; @@ -1211,30 +1416,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; @@ -1246,9 +1470,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); @@ -1260,9 +1486,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; @@ -1272,12 +1500,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; @@ -1299,89 +1528,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 @@ -1391,39 +1626,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(); @@ -1433,14 +1671,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 @@ -1454,13 +1694,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_; @@ -1471,46 +1715,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()); } @@ -1540,17 +1791,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) { @@ -1560,26 +1813,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. */ @@ -1590,28 +1855,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(); } @@ -1621,11 +1903,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() { @@ -1634,6 +1921,7 @@ public Builder clearChangeType() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1646,41 +1934,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; @@ -1692,20 +1983,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 @@ -1713,11 +2007,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -1725,6 +2022,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time this operation started.
    * 
@@ -1739,12 +2038,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 @@ -1752,12 +2054,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 @@ -1765,6 +2070,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.
@@ -1778,15 +2085,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 @@ -1795,30 +2106,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 { @@ -1827,105 +2138,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 @@ -1933,18 +2281,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.
    * 
@@ -1953,17 +2308,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 @@ -1971,18 +2331,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.
    * 
@@ -1991,17 +2358,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 @@ -2009,30 +2382,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; @@ -2044,8 +2430,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()); } @@ -2058,7 +2443,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) { @@ -2080,35 +2466,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; @@ -2118,42 +2499,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; @@ -2200,98 +2575,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].
@@ -2299,33 +2679,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();
@@ -2368,9 +2747,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
@@ -2389,14 +2768,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_);
@@ -2411,14 +2794,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_;
@@ -2427,19 +2806,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();
       }
     }
 
@@ -2447,38 +2825,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;
@@ -2486,7 +2865,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());
       }
@@ -2516,9 +2896,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_);
           }
@@ -2562,70 +2943,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) {
@@ -2635,28 +3017,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() { @@ -2667,6 +3059,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time this operation started.
      * 
@@ -2687,14 +3081,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 { @@ -2705,6 +3100,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -2713,9 +3110,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; @@ -2728,6 +3125,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -2745,6 +3144,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -2757,6 +3158,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time this operation started.
      * 
@@ -2767,11 +3170,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.
      * 
@@ -2779,14 +3183,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_; @@ -2794,26 +3201,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() { @@ -2824,6 +3240,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2845,6 +3263,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2852,8 +3272,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 {
@@ -2864,6 +3283,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2873,9 +3294,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;
@@ -2888,6 +3309,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2906,6 +3329,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2919,6 +3344,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2930,11 +3357,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.
@@ -2943,14 +3371,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_;
@@ -2958,19 +3389,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; @@ -2979,21 +3412,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 { @@ -3001,30 +3435,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() { @@ -3034,18 +3475,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; @@ -3053,27 +3498,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 { @@ -3081,12 +3538,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) { @@ -3096,14 +3557,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 { @@ -3111,12 +3577,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) { @@ -3133,15 +3603,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()); @@ -3152,14 +3628,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(); @@ -3173,12 +3654,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) { @@ -3195,15 +3680,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()); @@ -3214,15 +3704,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()); @@ -3233,19 +3729,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); @@ -3253,12 +3754,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) { @@ -3271,12 +3776,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) { @@ -3289,42 +3798,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 { @@ -3332,48 +3856,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(), @@ -3385,22 +3934,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. */ @@ -3411,24 +3967,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. */ @@ -3442,11 +4005,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() { @@ -3458,34 +4024,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.
      * 
@@ -3506,6 +4085,8 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3524,6 +4105,8 @@ public Builder setProgressDocuments( return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3532,9 +4115,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; @@ -3547,6 +4130,8 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3564,6 +4149,8 @@ public Builder clearProgressDocuments() { return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3576,6 +4163,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilde return getProgressDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3586,11 +4175,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.
      * 
@@ -3598,14 +4190,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_; @@ -3613,34 +4208,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.
      * 
@@ -3661,6 +4269,8 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3679,6 +4289,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3687,9 +4299,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; @@ -3702,6 +4314,8 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3719,6 +4333,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3731,6 +4347,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3741,11 +4359,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.
      * 
@@ -3753,14 +4374,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_; @@ -3768,41 +4392,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(); @@ -3816,14 +4458,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 { @@ -3834,17 +4480,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; @@ -3857,11 +4509,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); @@ -3874,55 +4529,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); } @@ -3932,12 +4603,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(); } @@ -3946,27 +4617,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; @@ -3981,6 +4652,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 474eb64f91..0af1212352 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 88% 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 87aea3e406..13c3d41f70 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}`
@@ -38,10 +56,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}`
@@ -72,12 +93,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
@@ -86,10 +109,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
@@ -98,10 +124,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
@@ -114,6 +143,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
@@ -121,10 +152,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
@@ -132,10 +166,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 0000000000..095836a35d
--- /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\"\307\004\n\005Field\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022B\n\014i"
+          + "ndex_config\030\002 \001(\0132,.google.firestore.adm"
+          + "in.v1.Field.IndexConfig\022>\n\nttl_config\030\003 "
+          + "\001(\0132*.google.firestore.admin.v1.Field.Tt"
+          + "lConfig\032\211\001\n\013IndexConfig\0221\n\007indexes\030\001 \003(\013"
+          + "2 .google.firestore.admin.v1.Index\022\034\n\024us"
+          + "es_ancestor_config\030\002 \001(\010\022\026\n\016ancestor_fie"
+          + "ld\030\003 \001(\t\022\021\n\treverting\030\004 \001(\010\032\236\001\n\tTtlConfi"
+          + "g\022E\n\005state\030\001 \001(\01620.google.firestore.admi"
+          + "n.v1.Field.TtlConfig.StateB\004\342A\001\003\"J\n\005Stat"
+          + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n"
+          + "\n\006ACTIVE\020\002\022\020\n\014NEEDS_REPAIR\020\003:y\352Av\n\036fires"
+          + "tore.googleapis.com/Field\022Tprojects/{pro"
+          + "ject}/databases/{database}/collectionGro"
+          + "ups/{collection}/fields/{field}B\331\001\n\035com."
+          + "google.firestore.admin.v1B\nFieldProtoP\001Z"
+          + "9cloud.google.com/go/firestore/apiv1/adm"
+          + "in/adminpb;adminpb\242\002\004GCFS\252\002\037Google.Cloud"
+          + ".Firestore.Admin.V1\312\002\037Google\\Cloud\\Fires"
+          + "tore\\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 0000000000..335040fd00
--- /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\"R\n\024ListDatabasesRequest\022:\n\006p"
+          + "arent\030\001 \001(\tB*\342A\001\002\372A#\022!firestore.googleap"
+          + "is.com/Database\"O\n\025ListDatabasesResponse"
+          + "\0226\n\tdatabases\030\001 \003(\0132#.google.firestore.a"
+          + "dmin.v1.Database\"N\n\022GetDatabaseRequest\0228"
+          + "\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!firestore.googlea"
+          + "pis.com/Database\"\205\001\n\025UpdateDatabaseReque"
+          + "st\022;\n\010database\030\001 \001(\0132#.google.firestore."
+          + "admin.v1.DatabaseB\004\342A\001\002\022/\n\013update_mask\030\002"
+          + " \001(\0132\032.google.protobuf.FieldMask\"\030\n\026Upda"
+          + "teDatabaseMetadata\"\216\001\n\022CreateIndexReques"
+          + "t\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\n(firestore.go"
+          + "ogleapis.com/CollectionGroup\0225\n\005index\030\002 "
+          + "\001(\0132 .google.firestore.admin.v1.IndexB\004\342"
+          + "A\001\002\"\216\001\n\022ListIndexesRequest\022A\n\006parent\030\001 \001"
+          + "(\tB1\342A\001\002\372A*\n(firestore.googleapis.com/Co"
+          + "llectionGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_si"
+          + "ze\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"a\n\023ListInde"
+          + "xesResponse\0221\n\007indexes\030\001 \003(\0132 .google.fi"
+          + "restore.admin.v1.Index\022\027\n\017next_page_toke"
+          + "n\030\002 \001(\t\"H\n\017GetIndexRequest\0225\n\004name\030\001 \001(\t"
+          + "B\'\342A\001\002\372A \n\036firestore.googleapis.com/Inde"
+          + "x\"K\n\022DeleteIndexRequest\0225\n\004name\030\001 \001(\tB\'\342"
+          + "A\001\002\372A \n\036firestore.googleapis.com/Index\"|"
+          + "\n\022UpdateFieldRequest\0225\n\005field\030\001 \001(\0132 .go"
+          + "ogle.firestore.admin.v1.FieldB\004\342A\001\002\022/\n\013u"
+          + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field"
+          + "Mask\"H\n\017GetFieldRequest\0225\n\004name\030\001 \001(\tB\'\342"
+          + "A\001\002\372A \n\036firestore.googleapis.com/Field\"\215"
+          + "\001\n\021ListFieldsRequest\022A\n\006parent\030\001 \001(\tB1\342A"
+          + "\001\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\"_\n\022ListFieldsResp"
+          + "onse\0220\n\006fields\030\001 \003(\0132 .google.firestore."
+          + "admin.v1.Field\022\027\n\017next_page_token\030\002 \001(\t\""
+          + "\205\001\n\026ExportDocumentsRequest\0228\n\004name\030\001 \001(\t"
+          + "B*\342A\001\002\372A#\n!firestore.googleapis.com/Data"
+          + "base\022\026\n\016collection_ids\030\002 \003(\t\022\031\n\021output_u"
+          + "ri_prefix\030\003 \001(\t\"\204\001\n\026ImportDocumentsReque"
+          + "st\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!firestore.goo"
+          + "gleapis.com/Database\022\026\n\016collection_ids\030\002"
+          + " \003(\t\022\030\n\020input_uri_prefix\030\003 \001(\t2\222\023\n\016Fires"
+          + "toreAdmin\022\333\001\n\013CreateIndex\022-.google.fires"
+          + "tore.admin.v1.CreateIndexRequest\032\035.googl"
+          + "e.longrunning.Operation\"~\312A\037\n\005Index\022\026Ind"
+          + "exOperationMetadata\332A\014parent,index\202\323\344\223\002G"
+          + "\">/v1/{parent=projects/*/databases/*/col"
+          + "lectionGroups/*}/indexes:\005index\022\275\001\n\013List"
+          + "Indexes\022-.google.firestore.admin.v1.List"
+          + "IndexesRequest\032..google.firestore.admin."
+          + "v1.ListIndexesResponse\"O\332A\006parent\202\323\344\223\002@\022"
+          + ">/v1/{parent=projects/*/databases/*/coll"
+          + "ectionGroups/*}/indexes\022\247\001\n\010GetIndex\022*.g"
+          + "oogle.firestore.admin.v1.GetIndexRequest"
+          + "\032 .google.firestore.admin.v1.Index\"M\332A\004n"
+          + "ame\202\323\344\223\002@\022>/v1/{name=projects/*/database"
+          + "s/*/collectionGroups/*/indexes/*}\022\243\001\n\013De"
+          + "leteIndex\022-.google.firestore.admin.v1.De"
+          + "leteIndexRequest\032\026.google.protobuf.Empty"
+          + "\"M\332A\004name\202\323\344\223\002@*>/v1/{name=projects/*/da"
+          + "tabases/*/collectionGroups/*/indexes/*}\022"
+          + "\246\001\n\010GetField\022*.google.firestore.admin.v1"
+          + ".GetFieldRequest\032 .google.firestore.admi"
+          + "n.v1.Field\"L\332A\004name\202\323\344\223\002?\022=/v1/{name=pro"
+          + "jects/*/databases/*/collectionGroups/*/f"
+          + "ields/*}\022\331\001\n\013UpdateField\022-.google.firest"
+          + "ore.admin.v1.UpdateFieldRequest\032\035.google"
+          + ".longrunning.Operation\"|\312A\037\n\005Field\022\026Fiel"
+          + "dOperationMetadata\332A\005field\202\323\344\223\002L2C/v1/{f"
+          + "ield.name=projects/*/databases/*/collect"
+          + "ionGroups/*/fields/*}:\005field\022\271\001\n\nListFie"
+          + "lds\022,.google.firestore.admin.v1.ListFiel"
+          + "dsRequest\032-.google.firestore.admin.v1.Li"
+          + "stFieldsResponse\"N\332A\006parent\202\323\344\223\002?\022=/v1/{"
+          + "parent=projects/*/databases/*/collection"
+          + "Groups/*}/fields\022\335\001\n\017ExportDocuments\0221.g"
+          + "oogle.firestore.admin.v1.ExportDocuments"
+          + "Request\032\035.google.longrunning.Operation\"x"
+          + "\312A2\n\027ExportDocumentsResponse\022\027ExportDocu"
+          + "mentsMetadata\332A\004name\202\323\344\223\0026\"1/v1/{name=pr"
+          + "ojects/*/databases/*}:exportDocuments:\001*"
+          + "\022\333\001\n\017ImportDocuments\0221.google.firestore."
+          + "admin.v1.ImportDocumentsRequest\032\035.google"
+          + ".longrunning.Operation\"v\312A0\n\025google.prot"
+          + "obuf.Empty\022\027ImportDocumentsMetadata\332A\004na"
+          + "me\202\323\344\223\0026\"1/v1/{name=projects/*/databases"
+          + "/*}:importDocuments:\001*\022\223\001\n\013GetDatabase\022-"
+          + ".google.firestore.admin.v1.GetDatabaseRe"
+          + "quest\032#.google.firestore.admin.v1.Databa"
+          + "se\"0\332A\004name\202\323\344\223\002#\022!/v1/{name=projects/*/"
+          + "databases/*}\022\246\001\n\rListDatabases\022/.google."
+          + "firestore.admin.v1.ListDatabasesRequest\032"
+          + "0.google.firestore.admin.v1.ListDatabase"
+          + "sResponse\"2\332A\006parent\202\323\344\223\002#\022!/v1/{parent="
+          + "projects/*}/databases\022\333\001\n\016UpdateDatabase"
+          + "\0220.google.firestore.admin.v1.UpdateDatab"
+          + "aseRequest\032\035.google.longrunning.Operatio"
+          + "n\"x\312A\"\n\010Database\022\026UpdateDatabaseMetadata"
+          + "\332A\024database,update_mask\202\323\344\223\00262*/v1/{data"
+          + "base.name=projects/*/databases/*}:\010datab"
+          + "ase\032v\312A\030firestore.googleapis.com\322AXhttps"
+          + "://www.googleapis.com/auth/cloud-platfor"
+          + "m,https://www.googleapis.com/auth/datast"
+          + "oreB\245\003\n\035com.google.firestore.admin.v1B\023F"
+          + "irestoreAdminProtoP\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::V1\352AL\n!fir"
+          + "estore.googleapis.com/Location\022\'projects"
+          + "/{project}/locations/{location}\352Aq\n(fire"
+          + "store.googleapis.com/CollectionGroup\022Epr"
+          + "ojects/{project}/databases/{database}/co"
+          + "llectionGroups/{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 fa360c57eb..e3b3813c1d 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,58 +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.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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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; } @@ -156,132 +183,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(); @@ -291,9 +322,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 @@ -312,8 +343,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; } @@ -329,38 +363,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; @@ -368,7 +403,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; @@ -400,17 +436,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) { @@ -420,23 +458,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; @@ -445,21 +488,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 { @@ -467,30 +513,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() { @@ -500,27 +557,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); } @@ -530,12 +593,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(); } @@ -544,27 +607,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; @@ -579,6 +642,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 0000000000..e6bebb2653 --- /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 a11ee1beef..ecbe91e5a7 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,58 +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.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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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; } @@ -156,132 +183,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(); @@ -291,9 +322,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 @@ -312,8 +343,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; } @@ -329,38 +363,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; @@ -400,17 +435,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) { @@ -420,23 +457,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; @@ -445,21 +487,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 { @@ -467,30 +512,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() { @@ -500,27 +556,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); } @@ -530,12 +592,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(); } @@ -544,27 +606,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; @@ -579,6 +641,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 0000000000..f5eaff563f --- /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 30d4dd23fd..36e09755fe 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,58 +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.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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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; } @@ -156,132 +183,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(); @@ -291,9 +322,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 @@ -312,8 +343,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; } @@ -329,38 +363,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; @@ -400,17 +435,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) { @@ -420,23 +457,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; @@ -445,21 +487,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 { @@ -467,30 +512,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() { @@ -500,27 +556,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); } @@ -530,12 +592,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(); } @@ -544,27 +606,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; @@ -579,6 +641,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 0000000000..82ae93d227 --- /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 4e603a542a..d7b8697354 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,50 +28,54 @@
  *
  * 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.emptyList();
+    collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
     inputUriPrefix_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ImportDocumentsMetadata();
   }
 
-  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 @@ -62,11 +83,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -74,6 +98,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time this operation started.
    * 
@@ -88,12 +114,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 @@ -101,12 +130,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 @@ -114,6 +146,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.
@@ -129,37 +163,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 @@ -167,18 +213,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.
    * 
@@ -187,17 +240,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 @@ -205,18 +263,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.
    * 
@@ -225,42 +290,53 @@ 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.LazyStringArrayList collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -268,28 +344,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 @@ -298,29 +380,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 { @@ -329,6 +411,7 @@ public java.lang.String getInputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,15 +423,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) { @@ -373,24 +456,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; @@ -411,38 +490,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; } @@ -484,98 +558,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].
@@ -583,33 +663,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();
@@ -635,16 +714,15 @@ public Builder clear() {
         progressBytesBuilder_.dispose();
         progressBytesBuilder_ = null;
       }
-      collectionIds_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
       inputUriPrefix_ = "";
       return this;
     }
 
     @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
@@ -663,8 +741,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.admin.v1.ImportDocumentsMetadata result =
+          new com.google.firestore.admin.v1.ImportDocumentsMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -672,27 +753,23 @@ public com.google.firestore.admin.v1.ImportDocumentsMetadata buildPartial() {
     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_ & 0x00000020) != 0)) {
         collectionIds_.makeImmutable();
@@ -707,38 +784,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;
@@ -746,7 +824,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());
       }
@@ -803,56 +882,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) {
@@ -862,28 +942,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() { @@ -894,6 +984,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time this operation started.
      * 
@@ -914,14 +1006,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 { @@ -932,6 +1025,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -940,9 +1035,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; @@ -955,6 +1050,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -972,6 +1069,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -984,6 +1083,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time this operation started.
      * 
@@ -994,11 +1095,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.
      * 
@@ -1006,14 +1108,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_; @@ -1021,26 +1126,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() { @@ -1051,6 +1165,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1072,6 +1188,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1079,8 +1197,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 {
@@ -1091,6 +1208,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1100,9 +1219,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;
@@ -1115,6 +1234,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1133,6 +1254,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1146,6 +1269,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1157,11 +1282,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.
@@ -1170,14 +1296,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_;
@@ -1185,22 +1314,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. */ @@ -1211,24 +1347,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. */ @@ -1242,11 +1385,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() { @@ -1258,34 +1404,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.
      * 
@@ -1306,6 +1465,8 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1324,6 +1485,8 @@ public Builder setProgressDocuments( return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1332,9 +1495,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; @@ -1347,6 +1510,8 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1364,6 +1529,8 @@ public Builder clearProgressDocuments() { return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1376,6 +1543,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilde return getProgressDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1386,11 +1555,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.
      * 
@@ -1398,14 +1570,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_; @@ -1413,34 +1588,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.
      * 
@@ -1461,6 +1649,8 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1479,6 +1669,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1487,9 +1679,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; @@ -1502,6 +1694,8 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1519,6 +1713,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1531,6 +1727,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1541,11 +1739,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.
      * 
@@ -1553,14 +1754,17 @@ 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_; @@ -1568,6 +1772,7 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder private com.google.protobuf.LazyStringArrayList collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureCollectionIdsIsMutable() { if (!collectionIds_.isModifiable()) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); @@ -1575,35 +1780,43 @@ private void ensureCollectionIdsIsMutable() { 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() { collectionIds_.makeImmutable(); 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. */ @@ -1611,31 +1824,37 @@ 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); bitField0_ |= 0x00000020; @@ -1643,17 +1862,21 @@ public Builder setCollectionIds( 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); bitField0_ |= 0x00000020; @@ -1661,50 +1884,58 @@ public Builder addCollectionIds( 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_); bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @return This builder for chaining. */ public Builder clearCollectionIds() { - collectionIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020);; + collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); 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); @@ -1715,18 +1946,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; @@ -1735,20 +1968,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 { @@ -1756,28 +1990,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() { @@ -1787,26 +2028,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); } @@ -1816,12 +2061,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(); } @@ -1830,27 +2075,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; @@ -1865,6 +2110,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 79cbc4ceba..dc9f0242fb 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 fee0012f95..48b6e138f5 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,61 +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/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.emptyList(); + collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); inputUriPrefix_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportDocumentsRequest(); } - 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 @@ -64,30 +88,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 { @@ -96,41 +122,50 @@ public java.lang.String getName() { } public static final int COLLECTION_IDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -138,24 +173,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
@@ -165,6 +205,7 @@ public java.lang.String getCollectionIds(int index) {
    * 
* * string input_uri_prefix = 3; + * * @return The inputUriPrefix. */ @java.lang.Override @@ -173,14 +214,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
@@ -190,16 +232,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 { @@ -208,6 +249,7 @@ public java.lang.String getInputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +261,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_); } @@ -261,19 +302,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; } @@ -299,146 +338,149 @@ 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(); bitField0_ = 0; name_ = ""; - collectionIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); inputUriPrefix_ = ""; return this; } @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 @@ -457,8 +499,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.ImportDocumentsRequest result = + new com.google.firestore.admin.v1.ImportDocumentsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -481,38 +526,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; @@ -520,7 +566,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; @@ -567,28 +614,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) { @@ -598,23 +649,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; @@ -623,21 +679,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 { @@ -645,30 +704,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() { @@ -678,18 +748,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; @@ -699,6 +775,7 @@ public Builder setNameBytes( private com.google.protobuf.LazyStringArrayList collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureCollectionIdsIsMutable() { if (!collectionIds_.isModifiable()) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); @@ -706,38 +783,46 @@ private void ensureCollectionIdsIsMutable() { 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() { collectionIds_.makeImmutable(); 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. */ @@ -745,33 +830,39 @@ 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); bitField0_ |= 0x00000002; @@ -779,18 +870,22 @@ public Builder setCollectionIds( 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); bitField0_ |= 0x00000002; @@ -798,53 +893,61 @@ public Builder addCollectionIds( 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_); bitField0_ |= 0x00000002; 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() { - collectionIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); 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); @@ -855,6 +958,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
@@ -864,13 +969,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; @@ -879,6 +984,8 @@ public java.lang.String getInputUriPrefix() { } } /** + * + * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -888,15 +995,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 { @@ -904,6 +1010,8 @@ public java.lang.String getInputUriPrefix() { } } /** + * + * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -913,18 +1021,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
@@ -934,6 +1046,7 @@ public Builder setInputUriPrefix(
      * 
* * string input_uri_prefix = 3; + * * @return This builder for chaining. */ public Builder clearInputUriPrefix() { @@ -943,6 +1056,8 @@ public Builder clearInputUriPrefix() { return this; } /** + * + * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -952,21 +1067,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); } @@ -976,12 +1093,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(); } @@ -990,27 +1107,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; @@ -1025,6 +1142,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 6c2092a570..28b8df4881 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 e69d725ada..4bf3a864fc 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;
@@ -30,25 +48,28 @@ private Index() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Index();
   }
 
-  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.
@@ -56,9 +77,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.
      * 
@@ -67,6 +89,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
@@ -77,6 +101,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
@@ -87,6 +113,8 @@ public enum QueryScope
      */
     COLLECTION_GROUP(2),
     /**
+     *
+     *
      * 
      * Include all the collections's ancestor in the index. Only available for
      * Datastore Mode databases.
@@ -99,6 +127,8 @@ public enum QueryScope
     ;
 
     /**
+     *
+     *
      * 
      * The query scope is unspecified. Not a valid option.
      * 
@@ -107,6 +137,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
@@ -117,6 +149,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
@@ -127,6 +161,8 @@ public enum QueryScope
      */
     public static final int COLLECTION_GROUP_VALUE = 2;
     /**
+     *
+     *
      * 
      * Include all the collections's ancestor in the index. Only available for
      * Datastore Mode databases.
@@ -136,7 +172,6 @@ public enum QueryScope
      */
     public static final int COLLECTION_RECURSIVE_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -161,50 +196,51 @@ 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;
-        case 3: return COLLECTION_RECURSIVE;
-        default: return null;
+        case 0:
+          return QUERY_SCOPE_UNSPECIFIED;
+        case 1:
+          return COLLECTION;
+        case 2:
+          return COLLECTION_GROUP;
+        case 3:
+          return COLLECTION_RECURSIVE;
+        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;
@@ -222,6 +258,8 @@ private QueryScope(int value) {
   }
 
   /**
+   *
+   *
    * 
    * API Scope defines the APIs (Firestore Native, or Firestore in
    * Datastore Mode) that are supported for queries.
@@ -229,9 +267,10 @@ private QueryScope(int value) {
    *
    * Protobuf enum {@code google.firestore.admin.v1.Index.ApiScope}
    */
-  public enum ApiScope
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ApiScope implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The index can only be used by the Firestore Native query API.
      * This is the default.
@@ -241,6 +280,8 @@ public enum ApiScope
      */
     ANY_API(0),
     /**
+     *
+     *
      * 
      * The index can only be used by the Firestore in Datastore Mode query API.
      * 
@@ -252,6 +293,8 @@ public enum ApiScope ; /** + * + * *
      * The index can only be used by the Firestore Native query API.
      * This is the default.
@@ -261,6 +304,8 @@ public enum ApiScope
      */
     public static final int ANY_API_VALUE = 0;
     /**
+     *
+     *
      * 
      * The index can only be used by the Firestore in Datastore Mode query API.
      * 
@@ -269,7 +314,6 @@ public enum ApiScope */ public static final int DATASTORE_MODE_API_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -294,48 +338,47 @@ public static ApiScope valueOf(int value) { */ public static ApiScope forNumber(int value) { switch (value) { - case 0: return ANY_API; - case 1: return DATASTORE_MODE_API; - default: return null; + case 0: + return ANY_API; + case 1: + return DATASTORE_MODE_API; + 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< - ApiScope> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ApiScope findValueByNumber(int number) { - return ApiScope.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 ApiScope findValueByNumber(int number) { + return ApiScope.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 ApiScope[] VALUES = values(); - public static ApiScope valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ApiScope 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; @@ -353,6 +396,8 @@ private ApiScope(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
@@ -362,9 +407,10 @@ private ApiScope(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.
      * 
@@ -373,6 +419,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The index is being created.
      * There is an active long-running operation for the index.
@@ -384,6 +432,8 @@ public enum State
      */
     CREATING(1),
     /**
+     *
+     *
      * 
      * The index is ready to be used.
      * The index is updated when writing a document.
@@ -394,6 +444,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,
@@ -412,6 +464,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state is unspecified.
      * 
@@ -420,6 +474,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.
@@ -431,6 +487,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.
@@ -441,6 +499,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,
@@ -456,7 +516,6 @@ public enum State
      */
     public static final int NEEDS_REPAIR_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -481,50 +540,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(2);
     }
 
     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;
@@ -541,11 +601,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
@@ -553,10 +616,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
@@ -564,66 +630,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(); @@ -631,6 +715,8 @@ public interface IndexFieldOrBuilder extends 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
@@ -639,49 +725,54 @@ 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();
     }
 
-    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.
        * 
@@ -690,6 +781,8 @@ public enum Order */ ORDER_UNSPECIFIED(0), /** + * + * *
        * The field is ordered by ascending field value.
        * 
@@ -698,6 +791,8 @@ public enum Order */ ASCENDING(1), /** + * + * *
        * The field is ordered by descending field value.
        * 
@@ -709,6 +804,8 @@ public enum Order ; /** + * + * *
        * The ordering is unspecified. Not a valid option.
        * 
@@ -717,6 +814,8 @@ public enum Order */ public static final int ORDER_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The field is ordered by ascending field value.
        * 
@@ -725,6 +824,8 @@ public enum Order */ public static final int ASCENDING_VALUE = 1; /** + * + * *
        * The field is ordered by descending field value.
        * 
@@ -733,7 +834,6 @@ public enum Order */ public static final int DESCENDING_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -758,49 +858,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; @@ -818,15 +918,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.
        * 
@@ -835,6 +938,8 @@ public enum ArrayConfig */ ARRAY_CONFIG_UNSPECIFIED(0), /** + * + * *
        * The index supports array containment queries.
        * 
@@ -846,6 +951,8 @@ public enum ArrayConfig ; /** + * + * *
        * The index does not support additional array queries.
        * 
@@ -854,6 +961,8 @@ public enum ArrayConfig */ public static final int ARRAY_CONFIG_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The index supports array containment queries.
        * 
@@ -862,7 +971,6 @@ public enum ArrayConfig */ public static final int CONTAINS_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -887,48 +995,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; @@ -946,15 +1053,19 @@ private ArrayConfig(int value) { } private int valueModeCase_ = 0; + @SuppressWarnings("serial") 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; } @@ -970,27 +1081,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
@@ -998,6 +1115,7 @@ public int getNumber() {
      * 
* * string field_path = 1; + * * @return The fieldPath. */ @java.lang.Override @@ -1006,14 +1124,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
@@ -1021,16 +1140,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 { @@ -1040,24 +1158,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() { @@ -1067,41 +1191,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() { @@ -1111,23 +1247,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; @@ -1139,8 +1282,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_); } @@ -1163,12 +1305,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; @@ -1178,24 +1322,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: @@ -1230,90 +1372,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 @@ -1323,6 +1469,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A field in an index.
      * The field_path describes which field is indexed, the value_mode describes
@@ -1331,33 +1479,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();
@@ -1369,9 +1517,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
@@ -1390,8 +1538,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;
@@ -1413,38 +1564,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;
@@ -1452,24 +1606,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();
@@ -1497,29 +1655,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) {
@@ -1529,12 +1691,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() {
@@ -1548,6 +1710,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
@@ -1555,13 +1719,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; @@ -1570,6 +1734,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1577,15 +1743,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 { @@ -1593,6 +1758,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1600,18 +1767,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
@@ -1619,6 +1790,7 @@ public Builder setFieldPath(
        * 
* * string field_path = 1; + * * @return This builder for chaining. */ public Builder clearFieldPath() { @@ -1628,6 +1800,8 @@ public Builder clearFieldPath() { return this; } /** + * + * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1635,12 +1809,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; @@ -1649,12 +1825,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 @@ -1662,12 +1841,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 @@ -1678,12 +1860,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. */ @@ -1694,30 +1879,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. */ @@ -1731,12 +1925,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() { @@ -1749,11 +1946,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 @@ -1761,11 +1961,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 @@ -1776,11 +1979,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. */ @@ -1791,32 +1997,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(); } @@ -1826,11 +2042,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() { @@ -1841,6 +2060,7 @@ public Builder clearArrayConfig() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1853,12 +2073,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(); } @@ -1867,27 +2087,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; @@ -1902,13 +2123,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:
@@ -1917,6 +2140,7 @@ public com.google.firestore.admin.v1.Index.IndexField getDefaultInstanceForType(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1925,14 +2149,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:
@@ -1941,16 +2166,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 { @@ -1961,6 +2185,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
@@ -1972,12 +2198,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
@@ -1989,43 +2219,58 @@ 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 API_SCOPE_FIELD_NUMBER = 5; private int apiScope_ = 0; /** + * + * *
    * The API scope supported by this index.
    * 
* * .google.firestore.admin.v1.Index.ApiScope api_scope = 5; + * * @return The enum numeric value on the wire for apiScope. */ - @java.lang.Override public int getApiScopeValue() { + @java.lang.Override + public int getApiScopeValue() { return apiScope_; } /** + * + * *
    * The API scope supported by this index.
    * 
* * .google.firestore.admin.v1.Index.ApiScope api_scope = 5; + * * @return The apiScope. */ - @java.lang.Override public com.google.firestore.admin.v1.Index.ApiScope getApiScope() { - com.google.firestore.admin.v1.Index.ApiScope result = com.google.firestore.admin.v1.Index.ApiScope.forNumber(apiScope_); + @java.lang.Override + public com.google.firestore.admin.v1.Index.ApiScope getApiScope() { + com.google.firestore.admin.v1.Index.ApiScope result = + com.google.firestore.admin.v1.Index.ApiScope.forNumber(apiScope_); return result == null ? com.google.firestore.admin.v1.Index.ApiScope.UNRECOGNIZED : result; } public static final int FIELDS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
    * The fields supported by this index.
    *
@@ -2047,6 +2292,8 @@ public java.util.List getFieldsL
     return fields_;
   }
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    *
@@ -2064,11 +2311,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.
    *
@@ -2090,6 +2339,8 @@ public int getFieldsCount() {
     return fields_.size();
   }
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    *
@@ -2111,6 +2362,8 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
     return fields_.get(index);
   }
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    *
@@ -2128,38 +2381,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; @@ -2171,12 +2433,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++) { @@ -2200,21 +2462,18 @@ 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_); } if (apiScope_ != com.google.firestore.admin.v1.Index.ApiScope.ANY_API.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, apiScope_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, apiScope_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2224,19 +2483,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.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 (apiScope_ != other.apiScope_) 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; @@ -2266,99 +2523,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.
@@ -2366,33 +2627,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();
@@ -2412,9 +2672,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
@@ -2435,7 +2695,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;
     }
@@ -2472,38 +2734,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;
@@ -2541,9 +2804,10 @@ public Builder mergeFrom(com.google.firestore.admin.v1.Index other) {
             fieldsBuilder_ = null;
             fields_ = other.fields_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            fieldsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getFieldsFieldBuilder() : null;
+            fieldsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getFieldsFieldBuilder()
+                    : null;
           } else {
             fieldsBuilder_.addAllMessages(other.fields_);
           }
@@ -2578,45 +2842,50 @@ 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_ |= 0x00000010;
-              break;
-            } // case 32
-            case 40: {
-              apiScope_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 40
-            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_ |= 0x00000010;
+                break;
+              } // case 32
+            case 40:
+              {
+                apiScope_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                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) {
@@ -2626,10 +2895,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:
@@ -2638,13 +2910,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; @@ -2653,6 +2925,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:
@@ -2661,15 +2935,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 { @@ -2677,6 +2950,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:
@@ -2685,18 +2960,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:
@@ -2705,6 +2984,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2714,6 +2994,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:
@@ -2722,12 +3004,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; @@ -2737,6 +3021,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
@@ -2748,12 +3034,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
@@ -2765,6 +3055,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. */ @@ -2775,6 +3066,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
@@ -2786,14 +3079,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
@@ -2805,6 +3102,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. */ @@ -2818,6 +3116,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
@@ -2829,6 +3129,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() { @@ -2840,22 +3141,29 @@ public Builder clearQueryScope() { private int apiScope_ = 0; /** + * + * *
      * The API scope supported by this index.
      * 
* * .google.firestore.admin.v1.Index.ApiScope api_scope = 5; + * * @return The enum numeric value on the wire for apiScope. */ - @java.lang.Override public int getApiScopeValue() { + @java.lang.Override + public int getApiScopeValue() { return apiScope_; } /** + * + * *
      * The API scope supported by this index.
      * 
* * .google.firestore.admin.v1.Index.ApiScope api_scope = 5; + * * @param value The enum numeric value on the wire for apiScope to set. * @return This builder for chaining. */ @@ -2866,24 +3174,31 @@ public Builder setApiScopeValue(int value) { return this; } /** + * + * *
      * The API scope supported by this index.
      * 
* * .google.firestore.admin.v1.Index.ApiScope api_scope = 5; + * * @return The apiScope. */ @java.lang.Override public com.google.firestore.admin.v1.Index.ApiScope getApiScope() { - com.google.firestore.admin.v1.Index.ApiScope result = com.google.firestore.admin.v1.Index.ApiScope.forNumber(apiScope_); + com.google.firestore.admin.v1.Index.ApiScope result = + com.google.firestore.admin.v1.Index.ApiScope.forNumber(apiScope_); return result == null ? com.google.firestore.admin.v1.Index.ApiScope.UNRECOGNIZED : result; } /** + * + * *
      * The API scope supported by this index.
      * 
* * .google.firestore.admin.v1.Index.ApiScope api_scope = 5; + * * @param value The apiScope to set. * @return This builder for chaining. */ @@ -2897,11 +3212,14 @@ public Builder setApiScope(com.google.firestore.admin.v1.Index.ApiScope value) { return this; } /** + * + * *
      * The API scope supported by this index.
      * 
* * .google.firestore.admin.v1.Index.ApiScope api_scope = 5; + * * @return This builder for chaining. */ public Builder clearApiScope() { @@ -2912,18 +3230,24 @@ public Builder clearApiScope() { } private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000008; - } + } } 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.
      *
@@ -2948,6 +3272,8 @@ public java.util.List getFieldsL
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      *
@@ -2972,6 +3298,8 @@ public int getFieldsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      *
@@ -2996,6 +3324,8 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      *
@@ -3012,8 +3342,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();
@@ -3027,6 +3356,8 @@ public Builder setFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      *
@@ -3055,6 +3386,8 @@ public Builder setFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      *
@@ -3085,6 +3418,8 @@ public Builder addFields(com.google.firestore.admin.v1.Index.IndexField value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      *
@@ -3101,8 +3436,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();
@@ -3116,6 +3450,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      *
@@ -3144,6 +3480,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      *
@@ -3172,6 +3510,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      *
@@ -3192,8 +3532,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);
@@ -3201,6 +3540,8 @@ public Builder addAllFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      *
@@ -3228,6 +3569,8 @@ public Builder clearFields() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      *
@@ -3255,6 +3598,8 @@ public Builder removeFields(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      *
@@ -3271,11 +3616,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.
      *
@@ -3292,14 +3638,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.
      *
@@ -3316,8 +3664,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 {
@@ -3325,6 +3673,8 @@ public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      *
@@ -3342,10 +3692,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.
      *
@@ -3362,12 +3714,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.
      *
@@ -3384,20 +3737,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_ & 0x00000008) != 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_ & 0x00000008) != 0), getParentForChildren(), isClean());
         fields_ = null;
       }
       return fieldsBuilder_;
@@ -3405,22 +3761,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. */ @@ -3431,24 +3794,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. */ @@ -3462,11 +3832,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() { @@ -3475,9 +3848,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); } @@ -3487,12 +3860,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(); } @@ -3501,27 +3874,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; @@ -3536,6 +3909,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 202ed25fbf..a2be664a48 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,32 +45,36 @@ private IndexOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IndexOperationMetadata();
   }
 
-  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 @@ -60,11 +82,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -72,6 +97,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time this operation started.
    * 
@@ -86,12 +113,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 @@ -99,12 +129,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 @@ -112,6 +145,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.
@@ -125,15 +160,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 @@ -142,30 +181,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 { @@ -176,37 +215,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 @@ -214,18 +265,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.
    * 
@@ -234,17 +292,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 @@ -252,18 +315,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.
    * 
@@ -272,10 +342,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; @@ -287,8 +360,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()); } @@ -298,7 +370,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) { @@ -317,27 +390,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; @@ -347,35 +416,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; @@ -414,98 +479,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].
@@ -513,33 +583,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();
@@ -570,9 +639,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
@@ -591,8 +660,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;
     }
@@ -600,14 +672,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_;
@@ -616,14 +684,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();
       }
     }
 
@@ -631,38 +699,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;
@@ -670,7 +739,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());
       }
@@ -717,50 +787,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) {
@@ -770,28 +840,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() { @@ -802,6 +882,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time this operation started.
      * 
@@ -822,14 +904,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 { @@ -840,6 +923,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -848,9 +933,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; @@ -863,6 +948,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -880,6 +967,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -892,6 +981,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time this operation started.
      * 
@@ -902,11 +993,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.
      * 
@@ -914,14 +1006,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_; @@ -929,26 +1024,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() { @@ -959,6 +1063,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -980,6 +1086,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -987,8 +1095,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 {
@@ -999,6 +1106,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1008,9 +1117,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;
@@ -1023,6 +1132,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1041,6 +1152,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1054,6 +1167,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1065,11 +1180,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.
@@ -1078,14 +1194,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_;
@@ -1093,19 +1212,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; @@ -1114,21 +1235,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 { @@ -1136,30 +1258,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() { @@ -1169,18 +1298,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; @@ -1190,22 +1323,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. */ @@ -1216,24 +1356,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. */ @@ -1247,11 +1394,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() { @@ -1263,34 +1413,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.
      * 
@@ -1311,6 +1474,8 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1329,6 +1494,8 @@ public Builder setProgressDocuments( return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1337,9 +1504,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; @@ -1352,6 +1519,8 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1369,6 +1538,8 @@ public Builder clearProgressDocuments() { return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1381,6 +1552,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilde return getProgressDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1391,11 +1564,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.
      * 
@@ -1403,14 +1579,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_; @@ -1418,34 +1597,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.
      * 
@@ -1466,6 +1658,8 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1484,6 +1678,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1492,9 +1688,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; @@ -1507,6 +1703,8 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1524,6 +1722,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1536,6 +1736,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1546,11 +1748,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.
      * 
@@ -1558,21 +1763,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); } @@ -1582,12 +1790,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(); } @@ -1596,27 +1804,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; @@ -1631,6 +1839,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 ed223fcf7d..1a4a29da2a 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 89% 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 5cebb25cff..82c6d6e87a 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
@@ -45,10 +68,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
@@ -60,30 +86,39 @@ 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 API scope supported by this index.
    * 
* * .google.firestore.admin.v1.Index.ApiScope api_scope = 5; + * * @return The enum numeric value on the wire for apiScope. */ int getApiScopeValue(); /** + * + * *
    * The API scope supported by this index.
    * 
* * .google.firestore.admin.v1.Index.ApiScope api_scope = 5; + * * @return The apiScope. */ com.google.firestore.admin.v1.Index.ApiScope getApiScope(); /** + * + * *
    * The fields supported by this index.
    *
@@ -100,9 +135,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.
    *
@@ -121,6 +157,8 @@ public interface IndexOrBuilder extends
    */
   com.google.firestore.admin.v1.Index.IndexField getFields(int index);
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    *
@@ -139,6 +177,8 @@ public interface IndexOrBuilder extends
    */
   int getFieldsCount();
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    *
@@ -155,9 +195,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.
    *
@@ -174,24 +216,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 0000000000..52e5560f9f --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java @@ -0,0 +1,111 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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\"\254\007\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\tapi_scope\030\005 \001" + + "(\0162).google.firestore.admin.v1.Index.Api" + + "Scope\022;\n\006fields\030\003 \003(\0132+.google.firestore" + + ".admin.v1.Index.IndexField\0225\n\005state\030\004 \001(" + + "\0162&.google.firestore.admin.v1.Index.Stat" + + "e\032\275\002\n\nIndexField\022\022\n\nfield_path\030\001 \001(\t\022B\n\005" + + "order\030\002 \001(\01621.google.firestore.admin.v1." + + "Index.IndexField.OrderH\000\022O\n\014array_config" + + "\030\003 \001(\01627.google.firestore.admin.v1.Index" + + ".IndexField.ArrayConfigH\000\"=\n\005Order\022\025\n\021OR" + + "DER_UNSPECIFIED\020\000\022\r\n\tASCENDING\020\001\022\016\n\nDESC" + + "ENDING\020\002\"9\n\013ArrayConfig\022\034\n\030ARRAY_CONFIG_" + + "UNSPECIFIED\020\000\022\014\n\010CONTAINS\020\001B\014\n\nvalue_mod" + + "e\"i\n\nQueryScope\022\033\n\027QUERY_SCOPE_UNSPECIFI" + + "ED\020\000\022\016\n\nCOLLECTION\020\001\022\024\n\020COLLECTION_GROUP" + + "\020\002\022\030\n\024COLLECTION_RECURSIVE\020\003\"/\n\010ApiScope" + + "\022\013\n\007ANY_API\020\000\022\026\n\022DATASTORE_MODE_API\020\001\"I\n" + + "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATIN" + + "G\020\001\022\t\n\005READY\020\002\022\020\n\014NEEDS_REPAIR\020\003:z\352Aw\n\036f" + + "irestore.googleapis.com/Index\022Uprojects/" + + "{project}/databases/{database}/collectio" + + "nGroups/{collection}/indexes/{index}B\331\001\n" + + "\035com.google.firestore.admin.v1B\nIndexPro" + + "toP\001Z9cloud.google.com/go/firestore/apiv" + + "1/admin/adminpb;adminpb\242\002\004GCFS\252\002\037Google." + + "Cloud.Firestore.Admin.V1\312\002\037Google\\Cloud\\" + + "Firestore\\Admin\\V1\352\002#Google::Cloud::Fire" + + "store::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", "ApiScope", "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 62% 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 7944865b6a..b6f779ff78 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,58 +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; /** + * + * *
  * 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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; } @@ -157,131 +184,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(); @@ -291,9 +322,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 @@ -312,8 +343,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; } @@ -329,38 +363,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; @@ -368,7 +403,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; @@ -400,17 +436,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) { @@ -420,23 +458,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; @@ -445,21 +488,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 { @@ -467,30 +513,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() { @@ -500,27 +557,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); } @@ -530,12 +593,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(); } @@ -544,27 +607,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; @@ -579,6 +642,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 0000000000..5af6e02937 --- /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 98c15df15f..569c444cbb 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,52 +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/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(); } - 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.
    * 
@@ -58,6 +80,8 @@ public java.util.List getDatabasesList() return databases_; } /** + * + * *
    * The databases in the project.
    * 
@@ -65,11 +89,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.
    * 
@@ -81,6 +107,8 @@ public int getDatabasesCount() { return databases_.size(); } /** + * + * *
    * The databases in the project.
    * 
@@ -92,6 +120,8 @@ public com.google.firestore.admin.v1.Database getDatabases(int index) { return databases_.get(index); } /** + * + * *
    * The databases in the project.
    * 
@@ -99,12 +129,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; @@ -116,8 +146,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)); } @@ -131,8 +160,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; @@ -142,15 +170,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; } @@ -172,131 +200,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(); @@ -312,9 +344,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 @@ -333,14 +365,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_); @@ -360,38 +396,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; @@ -399,7 +436,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()) { @@ -418,9 +456,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_); } @@ -452,25 +491,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) { @@ -480,21 +520,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.
      * 
@@ -509,6 +556,8 @@ public java.util.List getDatabasesList() } } /** + * + * *
      * The databases in the project.
      * 
@@ -523,6 +572,8 @@ public int getDatabasesCount() { } } /** + * + * *
      * The databases in the project.
      * 
@@ -537,14 +588,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(); @@ -558,6 +610,8 @@ public Builder setDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -576,6 +630,8 @@ public Builder setDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -596,14 +652,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(); @@ -617,14 +674,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()); @@ -635,6 +693,8 @@ public Builder addDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -653,6 +713,8 @@ public Builder addDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -663,8 +725,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); @@ -672,6 +733,8 @@ public Builder addAllDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -689,6 +752,8 @@ public Builder clearDatabases() { return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -706,39 +771,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 { @@ -746,6 +816,8 @@ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder( } } /** + * + * *
      * The databases in the project.
      * 
@@ -753,49 +825,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); } @@ -805,12 +883,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(); } @@ -819,27 +897,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; @@ -854,6 +932,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 6f8c2438d6..251d16fadf 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 9590115386..1294d2288b 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,34 +45,41 @@ private ListFieldsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFieldsRequest(); } - 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 @@ -63,30 +88,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 { @@ -95,9 +122,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
@@ -107,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -115,14 +146,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
@@ -132,16 +164,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 { @@ -152,11 +183,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 @@ -165,9 +199,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
@@ -175,6 +212,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -183,14 +221,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
@@ -198,16 +237,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 { @@ -216,6 +254,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +266,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_); } @@ -257,8 +295,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_); @@ -271,21 +308,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; } @@ -310,132 +344,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(); @@ -448,9 +486,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 @@ -469,8 +507,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; } @@ -495,38 +536,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; @@ -534,7 +576,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; @@ -579,32 +622,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) { @@ -614,23 +662,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; @@ -639,21 +692,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 { @@ -661,30 +717,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() { @@ -694,18 +761,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; @@ -715,6 +788,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
@@ -724,13 +799,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; @@ -739,6 +814,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
@@ -748,15 +825,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 { @@ -764,6 +840,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
@@ -773,18 +851,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
@@ -794,6 +876,7 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -803,6 +886,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
@@ -812,12 +897,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; @@ -825,13 +912,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 @@ -839,11 +929,14 @@ 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. */ @@ -855,11 +948,14 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -871,6 +967,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
@@ -878,13 +976,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; @@ -893,6 +991,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
@@ -900,15 +1000,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 { @@ -916,6 +1015,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
@@ -923,18 +1024,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
@@ -942,6 +1047,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -951,6 +1057,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
@@ -958,21 +1066,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); } @@ -982,12 +1092,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(); } @@ -996,27 +1106,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; @@ -1031,6 +1141,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 3b4e824ecc..b92a37ddd1 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 c68ce87040..15dbd8966a 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,28 +44,32 @@ private ListFieldsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFieldsResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getFieldsList() { return fields_; } /** + * + * *
    * The requested fields.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * The requested fields.
    * 
@@ -93,6 +121,8 @@ public com.google.firestore.admin.v1.Field getFields(int index) { return fields_.get(index); } /** + * + * *
    * The requested fields.
    * 
@@ -100,21 +130,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 @@ -123,30 +156,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 { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,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)); } @@ -184,8 +217,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_); @@ -198,17 +230,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; } @@ -231,132 +262,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(); @@ -373,9 +408,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 @@ -394,14 +429,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_); @@ -424,38 +463,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; @@ -463,7 +503,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()) { @@ -482,9 +523,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_); } @@ -521,30 +563,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) { @@ -554,21 +598,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.
      * 
@@ -583,6 +634,8 @@ public java.util.List getFieldsList() { } } /** + * + * *
      * The requested fields.
      * 
@@ -597,6 +650,8 @@ public int getFieldsCount() { } } /** + * + * *
      * The requested fields.
      * 
@@ -611,14 +666,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(); @@ -632,6 +688,8 @@ public Builder setFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -650,6 +708,8 @@ public Builder setFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -670,14 +730,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(); @@ -691,14 +752,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()); @@ -709,6 +771,8 @@ public Builder addFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -727,6 +791,8 @@ public Builder addFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -737,8 +803,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); @@ -746,6 +811,8 @@ public Builder addAllFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -763,6 +830,8 @@ public Builder clearFields() { return this; } /** + * + * *
      * The requested fields.
      * 
@@ -780,39 +849,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 { @@ -820,6 +894,8 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder( } } /** + * + * *
      * The requested fields.
      * 
@@ -827,42 +903,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_; @@ -870,19 +951,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; @@ -891,21 +974,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 { @@ -913,30 +997,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() { @@ -946,27 +1037,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); } @@ -976,12 +1071,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(); } @@ -990,27 +1085,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; @@ -1025,6 +1120,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 48e953d235..f855d32e5a 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 b6fcfa262e..fb93004b07 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,34 +45,41 @@ private ListIndexesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListIndexesRequest(); } - 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 @@ -63,30 +88,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 { @@ -95,14 +122,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 @@ -111,29 +142,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 { @@ -144,11 +175,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 @@ -157,9 +191,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
@@ -167,6 +204,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -175,14 +213,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
@@ -190,16 +229,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 { @@ -208,6 +246,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +258,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_); } @@ -249,8 +287,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_); @@ -263,21 +300,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; } @@ -302,132 +336,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(); @@ -440,9 +478,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 @@ -461,8 +499,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; } @@ -487,38 +528,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; @@ -526,7 +568,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; @@ -571,32 +614,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) { @@ -606,23 +654,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; @@ -631,21 +684,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 { @@ -653,30 +709,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() { @@ -686,18 +753,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; @@ -707,18 +780,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; @@ -727,20 +802,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 { @@ -748,28 +824,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() { @@ -779,17 +862,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; @@ -797,13 +884,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 @@ -811,11 +901,14 @@ 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. */ @@ -827,11 +920,14 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -843,6 +939,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
@@ -850,13 +948,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; @@ -865,6 +963,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
@@ -872,15 +972,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 { @@ -888,6 +987,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
@@ -895,18 +996,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
@@ -914,6 +1019,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -923,6 +1029,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
@@ -930,21 +1038,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); } @@ -954,12 +1064,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(); } @@ -968,27 +1078,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; @@ -1003,6 +1113,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 9fb9cfe3d9..abf086c2ab 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 6b11eb7169..9885bc6f38 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,28 +44,32 @@ private ListIndexesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListIndexesResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getIndexesList() { return indexes_; } /** + * + * *
    * The requested indexes.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getIndexesCount() { return indexes_.size(); } /** + * + * *
    * The requested indexes.
    * 
@@ -93,6 +121,8 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { return indexes_.get(index); } /** + * + * *
    * The requested indexes.
    * 
@@ -100,21 +130,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 @@ -123,30 +156,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 { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,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)); } @@ -184,8 +217,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_); @@ -198,17 +230,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; } @@ -232,131 +263,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(); @@ -373,9 +408,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 @@ -394,14 +429,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_); @@ -424,38 +463,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; @@ -463,7 +503,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()) { @@ -482,9 +523,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_); } @@ -521,30 +563,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) { @@ -554,21 +598,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.
      * 
@@ -583,6 +634,8 @@ public java.util.List getIndexesList() { } } /** + * + * *
      * The requested indexes.
      * 
@@ -597,6 +650,8 @@ public int getIndexesCount() { } } /** + * + * *
      * The requested indexes.
      * 
@@ -611,14 +666,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(); @@ -632,6 +688,8 @@ public Builder setIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -650,6 +708,8 @@ public Builder setIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -670,14 +730,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(); @@ -691,14 +752,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()); @@ -709,6 +771,8 @@ public Builder addIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -727,6 +791,8 @@ public Builder addIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -737,8 +803,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); @@ -746,6 +811,8 @@ public Builder addAllIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -763,6 +830,8 @@ public Builder clearIndexes() { return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -780,39 +849,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 { @@ -820,6 +894,8 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( } } /** + * + * *
      * The requested indexes.
      * 
@@ -827,42 +903,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_; @@ -870,19 +951,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; @@ -891,21 +974,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 { @@ -913,30 +997,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() { @@ -946,27 +1037,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); } @@ -976,12 +1071,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(); } @@ -990,27 +1085,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; @@ -1025,6 +1120,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 c714ffcee0..88a0ab846f 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 dc8c1d42b6..53b183d977 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,48 +1,67 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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(); } - 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; @@ -54,8 +73,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); } @@ -73,12 +91,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; @@ -96,132 +115,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(); @@ -229,9 +252,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 @@ -250,7 +273,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; } @@ -259,38 +283,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; @@ -325,12 +350,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) { @@ -340,9 +366,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); } @@ -352,12 +378,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(); } @@ -366,27 +392,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; @@ -401,6 +427,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 0000000000..84f402fb82 --- /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 0000000000..68c8de7122 --- /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 0000000000..4c1848d39b --- /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 3ae41ccf85..e40f2f12b0 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 d2d77d03b3..d06ce1c0f3 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,46 +29,50 @@
  *
  * 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();
   }
 
-  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 @@ -62,11 +83,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 @@ -75,6 +99,7 @@ public long getCompletedWork() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -86,8 +111,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_); } @@ -104,12 +128,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; @@ -119,17 +141,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; } @@ -142,109 +162,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]
@@ -253,33 +276,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();
@@ -290,9 +312,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
@@ -311,8 +333,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;
     }
@@ -331,38 +356,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;
@@ -403,22 +429,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) {
@@ -428,15 +457,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 @@ -444,11 +477,14 @@ 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. */ @@ -460,11 +496,14 @@ public Builder setEstimatedWork(long value) { return this; } /** + * + * *
      * The amount of work estimated.
      * 
* * int64 estimated_work = 1; + * * @return This builder for chaining. */ public Builder clearEstimatedWork() { @@ -474,13 +513,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 @@ -488,11 +530,14 @@ 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. */ @@ -504,11 +549,14 @@ public Builder setCompletedWork(long value) { return this; } /** + * + * *
      * The amount of work completed.
      * 
* * int64 completed_work = 2; + * * @return This builder for chaining. */ public Builder clearCompletedWork() { @@ -517,9 +565,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); } @@ -529,12 +577,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(); } @@ -543,27 +591,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; @@ -578,6 +626,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 0000000000..632606ea9d --- /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 9f8950595b..f6b736d3bb 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,48 +1,67 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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(); } - 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; @@ -54,8 +73,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); } @@ -73,12 +91,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; @@ -97,131 +116,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(); @@ -229,9 +252,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 @@ -250,7 +273,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; } @@ -259,38 +283,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; @@ -298,7 +323,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; @@ -325,12 +351,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) { @@ -340,9 +367,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); } @@ -352,12 +379,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(); } @@ -366,27 +393,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; @@ -401,6 +428,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 0000000000..d5ff4f5075 --- /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 4f7ae04884..50b02247a9 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,55 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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(); } - 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 @@ -57,37 +80,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 @@ -95,11 +134,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 @@ -107,6 +149,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -119,6 +163,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,8 +175,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()); } @@ -148,12 +192,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; @@ -163,22 +205,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; @@ -205,131 +246,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(); @@ -348,9 +393,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 @@ -369,8 +414,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; } @@ -378,14 +426,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(); } } @@ -393,38 +437,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; @@ -432,7 +477,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()); } @@ -465,26 +511,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) { @@ -494,43 +539,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) { @@ -546,14 +611,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 { @@ -564,17 +632,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; @@ -587,11 +659,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); @@ -604,11 +680,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; @@ -616,36 +696,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_; @@ -653,34 +745,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.
      * 
@@ -701,14 +806,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 { @@ -719,6 +825,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -727,9 +835,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; @@ -742,6 +850,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -759,6 +869,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -771,6 +883,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -781,11 +895,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.
      * 
@@ -793,21 +910,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); } @@ -817,12 +937,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(); } @@ -831,27 +951,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; @@ -866,6 +986,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 39db277462..fb49c8b9e5 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 bd63b5f11b..ebf7dfdbe9 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,55 +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/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(); } - 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 @@ -57,11 +79,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 @@ -69,11 +95,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() { @@ -83,12 +112,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 @@ -96,12 +128,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 @@ -109,6 +144,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.
@@ -122,6 +159,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -133,8 +171,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());
     }
@@ -151,12 +188,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;
@@ -166,22 +201,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;
@@ -207,132 +241,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(); @@ -351,9 +389,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 @@ -372,8 +410,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; } @@ -381,14 +422,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(); } } @@ -396,38 +433,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; @@ -435,7 +473,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()); } @@ -468,26 +507,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) { @@ -497,28 +535,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() { @@ -529,11 +579,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) { @@ -549,14 +602,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 { @@ -567,17 +622,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; @@ -590,11 +648,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); @@ -607,11 +668,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; @@ -619,36 +683,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_; @@ -656,36 +728,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.
@@ -707,6 +792,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.
@@ -714,8 +801,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 {
@@ -726,6 +812,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.
@@ -735,9 +823,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;
@@ -750,6 +838,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.
@@ -768,6 +858,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.
@@ -781,6 +873,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.
@@ -792,11 +886,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.
@@ -805,21 +902,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);
     }
 
@@ -829,12 +929,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();
   }
@@ -843,27 +943,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;
@@ -878,6 +978,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 2702c0e7c3..3255149888 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 d5d02efed0..a4ba379d91 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,43 +31,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();
   }
 
-  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;
+
   @SuppressWarnings("serial")
   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),
@@ -58,6 +79,7 @@ public enum ElementTypeCase
     DOCUMENT(4),
     ELEMENTTYPE_NOT_SET(0);
     private final int value;
+
     private ElementTypeCase(int value) {
       this.value = value;
     }
@@ -73,28 +95,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
@@ -103,22 +131,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();
   }
@@ -126,6 +153,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
@@ -134,22 +162,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();
   }
@@ -157,6 +184,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
@@ -165,22 +193,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();
   }
@@ -188,6 +216,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
@@ -196,27 +225,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;
@@ -228,8 +257,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_);
     }
@@ -252,20 +280,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;
@@ -275,30 +307,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:
@@ -339,99 +368,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`.
@@ -442,33 +476,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();
@@ -491,9 +524,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
@@ -512,8 +545,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;
@@ -526,20 +562,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();
       }
     }
@@ -548,38 +580,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;
@@ -589,25 +622,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();
@@ -635,40 +673,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) {
@@ -678,12 +714,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() {
@@ -696,9 +732,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
@@ -707,6 +747,7 @@ public boolean hasMetadata() {
     }
     /**
      * .google.firestore.bundle.BundleMetadata metadata = 1;
+     *
      * @return The metadata.
      */
     @java.lang.Override
@@ -723,9 +764,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) {
@@ -739,11 +778,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();
@@ -753,15 +789,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;
         }
@@ -776,9 +813,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) {
@@ -795,15 +830,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)) {
@@ -815,18 +846,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());
@@ -838,9 +872,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
@@ -849,6 +887,7 @@ public boolean hasNamedQuery() {
     }
     /**
      * .google.firestore.bundle.NamedQuery named_query = 2;
+     *
      * @return The namedQuery.
      */
     @java.lang.Override
@@ -865,9 +904,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) {
@@ -881,11 +918,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();
@@ -895,15 +929,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;
         }
@@ -918,9 +953,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) {
@@ -937,15 +970,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)) {
@@ -957,18 +986,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());
@@ -980,9 +1012,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
@@ -991,6 +1027,7 @@ public boolean hasDocumentMetadata() {
     }
     /**
      * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     *
      * @return The documentMetadata.
      */
     @java.lang.Override
@@ -1007,9 +1044,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) {
@@ -1023,9 +1058,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) {
@@ -1037,15 +1070,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;
         }
@@ -1060,9 +1096,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) {
@@ -1079,17 +1113,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 {
@@ -1099,18 +1131,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());
@@ -1122,9 +1157,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
@@ -1133,6 +1172,7 @@ public boolean hasDocument() {
     }
     /**
      * .google.firestore.v1.Document document = 4;
+     *
      * @return The document.
      */
     @java.lang.Override
@@ -1149,9 +1189,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) {
@@ -1165,11 +1203,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();
@@ -1179,15 +1214,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;
         }
@@ -1202,9 +1238,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) {
@@ -1221,15 +1255,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)) {
@@ -1241,30 +1271,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);
     }
 
@@ -1274,12 +1305,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();
   }
@@ -1288,27 +1319,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;
@@ -1323,6 +1354,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 fe477d3b17..3f89c75d74 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();
 
   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 70%
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 d1a1b9e749..3aa09d6d94 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,57 +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;
 
 /**
+ *
+ *
  * 
  * 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(); } - 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 @@ -60,29 +83,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 { @@ -93,11 +116,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 @@ -105,11 +131,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 @@ -117,6 +146,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.
    * 
@@ -131,11 +162,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 @@ -146,11 +180,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 @@ -161,11 +198,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 @@ -174,6 +214,7 @@ public long getTotalBytes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,8 +226,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_); } @@ -215,20 +255,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; @@ -238,26 +274,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; } @@ -280,139 +312,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(); @@ -430,9 +465,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 @@ -451,8 +486,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; } @@ -463,9 +501,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_; @@ -482,38 +518,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; @@ -565,39 +602,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) { @@ -607,22 +648,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; @@ -631,20 +675,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 { @@ -652,28 +697,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() { @@ -683,17 +735,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; @@ -703,34 +759,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.
      * 
@@ -751,14 +820,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 { @@ -769,6 +839,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -777,9 +849,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; @@ -792,6 +864,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -809,6 +883,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -821,6 +897,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -831,11 +909,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.
      * 
@@ -843,26 +924,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 @@ -870,11 +957,14 @@ 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. */ @@ -886,11 +976,14 @@ public Builder setVersion(int value) { return this; } /** + * + * *
      * The schema version of the bundle.
      * 
* * uint32 version = 3; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -900,13 +993,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 @@ -914,11 +1010,14 @@ 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. */ @@ -930,11 +1029,14 @@ public Builder setTotalDocuments(int value) { return this; } /** + * + * *
      * The number of documents in the bundle.
      * 
* * uint32 total_documents = 4; + * * @return This builder for chaining. */ public Builder clearTotalDocuments() { @@ -944,13 +1046,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 @@ -958,11 +1063,14 @@ 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. */ @@ -974,11 +1082,14 @@ public Builder setTotalBytes(long value) { return this; } /** + * + * *
      * The size of the bundle in bytes, excluding this `BundleMetadata`.
      * 
* * uint64 total_bytes = 5; + * * @return This builder for chaining. */ public Builder clearTotalBytes() { @@ -987,9 +1098,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); } @@ -999,12 +1110,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(); } @@ -1013,27 +1124,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; @@ -1048,6 +1159,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 fa6fc0c07a..73817f7a5e 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 0000000000..38131535fa --- /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 55824905d7..25072f050d 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,59 +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/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.emptyList(); + queries_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BundledDocumentMetadata(); } - 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 @@ -62,29 +84,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 { @@ -95,11 +117,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 @@ -107,11 +132,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 @@ -119,6 +147,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The snapshot version of the document data bundled.
    * 
@@ -133,11 +163,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 @@ -146,38 +179,47 @@ public boolean getExists() { } public static final int QUERIES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList queries_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -185,20 +227,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; @@ -210,8 +255,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_); } @@ -237,12 +281,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; @@ -260,24 +302,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; } @@ -296,8 +335,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(); @@ -308,131 +346,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(); @@ -444,15 +486,14 @@ public Builder clear() { readTimeBuilder_ = null; } exists_ = false; - queries_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + queries_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @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 @@ -471,8 +512,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.bundle.BundledDocumentMetadata result = + new com.google.firestore.bundle.BundledDocumentMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -483,9 +527,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_; @@ -500,38 +542,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; @@ -539,7 +582,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; @@ -587,35 +631,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) { @@ -625,22 +672,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; @@ -649,20 +699,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 { @@ -670,28 +721,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() { @@ -701,17 +759,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; @@ -721,24 +783,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() { @@ -749,6 +820,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -769,14 +842,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 { @@ -787,6 +861,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -795,9 +871,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; @@ -810,6 +886,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -827,6 +905,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -839,6 +919,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -849,11 +931,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.
      * 
@@ -861,26 +944,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 @@ -888,11 +977,14 @@ public boolean getExists() { return exists_; } /** + * + * *
      * Whether the document exists.
      * 
* * bool exists = 3; + * * @param value The exists to set. * @return This builder for chaining. */ @@ -904,11 +996,14 @@ public Builder setExists(boolean value) { return this; } /** + * + * *
      * Whether the document exists.
      * 
* * bool exists = 3; + * * @return This builder for chaining. */ public Builder clearExists() { @@ -920,6 +1015,7 @@ public Builder clearExists() { private com.google.protobuf.LazyStringArrayList queries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureQueriesIsMutable() { if (!queries_.isModifiable()) { queries_ = new com.google.protobuf.LazyStringArrayList(queries_); @@ -927,35 +1023,43 @@ private void ensureQueriesIsMutable() { 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() { queries_.makeImmutable(); 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. */ @@ -963,31 +1067,37 @@ 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); bitField0_ |= 0x00000008; @@ -995,17 +1105,21 @@ public Builder setQueries( 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); bitField0_ |= 0x00000008; @@ -1013,50 +1127,58 @@ public Builder addQueries( 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_); bitField0_ |= 0x00000008; 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() { - queries_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + queries_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); 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); @@ -1064,9 +1186,9 @@ public Builder addQueriesBytes( 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 +1198,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(); } @@ -1090,27 +1212,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; @@ -1125,6 +1247,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 2a01a269de..bf08931cc6 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 2ab832fc3a..abbe993870 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,25 +44,28 @@ private BundledQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BundledQuery(); } - 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.
@@ -52,29 +73,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(
@@ -99,48 +110,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;
@@ -158,14 +168,18 @@ private LimitType(int value) {
   }
 
   private int queryTypeCase_ = 0;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -181,31 +195,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 @@ -214,29 +234,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 { @@ -246,11 +266,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 @@ -258,21 +281,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.
    * 
@@ -282,7 +310,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(); } @@ -291,21 +319,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; @@ -317,8 +353,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_); } @@ -341,12 +376,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; @@ -356,21 +391,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: @@ -403,132 +436,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(); @@ -544,9 +581,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 @@ -565,8 +602,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; @@ -585,8 +625,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(); } } @@ -595,38 +634,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; @@ -644,13 +684,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(); @@ -678,29 +720,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) { @@ -710,12 +754,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() { @@ -729,18 +773,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; @@ -749,20 +795,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 { @@ -770,28 +817,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() { @@ -801,17 +855,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; @@ -820,13 +878,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 @@ -834,11 +898,14 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override @@ -856,6 +923,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
      * A structured query.
      * 
@@ -876,6 +945,8 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** + * + * *
      * A structured query.
      * 
@@ -894,6 +965,8 @@ public Builder setStructuredQuery( return this; } /** + * + * *
      * A structured query.
      * 
@@ -902,10 +975,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; } @@ -921,6 +997,8 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** + * + * *
      * A structured query.
      * 
@@ -944,6 +1022,8 @@ public Builder clearStructuredQuery() { return this; } /** + * + * *
      * A structured query.
      * 
@@ -954,6 +1034,8 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** + * + * *
      * A structured query.
      * 
@@ -972,6 +1054,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** + * + * *
      * A structured query.
      * 
@@ -979,14 +1063,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()); @@ -1000,13 +1089,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. */ @@ -1018,15 +1110,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. */ @@ -1041,6 +1138,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() { @@ -1049,9 +1147,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); } @@ -1061,12 +1159,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(); } @@ -1075,27 +1173,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; @@ -1110,6 +1208,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 c8a9b551d0..31cb35ca46 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 7ea3ec54ce..38d4fe7fa4 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,43 +28,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();
   }
 
-  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
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -63,14 +86,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
@@ -78,16 +102,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 { @@ -98,11 +121,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 @@ -110,18 +136,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.
    * 
@@ -130,18 +163,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 @@ -149,12 +187,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 @@ -162,6 +203,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.
@@ -175,6 +218,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -186,8 +230,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_);
     }
@@ -210,12 +253,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;
@@ -225,24 +266,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;
@@ -270,99 +308,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.
@@ -370,33 +413,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();
@@ -416,9 +458,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
@@ -437,8 +479,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;
     }
@@ -449,14 +494,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();
       }
     }
 
@@ -464,38 +506,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;
@@ -541,31 +584,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) {
@@ -575,10 +618,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
@@ -586,13 +632,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; @@ -601,6 +647,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
@@ -608,15 +656,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 { @@ -624,6 +671,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
@@ -631,18 +680,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
@@ -650,6 +703,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -659,6 +713,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
@@ -666,12 +722,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; @@ -681,34 +739,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.
      * 
@@ -729,6 +800,8 @@ public Builder setBundledQuery(com.google.firestore.bundle.BundledQuery value) { return this; } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -747,6 +820,8 @@ public Builder setBundledQuery( return this; } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -755,9 +830,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; @@ -770,6 +845,8 @@ public Builder mergeBundledQuery(com.google.firestore.bundle.BundledQuery value) return this; } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -787,6 +864,8 @@ public Builder clearBundledQuery() { return this; } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -799,6 +878,8 @@ public com.google.firestore.bundle.BundledQuery.Builder getBundledQueryBuilder() return getBundledQueryFieldBuilder().getBuilder(); } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -809,11 +890,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.
      * 
@@ -821,14 +905,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_; @@ -836,26 +923,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() { @@ -866,6 +962,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.
@@ -887,6 +985,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.
@@ -894,8 +994,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 {
@@ -906,6 +1005,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.
@@ -915,9 +1016,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;
@@ -930,6 +1031,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.
@@ -948,6 +1051,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.
@@ -961,6 +1066,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.
@@ -972,11 +1079,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.
@@ -985,21 +1093,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);
     }
 
@@ -1009,12 +1120,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();
   }
@@ -1023,27 +1134,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;
@@ -1058,6 +1169,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 b124e75f39..1ab84b31e9 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 6ed79fc6b7..6637772622 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.
  *
@@ -14,77 +31,84 @@
  *
  * 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();
   }
 
-  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`.
    *
@@ -97,20 +121,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`.
    *
@@ -127,6 +152,8 @@ public java.util.Map getAggrega
     return internalGetAggregateFields().getMap();
   }
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    *
@@ -139,17 +166,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`.
    *
@@ -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,99 +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.
    *
@@ -352,55 +385,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();
@@ -410,9 +440,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
@@ -431,8 +461,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;
     }
@@ -449,38 +482,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;
@@ -489,8 +523,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();
@@ -518,21 +551,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) {
@@ -542,10 +580,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) {
@@ -554,11 +594,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();
@@ -567,10 +609,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`.
      *
@@ -583,20 +628,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`.
      *
@@ -613,6 +659,8 @@ public java.util.Map getAggrega
       return internalGetAggregateFields().getMap();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      *
@@ -625,17 +673,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`.
      *
@@ -648,9 +699,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)) {
@@ -658,13 +710,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`.
      *
@@ -676,16 +730,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() {
@@ -693,6 +745,8 @@ public Builder removeAggregateFields(
       return internalGetMutableAggregateFields().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      *
@@ -704,17 +758,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`.
      *
@@ -728,14 +785,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);
     }
 
@@ -745,12 +801,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();
   }
@@ -759,27 +815,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;
@@ -794,6 +850,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 94885fd798..05dd1cf1a3 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`.
    *
@@ -21,6 +39,8 @@ public interface AggregationResultOrBuilder extends
    */
   int getAggregateFieldsCount();
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    *
@@ -32,15 +52,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`.
    *
@@ -52,9 +70,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`.
    *
@@ -67,11 +86,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`.
    *
@@ -83,6 +104,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 0000000000..8b1862f71f
--- /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 16ff2a17c3..5517f1a32e 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,52 +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/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(); } - 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.
    * 
@@ -58,6 +80,8 @@ public java.util.List getValuesList() { return values_; } /** + * + * *
    * Values in the array.
    * 
@@ -65,11 +89,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.
    * 
@@ -81,6 +106,8 @@ public int getValuesCount() { return values_.size(); } /** + * + * *
    * Values in the array.
    * 
@@ -92,6 +119,8 @@ public com.google.firestore.v1.Value getValues(int index) { return values_.get(index); } /** + * + * *
    * Values in the array.
    * 
@@ -99,12 +128,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; @@ -116,8 +145,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)); } @@ -131,8 +159,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; @@ -142,15 +169,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; } @@ -171,132 +197,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(); @@ -312,9 +341,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 @@ -335,7 +364,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; } @@ -360,38 +391,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; @@ -418,9 +450,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_); } @@ -452,25 +485,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) { @@ -480,21 +513,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.
      * 
@@ -509,6 +549,8 @@ public java.util.List getValuesList() { } } /** + * + * *
      * Values in the array.
      * 
@@ -523,6 +565,8 @@ public int getValuesCount() { } } /** + * + * *
      * Values in the array.
      * 
@@ -537,14 +581,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(); @@ -558,14 +603,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()); @@ -576,6 +622,8 @@ public Builder setValues( return this; } /** + * + * *
      * Values in the array.
      * 
@@ -596,14 +644,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(); @@ -617,14 +666,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()); @@ -635,14 +685,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()); @@ -653,6 +704,8 @@ public Builder addValues( return this; } /** + * + * *
      * Values in the array.
      * 
@@ -663,8 +716,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); @@ -672,6 +724,8 @@ public Builder addAllValues( return this; } /** + * + * *
      * Values in the array.
      * 
@@ -689,6 +743,8 @@ public Builder clearValues() { return this; } /** + * + * *
      * Values in the array.
      * 
@@ -706,39 +762,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 { @@ -746,6 +807,8 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder( } } /** + * + * *
      * Values in the array.
      * 
@@ -753,49 +816,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); } @@ -805,12 +872,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(); } @@ -819,27 +886,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; @@ -854,6 +921,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 2b842d6ae4..5aa4db46e4 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 c9489a45ab..b6052717d5 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,52 +28,57 @@
  *
  * 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.emptyList();
+    documents_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchGetDocumentsRequest();
   }
 
-  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;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -72,34 +94,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 @@ -108,30 +138,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 { @@ -140,10 +170,13 @@ public java.lang.String getDatabase() { } public static final int DOCUMENTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList documents_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -152,13 +185,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}`.
@@ -167,12 +202,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}`.
@@ -181,6 +219,7 @@ public int getDocumentsCount() {
    * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -188,6 +227,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}`.
@@ -196,17 +237,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.
    *
@@ -215,6 +258,7 @@ public java.lang.String getDocuments(int index) {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return Whether the mask field is set. */ @java.lang.Override @@ -222,6 +266,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    *
@@ -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.
    *
@@ -253,11 +302,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 @@ -265,11 +317,14 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** + * + * *
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; + * * @return The transaction. */ @java.lang.Override @@ -282,6 +337,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.
@@ -290,6 +347,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -297,6 +355,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -305,16 +365,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.
@@ -327,19 +390,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 @@ -347,22 +413,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.
@@ -373,12 +444,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;
@@ -390,8 +462,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_);
     }
@@ -402,8 +473,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_);
@@ -432,21 +502,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;
@@ -456,35 +527,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:
@@ -531,99 +597,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].
@@ -631,40 +702,38 @@ 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();
       bitField0_ = 0;
       database_ = "";
-      documents_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      documents_ = com.google.protobuf.LazyStringArrayList.emptyList();
       mask_ = null;
       if (maskBuilder_ != null) {
         maskBuilder_.dispose();
@@ -682,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
@@ -703,8 +772,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.BatchGetDocumentsRequest result =
+          new com.google.firestore.v1.BatchGetDocumentsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -720,21 +792,17 @@ private void buildPartial0(com.google.firestore.v1.BatchGetDocumentsRequest resu
         result.documents_ = documents_;
       }
       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();
       }
     }
@@ -743,38 +811,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;
@@ -782,7 +851,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;
@@ -802,21 +872,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();
@@ -844,49 +918,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) {
@@ -896,12 +971,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() {
@@ -915,19 +990,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; @@ -936,21 +1013,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 { @@ -958,30 +1036,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() { @@ -991,18 +1076,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,6 +1101,7 @@ public Builder setDatabaseBytes( private com.google.protobuf.LazyStringArrayList documents_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDocumentsIsMutable() { if (!documents_.isModifiable()) { documents_ = new com.google.protobuf.LazyStringArrayList(documents_); @@ -1019,6 +1109,8 @@ private void ensureDocumentsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1027,14 +1119,16 @@ 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() { documents_.makeImmutable(); return documents_; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1043,12 +1137,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 +1154,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 +1162,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 +1172,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,13 +1190,15 @@ 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); bitField0_ |= 0x00000002; @@ -1102,6 +1206,8 @@ public Builder setDocuments( return this; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1110,12 +1216,14 @@ 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); bitField0_ |= 0x00000002; @@ -1123,6 +1231,8 @@ public Builder addDocuments( return this; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1131,19 +1241,20 @@ 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_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1152,16 +1263,19 @@ public Builder addAllDocuments(
      * 
* * repeated string documents = 2; + * * @return This builder for chaining. */ public Builder clearDocuments() { - documents_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + documents_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1170,12 +1284,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); @@ -1186,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.
      *
@@ -1196,12 +1317,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.
      *
@@ -1210,6 +1334,7 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1220,6 +1345,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * The fields to return. If not set, returns all fields.
      *
@@ -1243,6 +1370,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1252,8 +1381,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 {
@@ -1264,6 +1392,8 @@ public Builder setMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1275,9 +1405,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;
@@ -1290,6 +1420,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1310,6 +1442,8 @@ public Builder clearMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1325,6 +1459,8 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
       return getMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1338,11 +1474,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.
      *
@@ -1353,36 +1490,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() { @@ -1392,27 +1538,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() { @@ -1425,8 +1579,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.
@@ -1435,6 +1594,7 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1442,6 +1602,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1450,6 +1612,7 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return The newTransaction. */ @java.lang.Override @@ -1467,6 +1630,8 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1490,6 +1655,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.
@@ -1511,6 +1678,8 @@ public Builder setNewTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1522,10 +1691,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;
         }
@@ -1541,6 +1714,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.
@@ -1567,6 +1742,8 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1580,6 +1757,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.
@@ -1601,6 +1780,8 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1611,14 +1792,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());
@@ -1630,14 +1816,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 @@ -1645,12 +1837,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 @@ -1668,6 +1863,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1689,6 +1886,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.
@@ -1696,8 +1895,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();
@@ -1708,6 +1906,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1717,10 +1917,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;
         }
@@ -1736,6 +1939,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.
@@ -1760,6 +1965,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1771,6 +1978,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.
@@ -1790,6 +1999,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1798,14 +2009,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());
@@ -1815,9 +2031,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);
     }
 
@@ -1827,12 +2043,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();
   }
@@ -1841,27 +2057,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;
@@ -1876,6 +2092,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 2635fbc697..472937aaf6 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.
    *
@@ -91,10 +124,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.
    *
@@ -103,10 +139,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.
    *
@@ -119,25 +158,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.
@@ -146,10 +193,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.
@@ -158,10 +208,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.
@@ -174,26 +227,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.
@@ -203,5 +264,6 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    */
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-  com.google.firestore.v1.BatchGetDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  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 29d46cc352..a8cdf4fdb0 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,49 +28,55 @@
  *
  * 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();
   }
 
-  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;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -69,30 +92,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 @@ -100,21 +129,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.
    * 
@@ -124,31 +158,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() { @@ -159,8 +199,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; @@ -169,24 +208,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; } @@ -199,6 +239,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
@@ -207,6 +249,7 @@ public java.lang.String getMissing() {
    * 
* * bytes transaction = 3; + * * @return The transaction. */ @java.lang.Override @@ -217,6 +260,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
@@ -225,6 +270,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -232,6 +278,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
@@ -240,6 +288,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ @java.lang.Override @@ -247,6 +296,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
@@ -262,6 +313,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -273,8 +325,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_);
     }
@@ -297,19 +348,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;
@@ -319,29 +369,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:
@@ -381,98 +428,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].
@@ -480,33 +532,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();
@@ -526,9 +577,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
@@ -547,8 +598,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;
@@ -560,17 +614,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();
       }
     }
@@ -579,38 +630,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;
@@ -618,7 +670,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());
       }
@@ -626,19 +679,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();
@@ -666,37 +722,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) {
@@ -706,12 +763,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() {
@@ -724,13 +781,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 @@ -738,11 +801,14 @@ public boolean hasFound() { return resultCase_ == 1; } /** + * + * *
      * A document that was requested.
      * 
* * .google.firestore.v1.Document found = 1; + * * @return The found. */ @java.lang.Override @@ -760,6 +826,8 @@ public com.google.firestore.v1.Document getFound() { } } /** + * + * *
      * A document that was requested.
      * 
@@ -780,14 +848,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(); @@ -798,6 +867,8 @@ public Builder setFound( return this; } /** + * + * *
      * A document that was requested.
      * 
@@ -806,10 +877,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; } @@ -825,6 +898,8 @@ public Builder mergeFound(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * A document that was requested.
      * 
@@ -848,6 +923,8 @@ public Builder clearFound() { return this; } /** + * + * *
      * A document that was requested.
      * 
@@ -858,6 +935,8 @@ public com.google.firestore.v1.Document.Builder getFoundBuilder() { return getFoundFieldBuilder().getBuilder(); } /** + * + * *
      * A document that was requested.
      * 
@@ -876,6 +955,8 @@ public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { } } /** + * + * *
      * A document that was requested.
      * 
@@ -883,17 +964,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; @@ -902,12 +986,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 @@ -915,12 +1002,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 @@ -930,8 +1020,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; @@ -942,25 +1031,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; } @@ -970,30 +1060,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() { @@ -1005,18 +1102,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; @@ -1026,6 +1127,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
@@ -1034,6 +1137,7 @@ public Builder setMissingBytes(
      * 
* * bytes transaction = 3; + * * @return The transaction. */ @java.lang.Override @@ -1041,6 +1145,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
@@ -1049,17 +1155,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
@@ -1068,6 +1179,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 3; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1079,8 +1191,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
@@ -1089,12 +1206,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
@@ -1103,6 +1223,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1113,6 +1234,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
@@ -1136,6 +1259,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
@@ -1145,8 +1270,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 {
@@ -1157,6 +1281,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
@@ -1168,9 +1294,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;
@@ -1183,6 +1309,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
@@ -1203,6 +1331,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
@@ -1218,6 +1348,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
@@ -1231,11 +1363,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
@@ -1246,21 +1379,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);
     }
 
@@ -1270,12 +1406,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();
   }
@@ -1284,27 +1420,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;
@@ -1319,6 +1455,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 cee9045aeb..268bf73c98 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 ef0ba6b820..14146968c5 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,46 +45,50 @@ private BatchWriteRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchWriteRequest();
   }
 
-  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 @@ -75,30 +97,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 { @@ -107,9 +129,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.
    *
@@ -125,6 +150,8 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -136,11 +163,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.
    *
@@ -156,6 +184,8 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -171,6 +201,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -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,99 +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].
@@ -481,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();
@@ -547,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
@@ -568,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;
     }
@@ -602,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;
@@ -665,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();
@@ -702,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) {
@@ -744,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; @@ -769,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 { @@ -791,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() { @@ -824,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; @@ -844,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.
      *
@@ -874,6 +936,8 @@ public java.util.List getWritesList() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -892,6 +956,8 @@ public int getWritesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -910,6 +976,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -920,8 +988,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();
@@ -935,6 +1002,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -945,8 +1014,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());
@@ -957,6 +1025,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -981,6 +1051,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -991,8 +1063,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();
@@ -1006,6 +1077,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1016,8 +1089,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());
@@ -1028,6 +1100,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1038,8 +1112,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());
@@ -1050,6 +1123,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1064,8 +1139,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);
@@ -1073,6 +1147,8 @@ public Builder addAllWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1094,6 +1170,8 @@ public Builder clearWrites() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1115,6 +1193,8 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1125,11 +1205,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.
      *
@@ -1140,14 +1221,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.
      *
@@ -1158,8 +1241,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 {
@@ -1167,6 +1250,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1178,10 +1263,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.
      *
@@ -1192,12 +1278,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.
      *
@@ -1208,40 +1295,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();
@@ -1250,10 +1337,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.
      * 
@@ -1261,20 +1351,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.
      * 
@@ -1286,6 +1377,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this batch write.
      * 
@@ -1293,17 +1386,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.
      * 
@@ -1311,79 +1406,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); } @@ -1393,12 +1490,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(); } @@ -1407,27 +1504,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; @@ -1442,6 +1539,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 fe2a431f2a..5e15a43825 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.
    *
@@ -40,9 +63,10 @@ public interface BatchWriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List 
-      getWritesList();
+  java.util.List getWritesList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -55,6 +79,8 @@ public interface BatchWriteRequestOrBuilder extends
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -67,6 +93,8 @@ public interface BatchWriteRequestOrBuilder extends
    */
   int getWritesCount();
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -77,9 +105,10 @@ public interface BatchWriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List 
-      getWritesOrBuilderList();
+  java.util.List getWritesOrBuilderList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -90,10 +119,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.
    * 
@@ -102,30 +132,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.
    * 
@@ -133,17 +164,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 e5fc750720..d1dc775000 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,28 +45,32 @@ private BatchWriteResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchWriteResponse();
   }
 
-  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.
    *
@@ -63,6 +85,8 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -73,11 +97,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.
    *
@@ -92,6 +118,8 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -106,6 +134,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -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.
    *
@@ -139,6 +171,8 @@ public java.util.List getStatusList() {
     return status_;
   }
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    *
@@ -149,11 +183,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.
    *
@@ -168,6 +203,8 @@ public int getStatusCount() {
     return status_.size();
   }
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    *
@@ -182,6 +219,8 @@ public com.google.rpc.Status getStatus(int index) {
     return status_.get(index);
   }
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    *
@@ -192,12 +231,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;
@@ -209,8 +248,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));
     }
@@ -227,12 +265,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;
@@ -242,17 +278,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;
   }
@@ -277,99 +312,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].
@@ -377,33 +417,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();
@@ -426,9 +465,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
@@ -447,9 +486,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;
     }
@@ -483,38 +525,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;
@@ -541,9 +584,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_);
           }
@@ -567,9 +611,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_);
           }
@@ -601,38 +646,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) {
@@ -642,21 +687,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.
      *
@@ -674,6 +726,8 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -691,6 +745,8 @@ public int getWriteResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -708,6 +764,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -717,8 +775,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();
@@ -732,6 +789,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -753,6 +812,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -776,6 +837,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -785,8 +848,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();
@@ -800,6 +862,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -809,8 +873,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());
@@ -821,6 +884,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -842,6 +907,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -855,8 +922,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);
@@ -864,6 +930,8 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -884,6 +952,8 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -904,6 +974,8 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -913,11 +985,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.
      *
@@ -927,14 +1000,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.
      *
@@ -944,8 +1019,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 {
@@ -953,6 +1028,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -963,10 +1040,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.
      *
@@ -976,12 +1055,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.
      *
@@ -991,38 +1071,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.
      *
@@ -1040,6 +1126,8 @@ public java.util.List getStatusList() {
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      *
@@ -1057,6 +1145,8 @@ public int getStatusCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      *
@@ -1074,6 +1164,8 @@ public com.google.rpc.Status getStatus(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      *
@@ -1083,8 +1175,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();
@@ -1098,6 +1189,8 @@ public Builder setStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      *
@@ -1107,8 +1200,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());
@@ -1119,6 +1211,8 @@ public Builder setStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      *
@@ -1142,6 +1236,8 @@ public Builder addStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      *
@@ -1151,8 +1247,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();
@@ -1166,6 +1261,8 @@ public Builder addStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      *
@@ -1175,8 +1272,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());
@@ -1187,6 +1283,8 @@ public Builder addStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      *
@@ -1196,8 +1294,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());
@@ -1208,6 +1305,8 @@ public Builder addStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      *
@@ -1217,12 +1316,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);
@@ -1230,6 +1327,8 @@ public Builder addAllStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      *
@@ -1250,6 +1349,8 @@ public Builder clearStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      *
@@ -1270,6 +1371,8 @@ public Builder removeStatus(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      *
@@ -1279,11 +1382,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.
      *
@@ -1293,14 +1397,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.
      *
@@ -1310,8 +1416,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 {
@@ -1319,6 +1424,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      *
@@ -1329,10 +1436,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.
      *
@@ -1342,12 +1450,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.
      *
@@ -1357,27 +1465,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);
     }
 
@@ -1387,12 +1495,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();
   }
@@ -1401,27 +1509,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;
@@ -1436,6 +1544,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 63f70f2765..77a0b3a340 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.
    *
@@ -17,9 +35,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.
    *
@@ -31,6 +50,8 @@ public interface BatchWriteResponseOrBuilder extends
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -42,6 +63,8 @@ public interface BatchWriteResponseOrBuilder extends
    */
   int getWriteResultsCount();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -51,9 +74,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.
    *
@@ -63,10 +88,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.
    *
@@ -76,9 +102,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.
    *
@@ -90,6 +117,8 @@ com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
    */
   com.google.rpc.Status getStatus(int index);
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    *
@@ -101,6 +130,8 @@ com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
    */
   int getStatusCount();
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    *
@@ -110,9 +141,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.
    *
@@ -122,6 +154,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 ff19510274..74093da079 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,49 +28,55 @@
  *
  * 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();
   }
 
-  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 @@ -62,30 +85,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 { @@ -96,12 +119,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 @@ -109,19 +135,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.
@@ -131,10 +164,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;
@@ -146,8 +182,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_);
     }
@@ -167,8 +202,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;
@@ -178,19 +212,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;
@@ -214,99 +247,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].
@@ -314,33 +352,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();
@@ -355,9 +392,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
@@ -376,8 +413,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;
     }
@@ -388,9 +428,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();
       }
     }
 
@@ -398,38 +436,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;
@@ -437,7 +476,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;
@@ -472,24 +512,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) {
@@ -499,23 +540,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; @@ -524,21 +568,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 { @@ -546,30 +591,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() { @@ -579,18 +631,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; @@ -600,36 +656,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.
@@ -651,6 +720,8 @@ public Builder setOptions(com.google.firestore.v1.TransactionOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -658,8 +729,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 {
@@ -670,6 +740,8 @@ public Builder setOptions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -679,9 +751,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;
@@ -694,6 +766,8 @@ public Builder mergeOptions(com.google.firestore.v1.TransactionOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -712,6 +786,8 @@ public Builder clearOptions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -725,6 +801,8 @@ public com.google.firestore.v1.TransactionOptions.Builder getOptionsBuilder() {
       return getOptionsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -736,11 +814,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.
@@ -749,21 +830,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);
     }
 
@@ -773,12 +857,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();
   }
@@ -787,27 +871,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;
@@ -822,6 +906,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 99a70bc56b..d728054813 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 7cc7115a65..7655ab9846 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,47 +28,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();
   }
 
-  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 @@ -60,6 +82,7 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -71,8 +94,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_); } @@ -86,8 +108,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; @@ -97,15 +118,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; } @@ -124,99 +145,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].
@@ -224,33 +250,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();
@@ -260,9 +285,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
@@ -281,8 +306,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;
     }
@@ -298,38 +326,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;
@@ -337,7 +366,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());
       }
@@ -367,17 +397,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) {
@@ -387,15 +419,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 @@ -403,27 +439,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() { @@ -432,9 +476,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); } @@ -444,12 +488,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(); } @@ -458,27 +502,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; @@ -493,6 +537,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 0000000000..188d7f600e --- /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/BitSequence.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequence.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequence.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequence.java index 77dbbbd498..7dba0247b9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequence.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequence.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/bloom_filter.proto package com.google.firestore.v1; /** + * + * *
  * A sequence of bits, encoded in a byte array.
  *
@@ -24,48 +41,53 @@
  *
  * Protobuf type {@code google.firestore.v1.BitSequence}
  */
-public final class BitSequence extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BitSequence extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BitSequence)
     BitSequenceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BitSequence.newBuilder() to construct.
   private BitSequence(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BitSequence() {
     bitmap_ = 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 BitSequence();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.BloomFilterProto.internal_static_google_firestore_v1_BitSequence_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.BloomFilterProto
+        .internal_static_google_firestore_v1_BitSequence_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.BloomFilterProto.internal_static_google_firestore_v1_BitSequence_fieldAccessorTable
+    return com.google.firestore.v1.BloomFilterProto
+        .internal_static_google_firestore_v1_BitSequence_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BitSequence.class, com.google.firestore.v1.BitSequence.Builder.class);
+            com.google.firestore.v1.BitSequence.class,
+            com.google.firestore.v1.BitSequence.Builder.class);
   }
 
   public static final int BITMAP_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString bitmap_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * The bytes that encode the bit sequence.
    * May have a length of zero.
    * 
* * bytes bitmap = 1; + * * @return The bitmap. */ @java.lang.Override @@ -76,6 +98,8 @@ public com.google.protobuf.ByteString getBitmap() { public static final int PADDING_FIELD_NUMBER = 2; private int padding_ = 0; /** + * + * *
    * The number of bits of the last byte in `bitmap` to ignore as "padding".
    * If the length of `bitmap` is zero, then this value must be `0`.
@@ -83,6 +107,7 @@ public com.google.protobuf.ByteString getBitmap() {
    * 
* * int32 padding = 2; + * * @return The padding. */ @java.lang.Override @@ -91,6 +116,7 @@ public int getPadding() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +128,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 (!bitmap_.isEmpty()) { output.writeBytes(1, bitmap_); } @@ -120,12 +145,10 @@ public int getSerializedSize() { size = 0; if (!bitmap_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, bitmap_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, bitmap_); } if (padding_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, padding_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, padding_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -135,17 +158,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.BitSequence)) { return super.equals(obj); } com.google.firestore.v1.BitSequence other = (com.google.firestore.v1.BitSequence) obj; - if (!getBitmap() - .equals(other.getBitmap())) return false; - if (getPadding() - != other.getPadding()) return false; + if (!getBitmap().equals(other.getBitmap())) return false; + if (getPadding() != other.getPadding()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -166,99 +187,103 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.BitSequence parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.BitSequence parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.BitSequence 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.BitSequence parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.firestore.v1.BitSequence parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.BitSequence 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.BitSequence parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.BitSequence 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.BitSequence 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.BitSequence 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.BitSequence 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.BitSequence 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.BitSequence 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.BitSequence 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.BitSequence 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 sequence of bits, encoded in a byte array.
    *
@@ -279,33 +304,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.BitSequence}
    */
-  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.BitSequence)
       com.google.firestore.v1.BitSequenceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.BloomFilterProto.internal_static_google_firestore_v1_BitSequence_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.BloomFilterProto
+          .internal_static_google_firestore_v1_BitSequence_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.BloomFilterProto.internal_static_google_firestore_v1_BitSequence_fieldAccessorTable
+      return com.google.firestore.v1.BloomFilterProto
+          .internal_static_google_firestore_v1_BitSequence_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BitSequence.class, com.google.firestore.v1.BitSequence.Builder.class);
+              com.google.firestore.v1.BitSequence.class,
+              com.google.firestore.v1.BitSequence.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BitSequence.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();
@@ -316,9 +340,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.BloomFilterProto.internal_static_google_firestore_v1_BitSequence_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.BloomFilterProto
+          .internal_static_google_firestore_v1_BitSequence_descriptor;
     }
 
     @java.lang.Override
@@ -338,7 +362,9 @@ public com.google.firestore.v1.BitSequence build() {
     @java.lang.Override
     public com.google.firestore.v1.BitSequence buildPartial() {
       com.google.firestore.v1.BitSequence result = new com.google.firestore.v1.BitSequence(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -357,38 +383,39 @@ private void buildPartial0(com.google.firestore.v1.BitSequence 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.BitSequence) {
-        return mergeFrom((com.google.firestore.v1.BitSequence)other);
+        return mergeFrom((com.google.firestore.v1.BitSequence) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -429,22 +456,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              bitmap_ = input.readBytes();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              padding_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                bitmap_ = input.readBytes();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                padding_ = 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) {
@@ -454,16 +484,20 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.ByteString bitmap_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * The bytes that encode the bit sequence.
      * May have a length of zero.
      * 
* * bytes bitmap = 1; + * * @return The bitmap. */ @java.lang.Override @@ -471,29 +505,37 @@ public com.google.protobuf.ByteString getBitmap() { return bitmap_; } /** + * + * *
      * The bytes that encode the bit sequence.
      * May have a length of zero.
      * 
* * bytes bitmap = 1; + * * @param value The bitmap to set. * @return This builder for chaining. */ public Builder setBitmap(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } bitmap_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The bytes that encode the bit sequence.
      * May have a length of zero.
      * 
* * bytes bitmap = 1; + * * @return This builder for chaining. */ public Builder clearBitmap() { @@ -503,8 +545,10 @@ public Builder clearBitmap() { return this; } - private int padding_ ; + private int padding_; /** + * + * *
      * The number of bits of the last byte in `bitmap` to ignore as "padding".
      * If the length of `bitmap` is zero, then this value must be `0`.
@@ -512,6 +556,7 @@ public Builder clearBitmap() {
      * 
* * int32 padding = 2; + * * @return The padding. */ @java.lang.Override @@ -519,6 +564,8 @@ public int getPadding() { return padding_; } /** + * + * *
      * The number of bits of the last byte in `bitmap` to ignore as "padding".
      * If the length of `bitmap` is zero, then this value must be `0`.
@@ -526,6 +573,7 @@ public int getPadding() {
      * 
* * int32 padding = 2; + * * @param value The padding to set. * @return This builder for chaining. */ @@ -537,6 +585,8 @@ public Builder setPadding(int value) { return this; } /** + * + * *
      * The number of bits of the last byte in `bitmap` to ignore as "padding".
      * If the length of `bitmap` is zero, then this value must be `0`.
@@ -544,6 +594,7 @@ public Builder setPadding(int value) {
      * 
* * int32 padding = 2; + * * @return This builder for chaining. */ public Builder clearPadding() { @@ -552,9 +603,9 @@ public Builder clearPadding() { 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); } @@ -564,12 +615,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.BitSequence) } // @@protoc_insertion_point(class_scope:google.firestore.v1.BitSequence) private static final com.google.firestore.v1.BitSequence DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.BitSequence(); } @@ -578,27 +629,27 @@ public static com.google.firestore.v1.BitSequence getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BitSequence parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 BitSequence parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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,6 +664,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.BitSequence getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequenceOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequenceOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequenceOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequenceOrBuilder.java index 69e6743ec3..09167ca65e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequenceOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequenceOrBuilder.java @@ -1,24 +1,45 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/bloom_filter.proto package com.google.firestore.v1; -public interface BitSequenceOrBuilder extends +public interface BitSequenceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.BitSequence) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The bytes that encode the bit sequence.
    * May have a length of zero.
    * 
* * bytes bitmap = 1; + * * @return The bitmap. */ com.google.protobuf.ByteString getBitmap(); /** + * + * *
    * The number of bits of the last byte in `bitmap` to ignore as "padding".
    * If the length of `bitmap` is zero, then this value must be `0`.
@@ -26,6 +47,7 @@ public interface BitSequenceOrBuilder extends
    * 
* * int32 padding = 2; + * * @return The padding. */ int getPadding(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilter.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilter.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilter.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilter.java index bb56c7c364..a9ab4c8666 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilter.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilter.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/bloom_filter.proto package com.google.firestore.v1; /** + * + * *
  * A bloom filter (https://en.wikipedia.org/wiki/Bloom_filter).
  *
@@ -22,46 +39,50 @@
  *
  * Protobuf type {@code google.firestore.v1.BloomFilter}
  */
-public final class BloomFilter extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BloomFilter extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BloomFilter)
     BloomFilterOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BloomFilter.newBuilder() to construct.
   private BloomFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private BloomFilter() {
-  }
+
+  private BloomFilter() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BloomFilter();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.BloomFilterProto.internal_static_google_firestore_v1_BloomFilter_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.BloomFilterProto
+        .internal_static_google_firestore_v1_BloomFilter_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.BloomFilterProto.internal_static_google_firestore_v1_BloomFilter_fieldAccessorTable
+    return com.google.firestore.v1.BloomFilterProto
+        .internal_static_google_firestore_v1_BloomFilter_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BloomFilter.class, com.google.firestore.v1.BloomFilter.Builder.class);
+            com.google.firestore.v1.BloomFilter.class,
+            com.google.firestore.v1.BloomFilter.Builder.class);
   }
 
   public static final int BITS_FIELD_NUMBER = 1;
   private com.google.firestore.v1.BitSequence bits_;
   /**
+   *
+   *
    * 
    * The bloom filter data.
    * 
* * .google.firestore.v1.BitSequence bits = 1; + * * @return Whether the bits field is set. */ @java.lang.Override @@ -69,11 +90,14 @@ public boolean hasBits() { return bits_ != null; } /** + * + * *
    * The bloom filter data.
    * 
* * .google.firestore.v1.BitSequence bits = 1; + * * @return The bits. */ @java.lang.Override @@ -81,6 +105,8 @@ public com.google.firestore.v1.BitSequence getBits() { return bits_ == null ? com.google.firestore.v1.BitSequence.getDefaultInstance() : bits_; } /** + * + * *
    * The bloom filter data.
    * 
@@ -95,11 +121,14 @@ public com.google.firestore.v1.BitSequenceOrBuilder getBitsOrBuilder() { public static final int HASH_COUNT_FIELD_NUMBER = 2; private int hashCount_ = 0; /** + * + * *
    * The number of hashes used by the algorithm.
    * 
* * int32 hash_count = 2; + * * @return The hashCount. */ @java.lang.Override @@ -108,6 +137,7 @@ public int getHashCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,8 +149,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 (bits_ != null) { output.writeMessage(1, getBits()); } @@ -137,12 +166,10 @@ public int getSerializedSize() { size = 0; if (bits_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBits()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBits()); } if (hashCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, hashCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, hashCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -152,7 +179,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.BloomFilter)) { return super.equals(obj); @@ -161,11 +188,9 @@ public boolean equals(final java.lang.Object obj) { if (hasBits() != other.hasBits()) return false; if (hasBits()) { - if (!getBits() - .equals(other.getBits())) return false; + if (!getBits().equals(other.getBits())) return false; } - if (getHashCount() - != other.getHashCount()) return false; + if (getHashCount() != other.getHashCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,99 +213,103 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.BloomFilter parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.BloomFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.BloomFilter 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.BloomFilter parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.firestore.v1.BloomFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.BloomFilter 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.BloomFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.BloomFilter 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.BloomFilter 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.BloomFilter 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.BloomFilter 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.BloomFilter 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.BloomFilter 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.BloomFilter 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.BloomFilter 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 bloom filter (https://en.wikipedia.org/wiki/Bloom_filter).
    *
@@ -299,33 +328,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.BloomFilter}
    */
-  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.BloomFilter)
       com.google.firestore.v1.BloomFilterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.BloomFilterProto.internal_static_google_firestore_v1_BloomFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.BloomFilterProto
+          .internal_static_google_firestore_v1_BloomFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.BloomFilterProto.internal_static_google_firestore_v1_BloomFilter_fieldAccessorTable
+      return com.google.firestore.v1.BloomFilterProto
+          .internal_static_google_firestore_v1_BloomFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BloomFilter.class, com.google.firestore.v1.BloomFilter.Builder.class);
+              com.google.firestore.v1.BloomFilter.class,
+              com.google.firestore.v1.BloomFilter.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BloomFilter.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();
@@ -340,9 +368,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.BloomFilterProto.internal_static_google_firestore_v1_BloomFilter_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.BloomFilterProto
+          .internal_static_google_firestore_v1_BloomFilter_descriptor;
     }
 
     @java.lang.Override
@@ -362,7 +390,9 @@ public com.google.firestore.v1.BloomFilter build() {
     @java.lang.Override
     public com.google.firestore.v1.BloomFilter buildPartial() {
       com.google.firestore.v1.BloomFilter result = new com.google.firestore.v1.BloomFilter(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -370,9 +400,7 @@ public com.google.firestore.v1.BloomFilter buildPartial() {
     private void buildPartial0(com.google.firestore.v1.BloomFilter result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.bits_ = bitsBuilder_ == null
-            ? bits_
-            : bitsBuilder_.build();
+        result.bits_ = bitsBuilder_ == null ? bits_ : bitsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.hashCount_ = hashCount_;
@@ -383,38 +411,39 @@ private void buildPartial0(com.google.firestore.v1.BloomFilter 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.BloomFilter) {
-        return mergeFrom((com.google.firestore.v1.BloomFilter)other);
+        return mergeFrom((com.google.firestore.v1.BloomFilter) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -455,24 +484,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getBitsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              hashCount_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getBitsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                hashCount_ = 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) {
@@ -482,28 +512,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.firestore.v1.BitSequence bits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.BitSequence, com.google.firestore.v1.BitSequence.Builder, com.google.firestore.v1.BitSequenceOrBuilder> bitsBuilder_;
+            com.google.firestore.v1.BitSequence,
+            com.google.firestore.v1.BitSequence.Builder,
+            com.google.firestore.v1.BitSequenceOrBuilder>
+        bitsBuilder_;
     /**
+     *
+     *
      * 
      * The bloom filter data.
      * 
* * .google.firestore.v1.BitSequence bits = 1; + * * @return Whether the bits field is set. */ public boolean hasBits() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The bloom filter data.
      * 
* * .google.firestore.v1.BitSequence bits = 1; + * * @return The bits. */ public com.google.firestore.v1.BitSequence getBits() { @@ -514,6 +554,8 @@ public com.google.firestore.v1.BitSequence getBits() { } } /** + * + * *
      * The bloom filter data.
      * 
@@ -534,14 +576,15 @@ public Builder setBits(com.google.firestore.v1.BitSequence value) { return this; } /** + * + * *
      * The bloom filter data.
      * 
* * .google.firestore.v1.BitSequence bits = 1; */ - public Builder setBits( - com.google.firestore.v1.BitSequence.Builder builderForValue) { + public Builder setBits(com.google.firestore.v1.BitSequence.Builder builderForValue) { if (bitsBuilder_ == null) { bits_ = builderForValue.build(); } else { @@ -552,6 +595,8 @@ public Builder setBits( return this; } /** + * + * *
      * The bloom filter data.
      * 
@@ -560,9 +605,9 @@ public Builder setBits( */ public Builder mergeBits(com.google.firestore.v1.BitSequence value) { if (bitsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - bits_ != null && - bits_ != com.google.firestore.v1.BitSequence.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && bits_ != null + && bits_ != com.google.firestore.v1.BitSequence.getDefaultInstance()) { getBitsBuilder().mergeFrom(value); } else { bits_ = value; @@ -575,6 +620,8 @@ public Builder mergeBits(com.google.firestore.v1.BitSequence value) { return this; } /** + * + * *
      * The bloom filter data.
      * 
@@ -592,6 +639,8 @@ public Builder clearBits() { return this; } /** + * + * *
      * The bloom filter data.
      * 
@@ -604,6 +653,8 @@ public com.google.firestore.v1.BitSequence.Builder getBitsBuilder() { return getBitsFieldBuilder().getBuilder(); } /** + * + * *
      * The bloom filter data.
      * 
@@ -614,11 +665,12 @@ public com.google.firestore.v1.BitSequenceOrBuilder getBitsOrBuilder() { if (bitsBuilder_ != null) { return bitsBuilder_.getMessageOrBuilder(); } else { - return bits_ == null ? - com.google.firestore.v1.BitSequence.getDefaultInstance() : bits_; + return bits_ == null ? com.google.firestore.v1.BitSequence.getDefaultInstance() : bits_; } } /** + * + * *
      * The bloom filter data.
      * 
@@ -626,26 +678,32 @@ public com.google.firestore.v1.BitSequenceOrBuilder getBitsOrBuilder() { * .google.firestore.v1.BitSequence bits = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.BitSequence, com.google.firestore.v1.BitSequence.Builder, com.google.firestore.v1.BitSequenceOrBuilder> + com.google.firestore.v1.BitSequence, + com.google.firestore.v1.BitSequence.Builder, + com.google.firestore.v1.BitSequenceOrBuilder> getBitsFieldBuilder() { if (bitsBuilder_ == null) { - bitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.BitSequence, com.google.firestore.v1.BitSequence.Builder, com.google.firestore.v1.BitSequenceOrBuilder>( - getBits(), - getParentForChildren(), - isClean()); + bitsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.BitSequence, + com.google.firestore.v1.BitSequence.Builder, + com.google.firestore.v1.BitSequenceOrBuilder>( + getBits(), getParentForChildren(), isClean()); bits_ = null; } return bitsBuilder_; } - private int hashCount_ ; + private int hashCount_; /** + * + * *
      * The number of hashes used by the algorithm.
      * 
* * int32 hash_count = 2; + * * @return The hashCount. */ @java.lang.Override @@ -653,11 +711,14 @@ public int getHashCount() { return hashCount_; } /** + * + * *
      * The number of hashes used by the algorithm.
      * 
* * int32 hash_count = 2; + * * @param value The hashCount to set. * @return This builder for chaining. */ @@ -669,11 +730,14 @@ public Builder setHashCount(int value) { return this; } /** + * + * *
      * The number of hashes used by the algorithm.
      * 
* * int32 hash_count = 2; + * * @return This builder for chaining. */ public Builder clearHashCount() { @@ -682,9 +746,9 @@ public Builder clearHashCount() { 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); } @@ -694,12 +758,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.BloomFilter) } // @@protoc_insertion_point(class_scope:google.firestore.v1.BloomFilter) private static final com.google.firestore.v1.BloomFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.BloomFilter(); } @@ -708,27 +772,27 @@ public static com.google.firestore.v1.BloomFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BloomFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 BloomFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + 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; @@ -743,6 +807,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.BloomFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterOrBuilder.java index 25f1eef838..34c3847b62 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterOrBuilder.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/bloom_filter.proto package com.google.firestore.v1; -public interface BloomFilterOrBuilder extends +public interface BloomFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.BloomFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The bloom filter data.
    * 
* * .google.firestore.v1.BitSequence bits = 1; + * * @return Whether the bits field is set. */ boolean hasBits(); /** + * + * *
    * The bloom filter data.
    * 
* * .google.firestore.v1.BitSequence bits = 1; + * * @return The bits. */ com.google.firestore.v1.BitSequence getBits(); /** + * + * *
    * The bloom filter data.
    * 
@@ -35,11 +59,14 @@ public interface BloomFilterOrBuilder extends com.google.firestore.v1.BitSequenceOrBuilder getBitsOrBuilder(); /** + * + * *
    * The number of hashes used by the algorithm.
    * 
* * int32 hash_count = 2; + * * @return The hashCount. */ int getHashCount(); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterProto.java new file mode 100644 index 0000000000..19f2f90ad9 --- /dev/null +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterProto.java @@ -0,0 +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/bloom_filter.proto + +package com.google.firestore.v1; + +public final class BloomFilterProto { + private BloomFilterProto() {} + + 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_BitSequence_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BitSequence_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BloomFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BloomFilter_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/bloom_filter.proto" + + "\022\023google.firestore.v1\".\n\013BitSequence\022\016\n\006" + + "bitmap\030\001 \001(\014\022\017\n\007padding\030\002 \001(\005\"Q\n\013BloomFi" + + "lter\022.\n\004bits\030\001 \001(\0132 .google.firestore.v1" + + ".BitSequence\022\022\n\nhash_count\030\002 \001(\005B\310\001\n\027com" + + ".google.firestore.v1B\020BloomFilterProtoP\001" + + "Z;cloud.google.com/go/firestore/apiv1/fi" + + "restorepb;firestorepb\242\002\004GCFS\252\002\031Google.Cl" + + "oud.Firestore.V1\312\002\031Google\\Cloud\\Firestor" + + "e\\V1\352\002\034Google::Cloud::Firestore::V1b\006pro" + + "to3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_firestore_v1_BitSequence_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_v1_BitSequence_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_v1_BitSequence_descriptor, + new java.lang.String[] { + "Bitmap", "Padding", + }); + internal_static_google_firestore_v1_BloomFilter_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_firestore_v1_BloomFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_v1_BloomFilter_descriptor, + new java.lang.String[] { + "Bits", "HashCount", + }); + } + + // @@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/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 ad4679f19b..b67a523fe4 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,34 +45,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(); } - 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 @@ -63,30 +86,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 { @@ -95,9 +118,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.
    *
@@ -111,6 +137,8 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -120,11 +148,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.
    *
@@ -138,6 +167,8 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -151,6 +182,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -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,132 +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(); @@ -411,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 @@ -432,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; } @@ -465,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; @@ -528,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_); } @@ -565,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) { @@ -603,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; @@ -628,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 { @@ -650,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() { @@ -683,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; @@ -703,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.
      *
@@ -731,6 +792,8 @@ public java.util.List getWritesList() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -747,6 +810,8 @@ public int getWritesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -763,6 +828,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -771,8 +838,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();
@@ -786,6 +852,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -794,8 +862,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());
@@ -806,6 +873,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -828,6 +897,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -836,8 +907,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();
@@ -851,6 +921,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -859,8 +931,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());
@@ -871,6 +942,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -879,8 +952,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());
@@ -891,6 +963,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -903,8 +977,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);
@@ -912,6 +985,8 @@ public Builder addAllWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -931,6 +1006,8 @@ public Builder clearWrites() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -950,6 +1027,8 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -958,11 +1037,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.
      *
@@ -971,14 +1051,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.
      *
@@ -987,8 +1069,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 {
@@ -996,6 +1078,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1005,10 +1089,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.
      *
@@ -1017,12 +1102,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.
      *
@@ -1031,20 +1117,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_;
@@ -1052,11 +1140,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 @@ -1064,27 +1155,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() { @@ -1093,9 +1192,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); } @@ -1105,12 +1204,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(); } @@ -1119,27 +1218,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; @@ -1154,6 +1253,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 cd3f9cfb2b..0f8f29b0c4 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.
    *
@@ -38,9 +61,10 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List 
-      getWritesList();
+  java.util.List getWritesList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -51,6 +75,8 @@ public interface CommitRequestOrBuilder extends
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -61,6 +87,8 @@ public interface CommitRequestOrBuilder extends
    */
   int getWritesCount();
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -69,9 +97,10 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List 
-      getWritesOrBuilderList();
+  java.util.List getWritesOrBuilderList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -80,15 +109,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 b70cf74f9a..8f44ac35bc 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,52 +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; /** + * + * *
  * 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(); } - 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.
    *
@@ -61,6 +83,8 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -71,11 +95,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.
    *
@@ -90,6 +116,8 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -104,6 +132,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -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,132 +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(); @@ -389,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 @@ -410,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; } @@ -432,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(); } } @@ -442,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; @@ -500,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_); } @@ -537,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) { @@ -572,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.
      *
@@ -604,6 +651,8 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -621,6 +670,8 @@ public int getWriteResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -638,6 +689,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -647,8 +700,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();
@@ -662,6 +714,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -683,6 +737,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -706,6 +762,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -715,8 +773,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();
@@ -730,6 +787,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -739,8 +798,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());
@@ -751,6 +809,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -772,6 +832,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -785,8 +847,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);
@@ -794,6 +855,8 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -814,6 +877,8 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -834,6 +899,8 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -843,11 +910,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.
      *
@@ -857,14 +925,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.
      *
@@ -874,8 +944,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 {
@@ -883,6 +953,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -893,10 +965,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.
      *
@@ -906,12 +980,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.
      *
@@ -921,20 +996,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_;
@@ -942,36 +1020,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.
@@ -993,6 +1084,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.
@@ -1000,8 +1093,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 {
@@ -1012,6 +1104,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.
@@ -1021,9 +1115,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;
@@ -1036,6 +1130,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.
@@ -1054,6 +1150,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.
@@ -1067,6 +1165,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.
@@ -1078,11 +1178,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.
@@ -1091,21 +1194,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);
     }
 
@@ -1115,12 +1221,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();
   }
@@ -1129,27 +1235,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;
@@ -1164,6 +1270,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 c1995d696f..da56fa8d2a 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.
    *
@@ -17,9 +35,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.
    *
@@ -31,6 +50,8 @@ public interface CommitResponseOrBuilder extends
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -42,6 +63,8 @@ public interface CommitResponseOrBuilder extends
    */
   int getWriteResultsCount();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -51,9 +74,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.
    *
@@ -63,30 +88,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 0000000000..91c88f112b
--- /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 73%
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 4ee29b90b1..57e369a563 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,28 +46,32 @@ private CreateDocumentRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateDocumentRequest();
   }
 
-  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
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -65,14 +88,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
@@ -80,16 +104,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 { @@ -98,15 +121,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 @@ -115,30 +142,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 { @@ -147,9 +174,12 @@ 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.
    *
@@ -157,6 +187,7 @@ public java.lang.String getCollectionId() {
    * 
* * string document_id = 3; + * * @return The documentId. */ @java.lang.Override @@ -165,14 +196,15 @@ 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.
    *
@@ -180,16 +212,15 @@ public java.lang.String getDocumentId() {
    * 
* * 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 { @@ -200,11 +231,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 @@ -212,11 +247,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 @@ -224,11 +263,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() { @@ -238,6 +280,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.
    *
@@ -246,6 +290,7 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
    * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return Whether the mask field is set. */ @java.lang.Override @@ -253,6 +298,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    *
@@ -261,6 +308,7 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return The mask. */ @java.lang.Override @@ -268,6 +316,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.
    *
@@ -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,99 +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].
@@ -498,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();
@@ -546,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
@@ -567,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;
     }
@@ -585,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();
       }
     }
 
@@ -600,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;
@@ -687,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) {
@@ -731,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
@@ -742,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; @@ -757,6 +810,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -764,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 { @@ -780,6 +834,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -787,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
@@ -806,6 +866,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -815,6 +876,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -822,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; @@ -837,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; @@ -858,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 { @@ -880,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() { @@ -913,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; @@ -934,6 +1013,8 @@ public Builder setCollectionIdBytes( private java.lang.Object documentId_ = ""; /** + * + * *
      * The client-assigned document ID to use for this document.
      *
@@ -941,13 +1022,13 @@ public Builder setCollectionIdBytes(
      * 
* * 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; @@ -956,6 +1037,8 @@ public java.lang.String getDocumentId() { } } /** + * + * *
      * The client-assigned document ID to use for this document.
      *
@@ -963,15 +1046,14 @@ public java.lang.String getDocumentId() {
      * 
* * 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 { @@ -979,6 +1061,8 @@ public java.lang.String getDocumentId() { } } /** + * + * *
      * The client-assigned document ID to use for this document.
      *
@@ -986,18 +1070,22 @@ public java.lang.String getDocumentId() {
      * 
* * 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.
      *
@@ -1005,6 +1093,7 @@ public Builder setDocumentId(
      * 
* * string document_id = 3; + * * @return This builder for chaining. */ public Builder clearDocumentId() { @@ -1014,6 +1103,8 @@ public Builder clearDocumentId() { return this; } /** + * + * *
      * The client-assigned document ID to use for this document.
      *
@@ -1021,12 +1112,14 @@ public Builder clearDocumentId() {
      * 
* * 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; @@ -1036,39 +1129,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) { @@ -1084,14 +1193,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 { @@ -1102,17 +1213,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; @@ -1125,11 +1239,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); @@ -1142,11 +1259,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; @@ -1154,36 +1274,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_; @@ -1191,8 +1321,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.
      *
@@ -1201,12 +1336,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.
      *
@@ -1215,6 +1353,7 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1225,6 +1364,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * The fields to return. If not set, returns all fields.
      *
@@ -1248,6 +1389,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1257,8 +1400,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 {
@@ -1269,6 +1411,8 @@ public Builder setMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1280,9 +1424,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;
@@ -1295,6 +1439,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1315,6 +1461,8 @@ public Builder clearMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1330,6 +1478,8 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
       return getMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1343,11 +1493,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.
      *
@@ -1358,21 +1509,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);
     }
 
@@ -1382,12 +1536,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();
   }
@@ -1396,27 +1550,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;
@@ -1431,6 +1585,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 84e360150b..5961836edb 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,34 +47,41 @@ 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.
    *
@@ -61,10 +89,13 @@ public interface CreateDocumentRequestOrBuilder extends
    * 
* * string document_id = 3; + * * @return The documentId. */ java.lang.String getDocumentId(); /** + * + * *
    * The client-assigned document ID to use for this document.
    *
@@ -72,39 +103,52 @@ public interface CreateDocumentRequestOrBuilder extends
    * 
* * 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.
    *
@@ -113,10 +157,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.
    *
@@ -125,10 +172,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.
    *
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 858d9f016f..0e7c3e39f3 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,52 +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/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(); } - 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.
@@ -61,6 +81,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.
@@ -71,11 +93,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.
@@ -90,6 +113,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.
@@ -104,6 +129,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,139 +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(); @@ -356,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 @@ -379,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; } @@ -407,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; @@ -465,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_); } @@ -502,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) { @@ -535,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.
@@ -567,6 +605,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.
@@ -584,6 +624,8 @@ public int getValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -601,6 +643,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.
@@ -610,8 +654,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();
@@ -625,6 +668,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.
@@ -634,8 +679,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());
@@ -646,6 +690,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.
@@ -669,6 +715,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.
@@ -678,8 +726,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();
@@ -693,6 +740,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.
@@ -702,8 +751,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());
@@ -714,6 +762,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.
@@ -723,8 +773,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());
@@ -735,6 +784,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.
@@ -748,8 +799,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);
@@ -757,6 +807,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.
@@ -777,6 +829,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.
@@ -797,6 +851,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.
@@ -806,11 +862,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.
@@ -820,14 +877,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.
@@ -837,8 +896,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 {
@@ -846,6 +905,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.
@@ -856,10 +917,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.
@@ -869,12 +931,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.
@@ -884,33 +947,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 @@ -918,12 +986,15 @@ 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. */ @@ -935,12 +1006,15 @@ public Builder setBefore(boolean value) { 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() { @@ -949,9 +1023,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); } @@ -961,12 +1035,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(); } @@ -975,27 +1049,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; @@ -1010,6 +1084,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 e94b368778..32243e41ae 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.
@@ -17,9 +35,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.
@@ -31,6 +50,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.
@@ -42,6 +63,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.
@@ -51,9 +74,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.
@@ -63,16 +87,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 50acde28eb..b116e39348 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,49 +28,55 @@
  *
  * 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();
   }
 
-  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 @@ -62,30 +85,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 { @@ -96,12 +119,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 @@ -109,19 +135,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.
@@ -131,10 +164,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;
@@ -146,8 +182,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_);
     }
@@ -167,8 +202,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;
@@ -178,19 +212,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;
@@ -214,99 +247,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].
@@ -314,33 +352,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();
@@ -355,9 +392,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
@@ -376,8 +413,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;
     }
@@ -388,9 +428,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();
       }
     }
 
@@ -398,38 +437,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;
@@ -472,24 +512,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) {
@@ -499,23 +540,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; @@ -524,21 +568,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 { @@ -546,30 +591,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() { @@ -579,18 +631,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; @@ -600,36 +656,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.
@@ -651,6 +720,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.
@@ -670,6 +741,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.
@@ -679,9 +752,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;
@@ -694,6 +767,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.
@@ -712,6 +787,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.
@@ -725,6 +802,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.
@@ -736,11 +815,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.
@@ -749,21 +831,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);
     }
 
@@ -773,12 +858,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();
   }
@@ -787,27 +872,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;
@@ -822,6 +907,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 65416d9c80..ff6e2f1218 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 076417a977..14d45f7350 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.
  *
@@ -12,61 +29,65 @@
  *
  * 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();
   }
 
-  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 @@ -75,30 +96,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 { @@ -107,32 +128,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.
    *
@@ -163,20 +189,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.
    *
@@ -211,6 +238,8 @@ public java.util.Map getFieldsM
     return internalGetFields().getMap();
   }
   /**
+   *
+   *
    * 
    * The document's fields.
    *
@@ -241,17 +270,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.
    *
@@ -282,9 +314,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)) {
@@ -296,6 +329,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.
    *
@@ -305,6 +340,7 @@ public com.google.firestore.v1.Value getFieldsOrThrow(
    * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -312,6 +348,8 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which the document was created.
    *
@@ -321,6 +359,7 @@ public boolean hasCreateTime() {
    * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return The createTime. */ @java.lang.Override @@ -328,6 +367,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.
    *
@@ -346,6 +387,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.
    *
@@ -355,6 +398,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -362,6 +406,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time at which the document was last changed.
    *
@@ -371,6 +417,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ @java.lang.Override @@ -378,6 +425,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.
    *
@@ -394,6 +443,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -405,17 +455,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());
     }
@@ -434,23 +479,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;
@@ -460,26 +503,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;
@@ -511,99 +550,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.
    *
@@ -612,55 +655,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();
@@ -681,9 +721,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
@@ -703,7 +743,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;
     }
@@ -718,14 +760,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();
       }
     }
 
@@ -733,38 +771,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;
@@ -778,8 +817,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());
@@ -813,40 +851,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) {
@@ -856,23 +898,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; @@ -881,21 +926,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 { @@ -903,30 +949,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() { @@ -936,18 +989,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; @@ -955,21 +1012,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(); @@ -978,10 +1034,13 @@ public Builder setNameBytes( onChanged(); return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
      * The document's fields.
      *
@@ -1012,20 +1071,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.
      *
@@ -1060,6 +1120,8 @@ public java.util.Map getFieldsM
       return internalGetFields().getMap();
     }
     /**
+     *
+     *
      * 
      * The document's fields.
      *
@@ -1090,17 +1152,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.
      *
@@ -1131,9 +1196,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)) {
@@ -1141,13 +1207,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.
      *
@@ -1177,23 +1245,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.
      *
@@ -1223,17 +1290,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.
      *
@@ -1265,16 +1335,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.
      *
@@ -1284,12 +1358,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.
      *
@@ -1299,16 +1376,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.
      *
@@ -1333,6 +1415,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      *
@@ -1343,8 +1427,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 {
@@ -1355,6 +1438,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      *
@@ -1367,9 +1452,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;
@@ -1382,6 +1467,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      *
@@ -1403,6 +1490,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      *
@@ -1419,6 +1508,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      *
@@ -1433,11 +1524,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.
      *
@@ -1449,14 +1543,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_;
@@ -1464,8 +1561,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.
      *
@@ -1475,12 +1577,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.
      *
@@ -1490,16 +1595,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.
      *
@@ -1524,6 +1634,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      *
@@ -1534,8 +1646,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 {
@@ -1546,6 +1657,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      *
@@ -1558,9 +1671,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;
@@ -1573,6 +1686,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      *
@@ -1594,6 +1709,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      *
@@ -1610,6 +1727,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      *
@@ -1624,11 +1743,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.
      *
@@ -1640,21 +1762,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);
     }
 
@@ -1664,12 +1789,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();
   }
@@ -1678,27 +1803,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;
@@ -1713,6 +1838,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 72%
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 3aecbd919b..0bbbfe4bf6 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.
  *
@@ -17,15 +34,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();
@@ -33,27 +51,30 @@ private DocumentChange() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DocumentChange();
   }
 
-  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].
    *
@@ -61,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.firestore.v1.Document document = 1; + * * @return Whether the document field is set. */ @java.lang.Override @@ -68,6 +90,8 @@ public boolean hasDocument() { return document_ != null; } /** + * + * *
    * The new state of the [Document][google.firestore.v1.Document].
    *
@@ -75,6 +99,7 @@ public boolean hasDocument() {
    * 
* * .google.firestore.v1.Document document = 1; + * * @return The document. */ @java.lang.Override @@ -82,6 +107,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].
    *
@@ -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,99 +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.
    *
@@ -408,33 +455,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();
@@ -450,9 +496,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
@@ -471,9 +517,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;
     }
@@ -494,9 +543,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();
       }
     }
 
@@ -504,38 +551,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;
@@ -593,51 +641,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) {
@@ -647,12 +699,18 @@ 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].
      *
@@ -660,12 +718,15 @@ public Builder mergeFrom(
      * 
* * .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].
      *
@@ -673,16 +734,21 @@ public boolean hasDocument() {
      * 
* * .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].
      *
@@ -705,6 +771,8 @@ public Builder setDocument(com.google.firestore.v1.Document value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      *
@@ -713,8 +781,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 {
@@ -725,6 +792,8 @@ public Builder setDocument(
       return this;
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      *
@@ -735,9 +804,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;
@@ -750,6 +819,8 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      *
@@ -769,6 +840,8 @@ public Builder clearDocument() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      *
@@ -783,6 +856,8 @@ public com.google.firestore.v1.Document.Builder getDocumentBuilder() {
       return getDocumentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      *
@@ -795,11 +870,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].
      *
@@ -809,20 +887,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_);
@@ -830,35 +912,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. */ @@ -866,17 +957,19 @@ 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); @@ -884,11 +977,14 @@ public Builder setTargetIds( 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. */ @@ -900,28 +996,32 @@ public Builder addTargetIds(int value) { 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() { @@ -932,6 +1032,7 @@ public Builder clearTargetIds() { } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); + private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); @@ -939,35 +1040,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. */ @@ -975,17 +1085,19 @@ 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); @@ -993,11 +1105,14 @@ public Builder setRemovedTargetIds( 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. */ @@ -1009,28 +1124,32 @@ public Builder addRemovedTargetIds(int value) { 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() { @@ -1039,9 +1158,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); } @@ -1051,12 +1170,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(); } @@ -1065,27 +1184,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; @@ -1100,6 +1219,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 0f1fd29a29..b50bb96e59 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,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 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].
    *
@@ -15,10 +33,13 @@ public interface DocumentChangeOrBuilder extends
    * 
* * .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].
    *
@@ -26,10 +47,13 @@ public interface DocumentChangeOrBuilder extends
    * 
* * .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].
    *
@@ -41,58 +65,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 0c41142707..cdde48004c 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.
  *
@@ -17,15 +34,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();
@@ -33,34 +51,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();
   }
 
-  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 @@ -69,30 +92,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 { @@ -101,49 +124,61 @@ 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.
    *
@@ -151,6 +186,7 @@ public int getRemovedTargetIds(int index) {
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -158,6 +194,8 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The read timestamp at which the delete was observed.
    *
@@ -165,6 +203,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ @java.lang.Override @@ -172,6 +211,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.
    *
@@ -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,99 +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.
    *
@@ -399,33 +441,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();
@@ -441,9 +482,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
@@ -462,9 +503,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;
     }
@@ -483,9 +527,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();
       }
     }
 
@@ -493,38 +535,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;
@@ -577,40 +620,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) {
@@ -620,23 +666,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; @@ -645,21 +694,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 { @@ -667,30 +717,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() { @@ -700,18 +757,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; @@ -720,6 +781,7 @@ public Builder setDocumentBytes( } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); + private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); @@ -727,35 +789,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. */ @@ -763,17 +834,19 @@ 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); @@ -781,11 +854,14 @@ public Builder setRemovedTargetIds( 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. */ @@ -797,28 +873,32 @@ public Builder addRemovedTargetIds(int value) { 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() { @@ -830,8 +910,13 @@ 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.
      *
@@ -839,12 +924,15 @@ public Builder clearRemovedTargetIds() {
      * 
* * .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.
      *
@@ -852,6 +940,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -862,6 +951,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The read timestamp at which the delete was observed.
      *
@@ -884,6 +975,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      *
@@ -892,8 +985,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 {
@@ -904,6 +996,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      *
@@ -914,9 +1008,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;
@@ -929,6 +1023,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      *
@@ -948,6 +1044,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      *
@@ -962,6 +1060,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      *
@@ -974,11 +1074,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.
      *
@@ -988,21 +1089,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);
     }
 
@@ -1012,12 +1116,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();
   }
@@ -1026,27 +1130,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;
@@ -1061,6 +1165,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 5953c5ce77..7080a27025 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,64 +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/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.
    *
@@ -66,10 +98,13 @@ public interface DocumentDeleteOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The read timestamp at which the delete was observed.
    *
@@ -77,10 +112,13 @@ public interface DocumentDeleteOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The read timestamp at which the delete was observed.
    *
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 69%
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 c3f7c555da..019847458b 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,45 +32,49 @@
  *
  * 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.emptyList();
+    fieldPaths_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DocumentMask();
   }
 
-  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.LazyStringArrayList fieldPaths_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -61,13 +82,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
@@ -75,12 +98,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
@@ -88,6 +114,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. */ @@ -95,6 +122,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
@@ -102,15 +131,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; @@ -122,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 { for (int i = 0; i < fieldPaths_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPaths_.getRaw(i)); } @@ -152,15 +181,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; } @@ -181,99 +209,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
@@ -285,46 +317,44 @@ 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();
       bitField0_ = 0;
-      fieldPaths_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      fieldPaths_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @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
@@ -344,7 +374,9 @@ public com.google.firestore.v1.DocumentMask build() {
     @java.lang.Override
     public com.google.firestore.v1.DocumentMask buildPartial() {
       com.google.firestore.v1.DocumentMask result = new com.google.firestore.v1.DocumentMask(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -361,38 +393,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;
@@ -437,18 +470,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) {
@@ -458,10 +493,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList fieldPaths_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureFieldPathsIsMutable() {
       if (!fieldPaths_.isModifiable()) {
         fieldPaths_ = new com.google.protobuf.LazyStringArrayList(fieldPaths_);
@@ -469,6 +506,8 @@ private void ensureFieldPathsIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
+     *
+     *
      * 
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -476,14 +515,16 @@ 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() { fieldPaths_.makeImmutable(); return fieldPaths_; } /** + * + * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -491,12 +532,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
@@ -504,6 +548,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. */ @@ -511,6 +556,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
@@ -518,14 +565,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
@@ -533,13 +582,15 @@ 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); bitField0_ |= 0x00000001; @@ -547,6 +598,8 @@ public Builder setFieldPaths( return this; } /** + * + * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -554,12 +607,14 @@ 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); bitField0_ |= 0x00000001; @@ -567,6 +622,8 @@ public Builder addFieldPaths( return this; } /** + * + * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -574,19 +631,20 @@ 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_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -594,16 +652,19 @@ public Builder addAllFieldPaths(
      * 
* * repeated string field_paths = 1; + * * @return This builder for chaining. */ public Builder clearFieldPaths() { - fieldPaths_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + fieldPaths_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -611,12 +672,14 @@ 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); @@ -624,9 +687,9 @@ public Builder addFieldPathsBytes( 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); } @@ -636,12 +699,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(); } @@ -650,27 +713,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; @@ -685,6 +748,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 95dc7d6552..7477603944 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 dbcecad774..6262e27378 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.
    *
@@ -61,6 +84,8 @@ public interface DocumentOrBuilder extends
    */
   int getFieldsCount();
   /**
+   *
+   *
    * 
    * The document's fields.
    *
@@ -90,15 +115,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.
    *
@@ -128,9 +151,10 @@ boolean containsFields(
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-  java.util.Map
-  getFieldsMap();
+  java.util.Map getFieldsMap();
   /**
+   *
+   *
    * 
    * The document's fields.
    *
@@ -161,11 +185,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.
    *
@@ -195,10 +221,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.
    *
@@ -208,10 +235,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.
    *
@@ -221,10 +251,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.
    *
@@ -238,6 +271,8 @@ com.google.firestore.v1.Value getFieldsOrThrow(
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time at which the document was last changed.
    *
@@ -247,10 +282,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.
    *
@@ -260,10 +298,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.
    *
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 0000000000..a5fbc45495
--- /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 5ffe8d536c..9e327a6232 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.
@@ -19,15 +36,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();
@@ -35,34 +53,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();
   }
 
-  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 @@ -71,30 +94,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 { @@ -103,49 +126,61 @@ 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.
    *
@@ -153,6 +188,7 @@ public int getRemovedTargetIds(int index) {
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -160,6 +196,8 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The read timestamp at which the remove was observed.
    *
@@ -167,6 +205,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ @java.lang.Override @@ -174,6 +213,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.
    *
@@ -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,99 +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.
@@ -403,33 +445,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();
@@ -445,9 +486,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
@@ -466,9 +507,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;
     }
@@ -487,9 +531,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();
       }
     }
 
@@ -497,38 +539,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;
@@ -581,40 +624,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) {
@@ -624,23 +670,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; @@ -649,21 +698,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 { @@ -671,30 +721,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() { @@ -704,18 +761,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; @@ -724,6 +785,7 @@ public Builder setDocumentBytes( } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); + private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); @@ -731,35 +793,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. */ @@ -767,17 +838,19 @@ 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); @@ -785,11 +858,14 @@ public Builder setRemovedTargetIds( 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. */ @@ -801,28 +877,32 @@ public Builder addRemovedTargetIds(int value) { 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() { @@ -834,8 +914,13 @@ 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.
      *
@@ -843,12 +928,15 @@ public Builder clearRemovedTargetIds() {
      * 
* * .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.
      *
@@ -856,6 +944,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -866,6 +955,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The read timestamp at which the remove was observed.
      *
@@ -888,6 +979,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      *
@@ -896,8 +989,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 {
@@ -908,6 +1000,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      *
@@ -918,9 +1012,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 +1027,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      *
@@ -952,6 +1048,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      *
@@ -966,6 +1064,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      *
@@ -978,11 +1078,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.
      *
@@ -992,21 +1093,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);
     }
 
@@ -1016,12 +1120,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();
   }
@@ -1030,27 +1134,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;
@@ -1065,6 +1169,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 4fc8fc5fda..54ef1845e0 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,64 +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/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.
    *
@@ -66,10 +98,13 @@ public interface DocumentRemoveOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The read timestamp at which the remove was observed.
    *
@@ -77,10 +112,13 @@ public interface DocumentRemoveOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The read timestamp at which the remove was observed.
    *
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 f4e6b191c9..dbace540f6 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,29 +44,33 @@ private DocumentTransform() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DocumentTransform(); } - 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
@@ -56,10 +78,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
@@ -67,40 +92,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.
      *
@@ -115,10 +157,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.
      *
@@ -133,10 +178,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.
      *
@@ -155,6 +203,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.
      *
@@ -171,10 +221,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.
      *
@@ -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.
      *
@@ -215,6 +271,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.
      *
@@ -231,10 +289,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.
      *
@@ -251,10 +312,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.
      *
@@ -275,6 +339,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.
@@ -291,10 +357,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.
@@ -311,10 +380,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.
@@ -335,6 +407,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
@@ -349,10 +423,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
@@ -367,10 +444,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
@@ -388,58 +468,66 @@ public interface FieldTransformOrBuilder extends
      */
     com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder();
 
-    com.google.firestore.v1.DocumentTransform.FieldTransform.TransformTypeCase getTransformTypeCase();
+    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(); } - 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.
        * 
@@ -448,6 +536,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
@@ -461,6 +551,8 @@ public enum ServerValue
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -469,6 +561,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
@@ -479,7 +573,6 @@ public enum ServerValue
        */
       public static final int REQUEST_TIME_VALUE = 1;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -504,48 +597,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;
@@ -563,10 +657,13 @@ private ServerValue(int value) {
     }
 
     private int transformTypeCase_ = 0;
+
     @SuppressWarnings("serial")
     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),
@@ -576,6 +673,7 @@ public enum TransformTypeCase
       REMOVE_ALL_FROM_ARRAY(7),
       TRANSFORMTYPE_NOT_SET(0);
       private final int value;
+
       private TransformTypeCase(int value) {
         this.value = value;
       }
@@ -591,31 +689,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
@@ -623,6 +731,7 @@ public int getNumber() {
      * 
* * string field_path = 1; + * * @return The fieldPath. */ @java.lang.Override @@ -631,14 +740,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
@@ -646,16 +756,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 { @@ -665,22 +774,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() { @@ -690,24 +809,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.
      *
@@ -722,6 +853,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 @@ -729,6 +861,8 @@ public boolean hasIncrement() { return transformTypeCase_ == 3; } /** + * + * *
      * Adds the given value to the field's current value.
      *
@@ -743,16 +877,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.
      *
@@ -771,13 +908,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.
      *
@@ -794,6 +933,7 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
      * 
* * .google.firestore.v1.Value maximum = 4; + * * @return Whether the maximum field is set. */ @java.lang.Override @@ -801,6 +941,8 @@ public boolean hasMaximum() { return transformTypeCase_ == 4; } /** + * + * *
      * Sets the field to the maximum of its current value and the given value.
      *
@@ -817,16 +959,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.
      *
@@ -847,13 +992,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.
      *
@@ -870,6 +1017,7 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
      * 
* * .google.firestore.v1.Value minimum = 5; + * * @return Whether the minimum field is set. */ @java.lang.Override @@ -877,6 +1025,8 @@ public boolean hasMinimum() { return transformTypeCase_ == 5; } /** + * + * *
      * Sets the field to the minimum of its current value and the given value.
      *
@@ -893,16 +1043,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.
      *
@@ -923,13 +1076,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.
@@ -946,6 +1101,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 @@ -953,6 +1109,8 @@ public boolean hasAppendMissingElements() { return transformTypeCase_ == 6; } /** + * + * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -969,16 +1127,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.
@@ -999,13 +1160,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
@@ -1020,6 +1183,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 @@ -1027,6 +1191,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
@@ -1041,16 +1207,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
@@ -1069,12 +1238,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;
@@ -1086,8 +1256,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_);
       }
@@ -1122,28 +1291,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;
@@ -1153,40 +1328,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:
@@ -1238,89 +1407,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
@@ -1330,39 +1504,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(); @@ -1389,9 +1565,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 @@ -1410,8 +1586,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; @@ -1424,27 +1603,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(); } } @@ -1453,38 +1628,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; @@ -1492,40 +1670,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(); @@ -1553,58 +1739,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) { @@ -1614,12 +1800,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() { @@ -1633,6 +1819,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
@@ -1640,13 +1828,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; @@ -1655,6 +1843,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * The path of the field. See
        * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -1662,15 +1852,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 { @@ -1678,6 +1867,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * The path of the field. See
        * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -1685,18 +1876,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
@@ -1704,6 +1899,7 @@ public Builder setFieldPath(
        * 
* * string field_path = 1; + * * @return This builder for chaining. */ public Builder clearFieldPath() { @@ -1713,6 +1909,8 @@ public Builder clearFieldPath() { return this; } /** + * + * *
        * The path of the field. See
        * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -1720,12 +1918,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; @@ -1734,11 +1934,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 @@ -1746,11 +1951,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 @@ -1761,11 +1971,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. */ @@ -1776,32 +1991,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(); } @@ -1811,11 +2042,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() { @@ -1828,8 +2064,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.
        *
@@ -1844,6 +2085,7 @@ public Builder clearSetToServerValue() {
        * 
* * .google.firestore.v1.Value increment = 3; + * * @return Whether the increment field is set. */ @java.lang.Override @@ -1851,6 +2093,8 @@ public boolean hasIncrement() { return transformTypeCase_ == 3; } /** + * + * *
        * Adds the given value to the field's current value.
        *
@@ -1865,6 +2109,7 @@ public boolean hasIncrement() {
        * 
* * .google.firestore.v1.Value increment = 3; + * * @return The increment. */ @java.lang.Override @@ -1882,6 +2127,8 @@ public com.google.firestore.v1.Value getIncrement() { } } /** + * + * *
        * Adds the given value to the field's current value.
        *
@@ -1911,6 +2158,8 @@ public Builder setIncrement(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        *
@@ -1926,8 +2175,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();
@@ -1938,6 +2186,8 @@ public Builder setIncrement(
         return this;
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        *
@@ -1955,10 +2205,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;
           }
@@ -1974,6 +2227,8 @@ public Builder mergeIncrement(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        *
@@ -2006,6 +2261,8 @@ public Builder clearIncrement() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        *
@@ -2025,6 +2282,8 @@ public com.google.firestore.v1.Value.Builder getIncrementBuilder() {
         return getIncrementFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        *
@@ -2052,6 +2311,8 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        *
@@ -2068,14 +2329,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());
@@ -2087,8 +2353,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.
        *
@@ -2105,6 +2376,7 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
        * 
* * .google.firestore.v1.Value maximum = 4; + * * @return Whether the maximum field is set. */ @java.lang.Override @@ -2112,6 +2384,8 @@ public boolean hasMaximum() { return transformTypeCase_ == 4; } /** + * + * *
        * Sets the field to the maximum of its current value and the given value.
        *
@@ -2128,6 +2402,7 @@ public boolean hasMaximum() {
        * 
* * .google.firestore.v1.Value maximum = 4; + * * @return The maximum. */ @java.lang.Override @@ -2145,6 +2420,8 @@ public com.google.firestore.v1.Value getMaximum() { } } /** + * + * *
        * Sets the field to the maximum of its current value and the given value.
        *
@@ -2176,6 +2453,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.
        *
@@ -2193,8 +2472,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();
@@ -2205,6 +2483,8 @@ public Builder setMaximum(
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        *
@@ -2224,10 +2504,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;
           }
@@ -2243,6 +2526,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.
        *
@@ -2277,6 +2562,8 @@ public Builder clearMaximum() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        *
@@ -2298,6 +2585,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.
        *
@@ -2327,6 +2616,8 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        *
@@ -2345,14 +2636,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());
@@ -2364,8 +2660,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.
        *
@@ -2382,6 +2683,7 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
        * 
* * .google.firestore.v1.Value minimum = 5; + * * @return Whether the minimum field is set. */ @java.lang.Override @@ -2389,6 +2691,8 @@ public boolean hasMinimum() { return transformTypeCase_ == 5; } /** + * + * *
        * Sets the field to the minimum of its current value and the given value.
        *
@@ -2405,6 +2709,7 @@ public boolean hasMinimum() {
        * 
* * .google.firestore.v1.Value minimum = 5; + * * @return The minimum. */ @java.lang.Override @@ -2422,6 +2727,8 @@ public com.google.firestore.v1.Value getMinimum() { } } /** + * + * *
        * Sets the field to the minimum of its current value and the given value.
        *
@@ -2453,6 +2760,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.
        *
@@ -2470,8 +2779,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();
@@ -2482,6 +2790,8 @@ public Builder setMinimum(
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        *
@@ -2501,10 +2811,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;
           }
@@ -2520,6 +2833,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.
        *
@@ -2554,6 +2869,8 @@ public Builder clearMinimum() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        *
@@ -2575,6 +2892,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.
        *
@@ -2604,6 +2923,8 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        *
@@ -2622,14 +2943,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());
@@ -2641,8 +2967,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.
@@ -2659,6 +2990,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 @@ -2666,6 +2998,8 @@ public boolean hasAppendMissingElements() { return transformTypeCase_ == 6; } /** + * + * *
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2682,6 +3016,7 @@ public boolean hasAppendMissingElements() {
        * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; + * * @return The appendMissingElements. */ @java.lang.Override @@ -2699,6 +3034,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.
@@ -2730,6 +3067,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.
@@ -2759,6 +3098,8 @@ public Builder setAppendMissingElements(
         return this;
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2778,10 +3119,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;
           }
@@ -2797,6 +3141,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.
@@ -2831,6 +3177,8 @@ public Builder clearAppendMissingElements() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2852,6 +3200,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.
@@ -2881,6 +3231,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.
@@ -2899,14 +3251,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());
@@ -2918,8 +3275,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
@@ -2934,6 +3296,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 @@ -2941,6 +3304,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
@@ -2955,6 +3320,7 @@ public boolean hasRemoveAllFromArray() {
        * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + * * @return The removeAllFromArray. */ @java.lang.Override @@ -2972,6 +3338,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
@@ -3001,6 +3369,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
@@ -3028,6 +3398,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
@@ -3045,10 +3417,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;
           }
@@ -3064,6 +3439,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
@@ -3096,6 +3473,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
@@ -3115,6 +3494,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
@@ -3142,6 +3523,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
@@ -3158,14 +3541,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());
@@ -3175,6 +3563,7 @@ public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilde
         onChanged();
         return removeAllFromArrayBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3187,12 +3576,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();
     }
@@ -3201,27 +3590,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;
@@ -3236,18 +3626,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 @@ -3256,29 +3649,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 { @@ -3287,77 +3680,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; @@ -3369,8 +3780,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_); } @@ -3390,8 +3800,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; @@ -3401,17 +3810,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; } @@ -3434,132 +3842,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(); @@ -3576,9 +3988,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 @@ -3597,9 +4009,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; } @@ -3627,38 +4042,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; @@ -3690,9 +4106,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_); } @@ -3724,30 +4141,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) { @@ -3757,22 +4177,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; @@ -3781,20 +4204,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 { @@ -3802,28 +4226,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() { @@ -3833,17 +4264,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; @@ -3851,28 +4286,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 { @@ -3880,13 +4325,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) { @@ -3896,13 +4344,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) { @@ -3912,13 +4363,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) { @@ -3935,16 +4389,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()); @@ -3955,15 +4413,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(); @@ -3977,13 +4439,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) { @@ -4000,13 +4465,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) { @@ -4020,16 +4488,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()); @@ -4040,20 +4512,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); @@ -4061,13 +4536,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) { @@ -4080,13 +4558,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) { @@ -4099,45 +4580,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 { @@ -4145,51 +4637,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(), @@ -4198,9 +4708,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); } @@ -4210,12 +4720,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(); } @@ -4224,27 +4734,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; @@ -4259,6 +4769,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 dffa934730..455bbc270f 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 77% 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 da34b07c76..9595678f75 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,55 +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/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(); } - 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 @@ -60,6 +81,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].
@@ -69,6 +92,7 @@ public int getTargetId() {
    * 
* * int32 count = 2; + * * @return The count. */ @java.lang.Override @@ -79,6 +103,8 @@ public int getCount() { public static final int UNCHANGED_NAMES_FIELD_NUMBER = 3; private com.google.firestore.v1.BloomFilter unchangedNames_; /** + * + * *
    * A bloom filter that contains the UTF-8 byte encodings of the resource names
    * of the documents that match
@@ -96,6 +122,7 @@ public int getCount() {
    * 
* * .google.firestore.v1.BloomFilter unchanged_names = 3; + * * @return Whether the unchangedNames field is set. */ @java.lang.Override @@ -103,6 +130,8 @@ public boolean hasUnchangedNames() { return unchangedNames_ != null; } /** + * + * *
    * A bloom filter that contains the UTF-8 byte encodings of the resource names
    * of the documents that match
@@ -120,13 +149,18 @@ public boolean hasUnchangedNames() {
    * 
* * .google.firestore.v1.BloomFilter unchanged_names = 3; + * * @return The unchangedNames. */ @java.lang.Override public com.google.firestore.v1.BloomFilter getUnchangedNames() { - return unchangedNames_ == null ? com.google.firestore.v1.BloomFilter.getDefaultInstance() : unchangedNames_; + return unchangedNames_ == null + ? com.google.firestore.v1.BloomFilter.getDefaultInstance() + : unchangedNames_; } /** + * + * *
    * A bloom filter that contains the UTF-8 byte encodings of the resource names
    * of the documents that match
@@ -147,10 +181,13 @@ public com.google.firestore.v1.BloomFilter getUnchangedNames() {
    */
   @java.lang.Override
   public com.google.firestore.v1.BloomFilterOrBuilder getUnchangedNamesOrBuilder() {
-    return unchangedNames_ == null ? com.google.firestore.v1.BloomFilter.getDefaultInstance() : unchangedNames_;
+    return unchangedNames_ == null
+        ? com.google.firestore.v1.BloomFilter.getDefaultInstance()
+        : unchangedNames_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -162,8 +199,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_);
     }
@@ -183,16 +219,13 @@ 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_);
     }
     if (unchangedNames_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getUnchangedNames());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUnchangedNames());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -202,21 +235,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.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 (hasUnchangedNames() != other.hasUnchangedNames()) return false;
     if (hasUnchangedNames()) {
-      if (!getUnchangedNames()
-          .equals(other.getUnchangedNames())) return false;
+      if (!getUnchangedNames().equals(other.getUnchangedNames())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -242,132 +272,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(); @@ -383,9 +417,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 @@ -404,8 +438,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; } @@ -419,9 +456,8 @@ private void buildPartial0(com.google.firestore.v1.ExistenceFilter result) { result.count_ = count_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.unchangedNames_ = unchangedNamesBuilder_ == null - ? unchangedNames_ - : unchangedNamesBuilder_.build(); + result.unchangedNames_ = + unchangedNamesBuilder_ == null ? unchangedNames_ : unchangedNamesBuilder_.build(); } } @@ -429,38 +465,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; @@ -504,29 +541,31 @@ 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 - case 26: { - input.readMessage( - getUnchangedNamesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - 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 + case 26: + { + input.readMessage(getUnchangedNamesFieldBuilder().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) { @@ -536,15 +575,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 @@ -552,11 +595,14 @@ 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. */ @@ -568,11 +614,14 @@ public Builder setTargetId(int value) { return this; } /** + * + * *
      * The target ID to which this filter applies.
      * 
* * int32 target_id = 1; + * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -582,8 +631,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].
@@ -593,6 +644,7 @@ public Builder clearTargetId() {
      * 
* * int32 count = 2; + * * @return The count. */ @java.lang.Override @@ -600,6 +652,8 @@ public int getCount() { return count_; } /** + * + * *
      * The total count of documents that match
      * [target_id][google.firestore.v1.ExistenceFilter.target_id].
@@ -609,6 +663,7 @@ public int getCount() {
      * 
* * int32 count = 2; + * * @param value The count to set. * @return This builder for chaining. */ @@ -620,6 +675,8 @@ public Builder setCount(int value) { return this; } /** + * + * *
      * The total count of documents that match
      * [target_id][google.firestore.v1.ExistenceFilter.target_id].
@@ -629,6 +686,7 @@ public Builder setCount(int value) {
      * 
* * int32 count = 2; + * * @return This builder for chaining. */ public Builder clearCount() { @@ -640,8 +698,13 @@ public Builder clearCount() { private com.google.firestore.v1.BloomFilter unchangedNames_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.BloomFilter, com.google.firestore.v1.BloomFilter.Builder, com.google.firestore.v1.BloomFilterOrBuilder> unchangedNamesBuilder_; + com.google.firestore.v1.BloomFilter, + com.google.firestore.v1.BloomFilter.Builder, + com.google.firestore.v1.BloomFilterOrBuilder> + unchangedNamesBuilder_; /** + * + * *
      * A bloom filter that contains the UTF-8 byte encodings of the resource names
      * of the documents that match
@@ -659,12 +722,15 @@ public Builder clearCount() {
      * 
* * .google.firestore.v1.BloomFilter unchanged_names = 3; + * * @return Whether the unchangedNames field is set. */ public boolean hasUnchangedNames() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * A bloom filter that contains the UTF-8 byte encodings of the resource names
      * of the documents that match
@@ -682,16 +748,21 @@ public boolean hasUnchangedNames() {
      * 
* * .google.firestore.v1.BloomFilter unchanged_names = 3; + * * @return The unchangedNames. */ public com.google.firestore.v1.BloomFilter getUnchangedNames() { if (unchangedNamesBuilder_ == null) { - return unchangedNames_ == null ? com.google.firestore.v1.BloomFilter.getDefaultInstance() : unchangedNames_; + return unchangedNames_ == null + ? com.google.firestore.v1.BloomFilter.getDefaultInstance() + : unchangedNames_; } else { return unchangedNamesBuilder_.getMessage(); } } /** + * + * *
      * A bloom filter that contains the UTF-8 byte encodings of the resource names
      * of the documents that match
@@ -724,6 +795,8 @@ public Builder setUnchangedNames(com.google.firestore.v1.BloomFilter value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A bloom filter that contains the UTF-8 byte encodings of the resource names
      * of the documents that match
@@ -742,8 +815,7 @@ public Builder setUnchangedNames(com.google.firestore.v1.BloomFilter value) {
      *
      * .google.firestore.v1.BloomFilter unchanged_names = 3;
      */
-    public Builder setUnchangedNames(
-        com.google.firestore.v1.BloomFilter.Builder builderForValue) {
+    public Builder setUnchangedNames(com.google.firestore.v1.BloomFilter.Builder builderForValue) {
       if (unchangedNamesBuilder_ == null) {
         unchangedNames_ = builderForValue.build();
       } else {
@@ -754,6 +826,8 @@ public Builder setUnchangedNames(
       return this;
     }
     /**
+     *
+     *
      * 
      * A bloom filter that contains the UTF-8 byte encodings of the resource names
      * of the documents that match
@@ -774,9 +848,9 @@ public Builder setUnchangedNames(
      */
     public Builder mergeUnchangedNames(com.google.firestore.v1.BloomFilter value) {
       if (unchangedNamesBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          unchangedNames_ != null &&
-          unchangedNames_ != com.google.firestore.v1.BloomFilter.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && unchangedNames_ != null
+            && unchangedNames_ != com.google.firestore.v1.BloomFilter.getDefaultInstance()) {
           getUnchangedNamesBuilder().mergeFrom(value);
         } else {
           unchangedNames_ = value;
@@ -789,6 +863,8 @@ public Builder mergeUnchangedNames(com.google.firestore.v1.BloomFilter value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A bloom filter that contains the UTF-8 byte encodings of the resource names
      * of the documents that match
@@ -818,6 +894,8 @@ public Builder clearUnchangedNames() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A bloom filter that contains the UTF-8 byte encodings of the resource names
      * of the documents that match
@@ -842,6 +920,8 @@ public com.google.firestore.v1.BloomFilter.Builder getUnchangedNamesBuilder() {
       return getUnchangedNamesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A bloom filter that contains the UTF-8 byte encodings of the resource names
      * of the documents that match
@@ -864,11 +944,14 @@ public com.google.firestore.v1.BloomFilterOrBuilder getUnchangedNamesOrBuilder()
       if (unchangedNamesBuilder_ != null) {
         return unchangedNamesBuilder_.getMessageOrBuilder();
       } else {
-        return unchangedNames_ == null ?
-            com.google.firestore.v1.BloomFilter.getDefaultInstance() : unchangedNames_;
+        return unchangedNames_ == null
+            ? com.google.firestore.v1.BloomFilter.getDefaultInstance()
+            : unchangedNames_;
       }
     }
     /**
+     *
+     *
      * 
      * A bloom filter that contains the UTF-8 byte encodings of the resource names
      * of the documents that match
@@ -888,21 +971,24 @@ public com.google.firestore.v1.BloomFilterOrBuilder getUnchangedNamesOrBuilder()
      * .google.firestore.v1.BloomFilter unchanged_names = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.BloomFilter, com.google.firestore.v1.BloomFilter.Builder, com.google.firestore.v1.BloomFilterOrBuilder> 
+            com.google.firestore.v1.BloomFilter,
+            com.google.firestore.v1.BloomFilter.Builder,
+            com.google.firestore.v1.BloomFilterOrBuilder>
         getUnchangedNamesFieldBuilder() {
       if (unchangedNamesBuilder_ == null) {
-        unchangedNamesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.BloomFilter, com.google.firestore.v1.BloomFilter.Builder, com.google.firestore.v1.BloomFilterOrBuilder>(
-                getUnchangedNames(),
-                getParentForChildren(),
-                isClean());
+        unchangedNamesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.BloomFilter,
+                com.google.firestore.v1.BloomFilter.Builder,
+                com.google.firestore.v1.BloomFilterOrBuilder>(
+                getUnchangedNames(), getParentForChildren(), isClean());
         unchangedNames_ = null;
       }
       return unchangedNamesBuilder_;
     }
+
     @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 +998,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();
   }
@@ -926,27 +1012,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;
@@ -961,6 +1047,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 84%
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 86116879cd..02774864e7 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].
@@ -27,11 +48,14 @@ public interface ExistenceFilterOrBuilder extends
    * 
* * int32 count = 2; + * * @return The count. */ int getCount(); /** + * + * *
    * A bloom filter that contains the UTF-8 byte encodings of the resource names
    * of the documents that match
@@ -49,10 +73,13 @@ public interface ExistenceFilterOrBuilder extends
    * 
* * .google.firestore.v1.BloomFilter unchanged_names = 3; + * * @return Whether the unchangedNames field is set. */ boolean hasUnchangedNames(); /** + * + * *
    * A bloom filter that contains the UTF-8 byte encodings of the resource names
    * of the documents that match
@@ -70,10 +97,13 @@ public interface ExistenceFilterOrBuilder extends
    * 
* * .google.firestore.v1.BloomFilter unchanged_names = 3; + * * @return The unchangedNames. */ com.google.firestore.v1.BloomFilter getUnchangedNames(); /** + * + * *
    * A bloom filter that contains the UTF-8 byte encodings of the resource names
    * of the documents that match
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 0000000000..7624a353e3
--- /dev/null
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java
@@ -0,0 +1,784 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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\036google/p"
+          + "rotobuf/wrappers.proto\032\027google/rpc/statu"
+          + "s.proto\"\271\001\n\022GetDocumentRequest\022\022\n\004name\030\001"
+          + " \001(\tB\004\342A\001\002\022/\n\004mask\030\002 \001(\0132!.google.firest"
+          + "ore.v1.DocumentMask\022\025\n\013transaction\030\003 \001(\014"
+          + "H\000\022/\n\tread_time\030\005 \001(\0132\032.google.protobuf."
+          + "TimestampH\000B\026\n\024consistency_selector\"\301\002\n\024"
+          + "ListDocumentsRequest\022\024\n\006parent\030\001 \001(\tB\004\342A"
+          + "\001\002\022\033\n\rcollection_id\030\002 \001(\tB\004\342A\001\001\022\027\n\tpage_"
+          + "size\030\003 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\004 \001(\tB\004\342A"
+          + "\001\001\022\026\n\010order_by\030\006 \001(\tB\004\342A\001\001\0225\n\004mask\030\007 \001(\013"
+          + "2!.google.firestore.v1.DocumentMaskB\004\342A\001"
+          + "\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\014sho"
+          + "w_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\017ne"
+          + "xt_page_token\030\002 \001(\t\"\307\001\n\025CreateDocumentRe"
+          + "quest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022\033\n\rcollectio"
+          + "n_id\030\002 \001(\tB\004\342A\001\002\022\023\n\013document_id\030\003 \001(\t\0225\n"
+          + "\010document\030\004 \001(\0132\035.google.firestore.v1.Do"
+          + "cumentB\004\342A\001\002\022/\n\004mask\030\005 \001(\0132!.google.fire"
+          + "store.v1.DocumentMask\"\364\001\n\025UpdateDocument"
+          + "Request\0225\n\010document\030\001 \001(\0132\035.google.fires"
+          + "tore.v1.DocumentB\004\342A\001\002\0226\n\013update_mask\030\002 "
+          + "\001(\0132!.google.firestore.v1.DocumentMask\022/"
+          + "\n\004mask\030\003 \001(\0132!.google.firestore.v1.Docum"
+          + "entMask\022;\n\020current_document\030\004 \001(\0132!.goog"
+          + "le.firestore.v1.Precondition\"h\n\025DeleteDo"
+          + "cumentRequest\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022;\n\020cur"
+          + "rent_document\030\002 \001(\0132!.google.firestore.v"
+          + "1.Precondition\"\232\002\n\030BatchGetDocumentsRequ"
+          + "est\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022\021\n\tdocuments"
+          + "\030\002 \003(\t\022/\n\004mask\030\003 \001(\0132!.google.firestore."
+          + "v1.DocumentMask\022\025\n\013transaction\030\004 \001(\014H\000\022B"
+          + "\n\017new_transaction\030\005 \001(\0132\'.google.firesto"
+          + "re.v1.TransactionOptionsH\000\022/\n\tread_time\030"
+          + "\007 \001(\0132\032.google.protobuf.TimestampH\000B\026\n\024c"
+          + "onsistency_selector\"\254\001\n\031BatchGetDocument"
+          + "sResponse\022.\n\005found\030\001 \001(\0132\035.google.firest"
+          + "ore.v1.DocumentH\000\022\021\n\007missing\030\002 \001(\tH\000\022\023\n\013"
+          + "transaction\030\003 \001(\014\022-\n\tread_time\030\004 \001(\0132\032.g"
+          + "oogle.protobuf.TimestampB\010\n\006result\"k\n\027Be"
+          + "ginTransactionRequest\022\026\n\010database\030\001 \001(\tB"
+          + "\004\342A\001\002\0228\n\007options\030\002 \001(\0132\'.google.firestor"
+          + "e.v1.TransactionOptions\"/\n\030BeginTransact"
+          + "ionResponse\022\023\n\013transaction\030\001 \001(\014\"h\n\rComm"
+          + "itRequest\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022*\n\006wri"
+          + "tes\030\002 \003(\0132\032.google.firestore.v1.Write\022\023\n"
+          + "\013transaction\030\003 \001(\014\"z\n\016CommitResponse\0227\n\r"
+          + "write_results\030\001 \003(\0132 .google.firestore.v"
+          + "1.WriteResult\022/\n\013commit_time\030\002 \001(\0132\032.goo"
+          + "gle.protobuf.Timestamp\"D\n\017RollbackReques"
+          + "t\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022\031\n\013transaction"
+          + "\030\002 \001(\014B\004\342A\001\002\"\233\002\n\017RunQueryRequest\022\024\n\006pare"
+          + "nt\030\001 \001(\tB\004\342A\001\002\022@\n\020structured_query\030\002 \001(\013"
+          + "2$.google.firestore.v1.StructuredQueryH\000"
+          + "\022\025\n\013transaction\030\005 \001(\014H\001\022B\n\017new_transacti"
+          + "on\030\006 \001(\0132\'.google.firestore.v1.Transacti"
+          + "onOptionsH\001\022/\n\tread_time\030\007 \001(\0132\032.google."
+          + "protobuf.TimestampH\001B\014\n\nquery_typeB\026\n\024co"
+          + "nsistency_selector\"\311\001\n\020RunQueryResponse\022"
+          + "\023\n\013transaction\030\002 \001(\014\022/\n\010document\030\001 \001(\0132\035"
+          + ".google.firestore.v1.Document\022-\n\tread_ti"
+          + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\022\027\n\017"
+          + "skipped_results\030\004 \001(\005\022\016\n\004done\030\006 \001(\010H\000B\027\n"
+          + "\025continuation_selector\"\275\002\n\032RunAggregatio"
+          + "nQueryRequest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022W\n\034s"
+          + "tructured_aggregation_query\030\002 \001(\0132/.goog"
+          + "le.firestore.v1.StructuredAggregationQue"
+          + "ryH\000\022\025\n\013transaction\030\004 \001(\014H\001\022B\n\017new_trans"
+          + "action\030\005 \001(\0132\'.google.firestore.v1.Trans"
+          + "actionOptionsH\001\022/\n\tread_time\030\006 \001(\0132\032.goo"
+          + "gle.protobuf.TimestampH\001B\014\n\nquery_typeB\026"
+          + "\n\024consistency_selector\"\231\001\n\033RunAggregatio"
+          + "nQueryResponse\0226\n\006result\030\001 \001(\0132&.google."
+          + "firestore.v1.AggregationResult\022\023\n\013transa"
+          + "ction\030\002 \001(\014\022-\n\tread_time\030\003 \001(\0132\032.google."
+          + "protobuf.Timestamp\"\206\002\n\025PartitionQueryReq"
+          + "uest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022@\n\020structured"
+          + "_query\030\002 \001(\0132$.google.firestore.v1.Struc"
+          + "turedQueryH\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\t"
+          + "read_time\030\006 \001(\0132\032.google.protobuf.Timest"
+          + "ampH\001B\014\n\nquery_typeB\026\n\024consistency_selec"
+          + "tor\"b\n\026PartitionQueryResponse\022/\n\npartiti"
+          + "ons\030\001 \003(\0132\033.google.firestore.v1.Cursor\022\027"
+          + "\n\017next_page_token\030\002 \001(\t\"\351\001\n\014WriteRequest"
+          + "\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022\021\n\tstream_id\030\002 "
+          + "\001(\t\022*\n\006writes\030\003 \003(\0132\032.google.firestore.v"
+          + "1.Write\022\024\n\014stream_token\030\004 \001(\014\022=\n\006labels\030"
+          + "\005 \003(\0132-.google.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_results\030\003 \003(\0132 .google.firestore"
+          + ".v1.WriteResult\022/\n\013commit_time\030\004 \001(\0132\032.g"
+          + "oogle.protobuf.Timestamp\"\363\001\n\rListenReque"
+          + "st\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\0221\n\nadd_target"
+          + "\030\002 \001(\0132\033.google.firestore.v1.TargetH\000\022\027\n"
+          + "\rremove_target\030\003 \001(\005H\000\022>\n\006labels\030\004 \003(\0132."
+          + ".google.firestore.v1.ListenRequest.Label"
+          + "sEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va"
+          + "lue\030\002 \001(\t:\0028\001B\017\n\rtarget_change\"\325\002\n\016Liste"
+          + "nResponse\022:\n\rtarget_change\030\002 \001(\0132!.googl"
+          + "e.firestore.v1.TargetChangeH\000\022>\n\017documen"
+          + "t_change\030\003 \001(\0132#.google.firestore.v1.Doc"
+          + "umentChangeH\000\022>\n\017document_delete\030\004 \001(\0132#"
+          + ".google.firestore.v1.DocumentDeleteH\000\022>\n"
+          + "\017document_remove\030\006 \001(\0132#.google.firestor"
+          + "e.v1.DocumentRemoveH\000\0226\n\006filter\030\005 \001(\0132$."
+          + "google.firestore.v1.ExistenceFilterH\000B\017\n"
+          + "\rresponse_type\"\326\003\n\006Target\0228\n\005query\030\002 \001(\013"
+          + "2\'.google.firestore.v1.Target.QueryTarge"
+          + "tH\000\022@\n\tdocuments\030\003 \001(\0132+.google.firestor"
+          + "e.v1.Target.DocumentsTargetH\000\022\026\n\014resume_"
+          + "token\030\004 \001(\014H\001\022/\n\tread_time\030\013 \001(\0132\032.googl"
+          + "e.protobuf.TimestampH\001\022\021\n\ttarget_id\030\005 \001("
+          + "\005\022\014\n\004once\030\006 \001(\010\0223\n\016expected_count\030\014 \001(\0132"
+          + "\033.google.protobuf.Int32Value\032$\n\017Document"
+          + "sTarget\022\021\n\tdocuments\030\002 \003(\t\032m\n\013QueryTarge"
+          + "t\022\016\n\006parent\030\001 \001(\t\022@\n\020structured_query\030\002 "
+          + "\001(\0132$.google.firestore.v1.StructuredQuer"
+          + "yH\000B\014\n\nquery_typeB\r\n\013target_typeB\r\n\013resu"
+          + "me_type\"\252\002\n\014TargetChange\022N\n\022target_chang"
+          + "e_type\030\001 \001(\01622.google.firestore.v1.Targe"
+          + "tChange.TargetChangeType\022\022\n\ntarget_ids\030\002"
+          + " \003(\005\022!\n\005cause\030\003 \001(\0132\022.google.rpc.Status\022"
+          + "\024\n\014resume_token\030\004 \001(\014\022-\n\tread_time\030\006 \001(\013"
+          + "2\032.google.protobuf.Timestamp\"N\n\020TargetCh"
+          + "angeType\022\r\n\tNO_CHANGE\020\000\022\007\n\003ADD\020\001\022\n\n\006REMO"
+          + "VE\020\002\022\013\n\007CURRENT\020\003\022\t\n\005RESET\020\004\"\240\001\n\030ListCol"
+          + "lectionIdsRequest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022"
+          + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/"
+          + "\n\tread_time\030\004 \001(\0132\032.google.protobuf.Time"
+          + "stampH\000B\026\n\024consistency_selector\"L\n\031ListC"
+          + "ollectionIdsResponse\022\026\n\016collection_ids\030\001"
+          + " \003(\t\022\027\n\017next_page_token\030\002 \001(\t\"\312\001\n\021BatchW"
+          + "riteRequest\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022*\n\006w"
+          + "rites\030\002 \003(\0132\032.google.firestore.v1.Write\022"
+          + "B\n\006labels\030\003 \003(\01322.google.firestore.v1.Ba"
+          + "tchWriteRequest.LabelsEntry\032-\n\013LabelsEnt"
+          + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"q\n\022Ba"
+          + "tchWriteResponse\0227\n\rwrite_results\030\001 \003(\0132"
+          + " .google.firestore.v1.WriteResult\022\"\n\006sta"
+          + "tus\030\002 \003(\0132\022.google.rpc.Status2\332\031\n\tFirest"
+          + "ore\022\217\001\n\013GetDocument\022\'.google.firestore.v"
+          + "1.GetDocumentRequest\032\035.google.firestore."
+          + "v1.Document\"8\202\323\344\223\0022\0220/v1/{name=projects/"
+          + "*/databases/*/documents/*/**}\022\365\001\n\rListDo"
+          + "cuments\022).google.firestore.v1.ListDocume"
+          + "ntsRequest\032*.google.firestore.v1.ListDoc"
+          + "umentsResponse\"\214\001\202\323\344\223\002\205\001\022B/v1/{parent=pr"
+          + "ojects/*/databases/*/documents/*/**}/{co"
+          + "llection_id}Z?\022=/v1/{parent=projects/*/d"
+          + "atabases/*/documents}/{collection_id}\022\277\001"
+          + "\n\016UpdateDocument\022*.google.firestore.v1.U"
+          + "pdateDocumentRequest\032\035.google.firestore."
+          + "v1.Document\"b\332A\024document,update_mask\202\323\344\223"
+          + "\002E29/v1/{document.name=projects/*/databa"
+          + "ses/*/documents/*/**}:\010document\022\225\001\n\016Dele"
+          + "teDocument\022*.google.firestore.v1.DeleteD"
+          + "ocumentRequest\032\026.google.protobuf.Empty\"?"
+          + "\332A\004name\202\323\344\223\0022*0/v1/{name=projects/*/data"
+          + "bases/*/documents/*/**}\022\271\001\n\021BatchGetDocu"
+          + "ments\022-.google.firestore.v1.BatchGetDocu"
+          + "mentsRequest\032..google.firestore.v1.Batch"
+          + "GetDocumentsResponse\"C\202\323\344\223\002=\"8/v1/{datab"
+          + "ase=projects/*/databases/*}/documents:ba"
+          + "tchGet:\001*0\001\022\307\001\n\020BeginTransaction\022,.googl"
+          + "e.firestore.v1.BeginTransactionRequest\032-"
+          + ".google.firestore.v1.BeginTransactionRes"
+          + "ponse\"V\332A\010database\202\323\344\223\002E\"@/v1/{database="
+          + "projects/*/databases/*}/documents:beginT"
+          + "ransaction:\001*\022\246\001\n\006Commit\022\".google.firest"
+          + "ore.v1.CommitRequest\032#.google.firestore."
+          + "v1.CommitResponse\"S\332A\017database,writes\202\323\344"
+          + "\223\002;\"6/v1/{database=projects/*/databases/"
+          + "*}/documents:commit:\001*\022\244\001\n\010Rollback\022$.go"
+          + "ogle.firestore.v1.RollbackRequest\032\026.goog"
+          + "le.protobuf.Empty\"Z\332A\024database,transacti"
+          + "on\202\323\344\223\002=\"8/v1/{database=projects/*/datab"
+          + "ases/*}/documents:rollback:\001*\022\337\001\n\010RunQue"
+          + "ry\022$.google.firestore.v1.RunQueryRequest"
+          + "\032%.google.firestore.v1.RunQueryResponse\""
+          + "\203\001\202\323\344\223\002}\"6/v1/{parent=projects/*/databas"
+          + "es/*/documents}:runQuery:\001*Z@\";/v1/{pare"
+          + "nt=projects/*/databases/*/documents/*/**"
+          + "}:runQuery:\001*0\001\022\227\002\n\023RunAggregationQuery\022"
+          + "/.google.firestore.v1.RunAggregationQuer"
+          + "yRequest\0320.google.firestore.v1.RunAggreg"
+          + "ationQueryResponse\"\232\001\202\323\344\223\002\223\001\"A/v1/{paren"
+          + "t=projects/*/databases/*/documents}:runA"
+          + "ggregationQuery:\001*ZK\"F/v1/{parent=projec"
+          + "ts/*/databases/*/documents/*/**}:runAggr"
+          + "egationQuery:\001*0\001\022\374\001\n\016PartitionQuery\022*.g"
+          + "oogle.firestore.v1.PartitionQueryRequest"
+          + "\032+.google.firestore.v1.PartitionQueryRes"
+          + "ponse\"\220\001\202\323\344\223\002\211\001\"
  * The request for
  * [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument].
@@ -11,49 +28,55 @@
  *
  * 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();
   }
 
-  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;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -69,33 +92,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 @@ -104,30 +134,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 { @@ -138,6 +168,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.
    *
@@ -146,6 +178,7 @@ public java.lang.String getName() {
    * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return Whether the mask field is set. */ @java.lang.Override @@ -153,6 +186,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    *
@@ -161,6 +196,7 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return The mask. */ @java.lang.Override @@ -168,6 +204,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.
    *
@@ -184,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 @@ -196,11 +237,14 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 3; } /** + * + * *
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; + * * @return The transaction. */ @java.lang.Override @@ -213,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 @@ -226,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.
@@ -252,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;
@@ -269,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_);
     }
@@ -278,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_);
@@ -297,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;
@@ -317,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:
@@ -378,99 +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].
@@ -478,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();
@@ -524,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
@@ -545,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;
@@ -558,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();
       }
     }
@@ -577,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;
@@ -626,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();
@@ -664,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) {
@@ -703,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() {
@@ -722,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; @@ -743,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 { @@ -765,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() { @@ -798,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; @@ -819,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.
      *
@@ -829,12 +905,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.
      *
@@ -843,6 +922,7 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -853,6 +933,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * The fields to return. If not set, returns all fields.
      *
@@ -876,6 +958,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -885,8 +969,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 {
@@ -897,6 +980,8 @@ public Builder setMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -908,9 +993,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;
@@ -923,6 +1008,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -943,6 +1030,8 @@ public Builder clearMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -958,6 +1047,8 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
       return getMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -971,11 +1062,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.
      *
@@ -986,36 +1078,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() { @@ -1025,27 +1126,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() { @@ -1058,14 +1167,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 @@ -1073,12 +1188,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 @@ -1096,6 +1214,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.
@@ -1117,6 +1237,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.
@@ -1124,8 +1246,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();
@@ -1136,6 +1257,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1145,10 +1268,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;
         }
@@ -1164,6 +1290,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.
@@ -1188,6 +1316,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1199,6 +1329,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.
@@ -1218,6 +1350,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.
@@ -1226,14 +1360,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());
@@ -1243,9 +1382,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);
     }
 
@@ -1255,12 +1394,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();
   }
@@ -1269,27 +1408,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;
@@ -1304,6 +1443,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 79%
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 92d6994870..d2e0a10c13 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.
    *
@@ -38,10 +61,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.
    *
@@ -50,10 +76,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.
    *
@@ -66,45 +95,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.
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 4aaa2c69f2..b5ca326aad 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,33 +45,38 @@ private ListCollectionIdsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListCollectionIdsRequest();
   }
 
-  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;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -69,26 +92,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}`.
@@ -97,6 +125,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -105,14 +134,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}`.
@@ -121,16 +151,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 { @@ -141,11 +170,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 @@ -154,15 +186,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 @@ -171,30 +207,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 { @@ -204,12 +240,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 @@ -217,22 +256,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.
@@ -243,12 +287,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;
@@ -260,8 +305,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_);
     }
@@ -287,15 +331,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;
@@ -305,24 +349,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:
@@ -357,99 +398,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].
@@ -457,33 +503,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();
@@ -500,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_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
@@ -521,8 +566,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;
@@ -544,8 +592,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();
       }
     }
@@ -554,38 +601,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;
@@ -593,7 +641,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;
@@ -608,13 +657,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();
@@ -642,34 +693,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) {
@@ -679,12 +733,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() {
@@ -698,6 +752,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}`.
@@ -706,13 +762,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; @@ -721,6 +777,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -729,15 +787,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 { @@ -745,6 +802,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -753,18 +812,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}`.
@@ -773,6 +836,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -782,6 +846,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -790,12 +856,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; @@ -803,13 +871,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 @@ -817,11 +888,14 @@ 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. */ @@ -833,11 +907,14 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -849,19 +926,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; @@ -870,21 +949,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 { @@ -892,30 +972,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() { @@ -925,18 +1012,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; @@ -945,14 +1036,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 @@ -960,12 +1057,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 @@ -983,6 +1083,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1004,6 +1106,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.
@@ -1011,8 +1115,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();
@@ -1023,6 +1126,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1032,10 +1137,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;
         }
@@ -1051,6 +1159,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.
@@ -1075,6 +1185,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1086,6 +1198,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.
@@ -1105,6 +1219,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1113,14 +1229,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());
@@ -1130,9 +1251,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);
     }
 
@@ -1142,12 +1263,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();
   }
@@ -1156,27 +1277,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;
@@ -1191,6 +1312,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 6b976cd2e7..5326fbc57c 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();
 
-  com.google.firestore.v1.ListCollectionIdsRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  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 6a46a20a52..c64ab3a65a 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,74 +28,84 @@
  *
  * 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.emptyList();
+    collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
     nextPageToken_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListCollectionIdsResponse();
   }
 
-  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.LazyStringArrayList collectionIds_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * 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. */ @@ -86,28 +113,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 @@ -116,29 +149,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 { @@ -147,6 +180,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,8 +192,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)); } @@ -194,17 +227,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; } @@ -228,98 +260,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].
@@ -327,47 +364,45 @@ 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();
       bitField0_ = 0;
-      collectionIds_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
       nextPageToken_ = "";
       return this;
     }
 
     @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
@@ -386,8 +421,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.ListCollectionIdsResponse result =
+          new com.google.firestore.v1.ListCollectionIdsResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -407,38 +445,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;
@@ -446,7 +485,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_;
@@ -488,23 +528,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) {
@@ -514,10 +557,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList collectionIds_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureCollectionIdsIsMutable() {
       if (!collectionIds_.isModifiable()) {
         collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_);
@@ -525,35 +570,43 @@ private void ensureCollectionIdsIsMutable() {
       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() { collectionIds_.makeImmutable(); 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. */ @@ -561,31 +614,37 @@ 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); bitField0_ |= 0x00000001; @@ -593,17 +652,21 @@ public Builder setCollectionIds( 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); bitField0_ |= 0x00000001; @@ -611,50 +674,58 @@ public Builder addCollectionIds( 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_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @return This builder for chaining. */ public Builder clearCollectionIds() { - collectionIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); 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); @@ -665,18 +736,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; @@ -685,20 +758,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 { @@ -706,28 +780,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() { @@ -737,26 +818,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); } @@ -766,12 +851,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(); } @@ -780,27 +865,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; @@ -815,6 +900,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 53f354b702..42dc747825 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 77% 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 e0eb2d2319..b19342ecfb 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,34 +47,39 @@ private ListDocumentsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListDocumentsRequest();
   }
 
-  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;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -72,27 +95,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
@@ -104,6 +133,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -112,14 +142,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
@@ -131,16 +162,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 { @@ -149,9 +179,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.
    *
@@ -162,6 +195,7 @@ public java.lang.String getParent() {
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The collectionId. */ @java.lang.Override @@ -170,14 +204,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.
    *
@@ -188,16 +223,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 { @@ -208,6 +242,8 @@ 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.
    *
@@ -215,6 +251,7 @@ public java.lang.String getCollectionId() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -223,9 +260,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.
    *
@@ -235,6 +275,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -243,14 +284,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.
    *
@@ -260,16 +302,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 { @@ -278,9 +319,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.
    *
@@ -292,6 +336,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -300,14 +345,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.
    *
@@ -319,16 +365,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 { @@ -339,6 +384,8 @@ 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.
    *
@@ -346,7 +393,9 @@ public java.lang.String getOrderBy() {
    * 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 @@ -354,6 +403,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * Optional. The fields to return. If not set, returns all fields.
    *
@@ -361,7 +412,9 @@ public boolean hasMask() {
    * 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 @@ -369,6 +422,8 @@ 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.
    *
@@ -376,7 +431,8 @@ public com.google.firestore.v1.DocumentMask getMask() {
    * 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() { @@ -385,11 +441,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 @@ -397,11 +456,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 @@ -414,6 +476,8 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 10; /** + * + * *
    * Perform the read at the provided time.
    *
@@ -421,6 +485,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -428,6 +493,8 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 10; } /** + * + * *
    * Perform the read at the provided time.
    *
@@ -435,16 +502,19 @@ public boolean hasReadTime() {
    * 
* * .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.
    *
@@ -456,7 +526,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();
   }
@@ -464,6 +534,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.
    *
@@ -477,6 +549,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * bool show_missing = 12; + * * @return The showMissing. */ @java.lang.Override @@ -485,6 +558,7 @@ public boolean getShowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -496,8 +570,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_); } @@ -517,8 +590,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_); @@ -542,8 +614,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_); @@ -552,21 +623,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; @@ -576,39 +646,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: @@ -639,8 +701,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; @@ -658,99 +719,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].
@@ -758,33 +824,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();
@@ -809,9 +874,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
@@ -830,8 +895,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;
@@ -855,9 +923,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_;
@@ -867,8 +933,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();
       }
     }
@@ -877,38 +942,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;
@@ -947,17 +1013,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();
@@ -985,61 +1054,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) {
@@ -1049,12 +1124,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() {
@@ -1068,6 +1143,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
@@ -1079,13 +1156,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; @@ -1094,6 +1171,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1105,15 +1184,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 { @@ -1121,6 +1199,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1132,18 +1212,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
@@ -1155,6 +1239,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1164,6 +1249,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1175,12 +1262,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; @@ -1190,6 +1279,8 @@ public Builder setParentBytes( private java.lang.Object collectionId_ = ""; /** + * + * *
      * Optional. The collection ID, relative to `parent`, to list.
      *
@@ -1200,13 +1291,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; @@ -1215,6 +1306,8 @@ public java.lang.String getCollectionId() { } } /** + * + * *
      * Optional. The collection ID, relative to `parent`, to list.
      *
@@ -1225,15 +1318,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 { @@ -1241,6 +1333,8 @@ public java.lang.String getCollectionId() { } } /** + * + * *
      * Optional. The collection ID, relative to `parent`, to list.
      *
@@ -1251,18 +1345,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.
      *
@@ -1273,6 +1371,7 @@ public Builder setCollectionId(
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCollectionId() { @@ -1282,6 +1381,8 @@ public Builder clearCollectionId() { return this; } /** + * + * *
      * Optional. The collection ID, relative to `parent`, to list.
      *
@@ -1292,12 +1393,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; @@ -1305,8 +1408,10 @@ public Builder setCollectionIdBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of documents to return in a single response.
      *
@@ -1314,6 +1419,7 @@ public Builder setCollectionIdBytes(
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1321,6 +1427,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of documents to return in a single response.
      *
@@ -1328,6 +1436,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1339,6 +1448,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. The maximum number of documents to return in a single response.
      *
@@ -1346,6 +1457,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1357,6 +1469,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      *
@@ -1366,13 +1480,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; @@ -1381,6 +1495,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      *
@@ -1390,15 +1506,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 { @@ -1406,6 +1521,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      *
@@ -1415,18 +1532,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.
      *
@@ -1436,6 +1557,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1445,6 +1567,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      *
@@ -1454,12 +1578,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; @@ -1469,6 +1595,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. The optional ordering of the documents to return.
      *
@@ -1480,13 +1608,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; @@ -1495,6 +1623,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The optional ordering of the documents to return.
      *
@@ -1506,15 +1636,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 { @@ -1522,6 +1651,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The optional ordering of the documents to return.
      *
@@ -1533,18 +1664,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.
      *
@@ -1556,6 +1691,7 @@ public Builder setOrderBy(
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1565,6 +1701,8 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. The optional ordering of the documents to return.
      *
@@ -1576,12 +1714,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; @@ -1591,8 +1731,13 @@ 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.
      *
@@ -1600,13 +1745,17 @@ public Builder setOrderByBytes(
      * 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.
      *
@@ -1614,7 +1763,9 @@ public boolean hasMask() {
      * 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() { @@ -1625,6 +1776,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      *
@@ -1632,7 +1785,8 @@ public com.google.firestore.v1.DocumentMask getMask() {
      * 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) { @@ -1648,6 +1802,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) { return this; } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      *
@@ -1655,10 +1811,10 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      * 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 { @@ -1669,6 +1825,8 @@ public Builder setMask( return this; } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      *
@@ -1676,13 +1834,14 @@ public Builder setMask(
      * 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; @@ -1695,6 +1854,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) { return this; } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      *
@@ -1702,7 +1863,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
      * 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); @@ -1715,6 +1877,8 @@ public Builder clearMask() { return this; } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      *
@@ -1722,7 +1886,8 @@ public Builder clearMask() {
      * 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; @@ -1730,6 +1895,8 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() { return getMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      *
@@ -1737,17 +1904,19 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
      * 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.
      *
@@ -1755,39 +1924,49 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * 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() { @@ -1797,27 +1976,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() { @@ -1830,8 +2017,13 @@ 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.
      *
@@ -1839,6 +2031,7 @@ public Builder clearTransaction() {
      * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1846,6 +2039,8 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 10; } /** + * + * *
      * Perform the read at the provided time.
      *
@@ -1853,6 +2048,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return The readTime. */ @java.lang.Override @@ -1870,6 +2066,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Perform the read at the provided time.
      *
@@ -1892,6 +2090,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Perform the read at the provided time.
      *
@@ -1900,8 +2100,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();
@@ -1912,6 +2111,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Perform the read at the provided time.
      *
@@ -1922,10 +2123,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;
         }
@@ -1941,6 +2145,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Perform the read at the provided time.
      *
@@ -1966,6 +2172,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Perform the read at the provided time.
      *
@@ -1978,6 +2186,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Perform the read at the provided time.
      *
@@ -1998,6 +2208,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Perform the read at the provided time.
      *
@@ -2007,14 +2219,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());
@@ -2025,8 +2242,10 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       return readTimeBuilder_;
     }
 
-    private boolean showMissing_ ;
+    private boolean showMissing_;
     /**
+     *
+     *
      * 
      * If the list should show missing documents.
      *
@@ -2040,6 +2259,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * 
* * bool show_missing = 12; + * * @return The showMissing. */ @java.lang.Override @@ -2047,6 +2267,8 @@ public boolean getShowMissing() { return showMissing_; } /** + * + * *
      * If the list should show missing documents.
      *
@@ -2060,6 +2282,7 @@ public boolean getShowMissing() {
      * 
* * bool show_missing = 12; + * * @param value The showMissing to set. * @return This builder for chaining. */ @@ -2071,6 +2294,8 @@ public Builder setShowMissing(boolean value) { return this; } /** + * + * *
      * If the list should show missing documents.
      *
@@ -2084,6 +2309,7 @@ public Builder setShowMissing(boolean value) {
      * 
* * bool show_missing = 12; + * * @return This builder for chaining. */ public Builder clearShowMissing() { @@ -2092,9 +2318,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); } @@ -2104,12 +2330,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(); } @@ -2118,27 +2344,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; @@ -2153,6 +2379,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 85% 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 a7c8ffeee3..60af59efb5 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
@@ -19,10 +37,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
@@ -34,12 +55,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.
    *
@@ -50,10 +73,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.
    *
@@ -64,12 +90,14 @@ 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.
    *
@@ -77,11 +105,14 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous `ListDocuments` response.
    *
@@ -91,10 +122,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.
    *
@@ -104,12 +138,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.
    *
@@ -121,10 +157,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.
    *
@@ -136,12 +175,14 @@ 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.
    *
@@ -149,11 +190,15 @@ public interface ListDocumentsRequestOrBuilder extends
    * 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.
    *
@@ -161,11 +206,15 @@ public interface ListDocumentsRequestOrBuilder extends
    * 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.
    *
@@ -173,30 +222,39 @@ public interface ListDocumentsRequestOrBuilder extends
    * 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.
    *
@@ -204,10 +262,13 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Perform the read at the provided time.
    *
@@ -215,10 +276,13 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Perform the read at the provided time.
    *
@@ -230,6 +294,8 @@ public interface ListDocumentsRequestOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * If the list should show missing documents.
    *
@@ -243,6 +309,7 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * bool show_missing = 12; + * * @return The showMissing. */ boolean getShowMissing(); 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 66a520196b..c8dfd967cb 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,28 +45,32 @@ private ListDocumentsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListDocumentsResponse();
   }
 
-  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.
    * 
@@ -60,6 +82,8 @@ public java.util.List getDocumentsList() { return documents_; } /** + * + * *
    * The Documents found.
    * 
@@ -67,11 +91,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.
    * 
@@ -83,6 +109,8 @@ public int getDocumentsCount() { return documents_.size(); } /** + * + * *
    * The Documents found.
    * 
@@ -94,6 +122,8 @@ public com.google.firestore.v1.Document getDocuments(int index) { return documents_.get(index); } /** + * + * *
    * The Documents found.
    * 
@@ -101,15 +131,17 @@ 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.
    *
@@ -117,6 +149,7 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,14 +158,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 token to retrieve the next page of documents.
    *
@@ -140,16 +174,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 { @@ -158,6 +191,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,8 +203,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)); } @@ -187,8 +220,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_); @@ -201,17 +233,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; } @@ -234,99 +265,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].
@@ -334,33 +370,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();
@@ -377,9 +412,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
@@ -398,9 +433,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;
     }
@@ -428,38 +466,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;
@@ -486,9 +525,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_);
           }
@@ -525,30 +565,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) {
@@ -558,21 +599,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.
      * 
@@ -587,6 +635,8 @@ public java.util.List getDocumentsList() { } } /** + * + * *
      * The Documents found.
      * 
@@ -601,6 +651,8 @@ public int getDocumentsCount() { } } /** + * + * *
      * The Documents found.
      * 
@@ -615,14 +667,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(); @@ -636,6 +689,8 @@ public Builder setDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -654,6 +709,8 @@ public Builder setDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -674,14 +731,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(); @@ -695,14 +753,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()); @@ -713,6 +772,8 @@ public Builder addDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -731,6 +792,8 @@ public Builder addDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -741,8 +804,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); @@ -750,6 +812,8 @@ public Builder addAllDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -767,6 +831,8 @@ public Builder clearDocuments() { return this; } /** + * + * *
      * The Documents found.
      * 
@@ -784,39 +850,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 { @@ -824,6 +895,8 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder( } } /** + * + * *
      * The Documents found.
      * 
@@ -831,42 +904,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_; @@ -874,6 +952,8 @@ public com.google.firestore.v1.Document.Builder addDocumentsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of documents.
      *
@@ -881,13 +961,13 @@ public com.google.firestore.v1.Document.Builder addDocumentsBuilder(
      * 
* * 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,6 +976,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of documents.
      *
@@ -903,15 +985,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 { @@ -919,6 +1000,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of documents.
      *
@@ -926,18 +1009,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 token to retrieve the next page of documents.
      *
@@ -945,6 +1032,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -954,6 +1042,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token to retrieve the next page of documents.
      *
@@ -961,21 +1051,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); } @@ -985,12 +1077,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(); } @@ -999,27 +1091,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; @@ -1034,6 +1126,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 cbb0426f10..8d8a324905 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,25 +54,29 @@ 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.
    *
@@ -59,10 +84,13 @@ com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of documents.
    *
@@ -70,8 +98,8 @@ com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(
    * 
* * 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 66% 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 15387bd514..dde98c7faf 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,70 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -80,33 +102,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 @@ -115,30 +144,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 { @@ -148,11 +177,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 @@ -160,21 +192,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.
    * 
@@ -184,18 +221,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 @@ -203,11 +243,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 @@ -219,32 +262,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.
    * 
@@ -252,20 +297,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.
    * 
@@ -277,6 +323,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels associated with this target change.
    * 
@@ -284,17 +332,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.
    * 
@@ -302,11 +352,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(); } @@ -314,6 +364,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -325,8 +376,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_); } @@ -334,15 +384,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); } @@ -356,23 +401,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; @@ -382,26 +428,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: @@ -440,154 +482,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(); @@ -603,9 +646,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 @@ -624,8 +667,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; @@ -645,8 +691,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(); } } @@ -655,38 +700,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; @@ -700,21 +746,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(); @@ -742,38 +790,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) { @@ -783,12 +836,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() { @@ -802,19 +855,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; @@ -823,21 +878,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 { @@ -845,30 +901,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() { @@ -878,18 +941,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; @@ -898,13 +965,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 @@ -912,11 +985,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 @@ -934,6 +1010,8 @@ public com.google.firestore.v1.Target getAddTarget() { } } /** + * + * *
      * A target to add to this stream.
      * 
@@ -954,14 +1032,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(); @@ -972,6 +1051,8 @@ public Builder setAddTarget( return this; } /** + * + * *
      * A target to add to this stream.
      * 
@@ -980,10 +1061,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; } @@ -999,6 +1083,8 @@ public Builder mergeAddTarget(com.google.firestore.v1.Target value) { return this; } /** + * + * *
      * A target to add to this stream.
      * 
@@ -1022,6 +1108,8 @@ public Builder clearAddTarget() { return this; } /** + * + * *
      * A target to add to this stream.
      * 
@@ -1032,6 +1120,8 @@ public com.google.firestore.v1.Target.Builder getAddTargetBuilder() { return getAddTargetFieldBuilder().getBuilder(); } /** + * + * *
      * A target to add to this stream.
      * 
@@ -1050,6 +1140,8 @@ public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { } } /** + * + * *
      * A target to add to this stream.
      * 
@@ -1057,17 +1149,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; @@ -1076,22 +1171,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() { @@ -1101,11 +1202,14 @@ 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. */ @@ -1117,11 +1221,14 @@ public Builder setRemoveTarget(int value) { return this; } /** + * + * *
      * The ID of a target to remove from this stream.
      * 
* * int32 remove_target = 3; + * * @return This builder for chaining. */ public Builder clearRemoveTarget() { @@ -1133,21 +1240,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(); @@ -1156,10 +1261,13 @@ public Builder clearRemoveTarget() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this target change.
      * 
@@ -1167,20 +1275,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.
      * 
@@ -1192,6 +1301,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this target change.
      * 
@@ -1199,17 +1310,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.
      * 
@@ -1217,79 +1330,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); } @@ -1299,12 +1414,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(); } @@ -1313,27 +1428,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; @@ -1348,6 +1463,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 bb80ac7c50..4639270be3 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); 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 e5e8911a5b..564c5f7690 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,52 +1,73 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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(); } - 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; + @SuppressWarnings("serial") 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), @@ -55,6 +76,7 @@ public enum ResponseTypeCase FILTER(5), RESPONSETYPE_NOT_SET(0); private final int value; + private ResponseTypeCase(int value) { this.value = value; } @@ -70,33 +92,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 @@ -104,21 +135,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.
    * 
@@ -128,18 +164,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 @@ -147,21 +186,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.
    * 
@@ -171,18 +215,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 @@ -190,21 +237,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.
    * 
@@ -214,19 +266,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 @@ -234,22 +289,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).
@@ -260,13 +320,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.
@@ -276,6 +338,7 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -283,6 +346,8 @@ public boolean hasFilter() { return responseTypeCase_ == 5; } /** + * + * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -292,16 +357,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.
@@ -315,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;
@@ -332,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_);
     }
@@ -359,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;
@@ -386,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);
@@ -396,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:
@@ -458,132 +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(); @@ -609,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 @@ -630,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; @@ -644,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(); } } @@ -670,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; @@ -711,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(); @@ -761,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) { @@ -811,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() { @@ -829,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 @@ -843,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 @@ -865,6 +947,8 @@ public com.google.firestore.v1.TargetChange getTargetChange() { } } /** + * + * *
      * Targets have changed.
      * 
@@ -885,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(); @@ -903,6 +988,8 @@ public Builder setTargetChange( return this; } /** + * + * *
      * Targets have changed.
      * 
@@ -911,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; } @@ -930,6 +1020,8 @@ public Builder mergeTargetChange(com.google.firestore.v1.TargetChange value) { return this; } /** + * + * *
      * Targets have changed.
      * 
@@ -953,6 +1045,8 @@ public Builder clearTargetChange() { return this; } /** + * + * *
      * Targets have changed.
      * 
@@ -963,6 +1057,8 @@ public com.google.firestore.v1.TargetChange.Builder getTargetChangeBuilder() { return getTargetChangeFieldBuilder().getBuilder(); } /** + * + * *
      * Targets have changed.
      * 
@@ -981,6 +1077,8 @@ public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() } } /** + * + * *
      * Targets have changed.
      * 
@@ -988,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()); @@ -1007,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 @@ -1021,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 @@ -1043,6 +1155,8 @@ public com.google.firestore.v1.DocumentChange getDocumentChange() { } } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1063,6 +1177,8 @@ public Builder setDocumentChange(com.google.firestore.v1.DocumentChange value) { return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1081,6 +1197,8 @@ public Builder setDocumentChange( return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1089,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; } @@ -1108,6 +1229,8 @@ public Builder mergeDocumentChange(com.google.firestore.v1.DocumentChange value) return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1131,6 +1254,8 @@ public Builder clearDocumentChange() { return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1141,6 +1266,8 @@ public com.google.firestore.v1.DocumentChange.Builder getDocumentChangeBuilder() return getDocumentChangeFieldBuilder().getBuilder(); } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1159,6 +1286,8 @@ public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilde } } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1166,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()); @@ -1185,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 @@ -1199,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 @@ -1221,6 +1364,8 @@ public com.google.firestore.v1.DocumentDelete getDocumentDelete() { } } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1241,6 +1386,8 @@ public Builder setDocumentDelete(com.google.firestore.v1.DocumentDelete value) { return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1259,6 +1406,8 @@ public Builder setDocumentDelete( return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1267,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; } @@ -1286,6 +1438,8 @@ public Builder mergeDocumentDelete(com.google.firestore.v1.DocumentDelete value) return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1309,6 +1463,8 @@ public Builder clearDocumentDelete() { return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1319,6 +1475,8 @@ public com.google.firestore.v1.DocumentDelete.Builder getDocumentDeleteBuilder() return getDocumentDeleteFieldBuilder().getBuilder(); } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1337,6 +1495,8 @@ public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilde } } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1344,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()); @@ -1363,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 @@ -1378,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 @@ -1401,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).
@@ -1422,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).
@@ -1441,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).
@@ -1450,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;
         }
@@ -1469,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).
@@ -1493,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).
@@ -1504,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).
@@ -1523,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).
@@ -1531,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());
@@ -1550,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.
@@ -1561,6 +1762,7 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
      * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -1568,6 +1770,8 @@ public boolean hasFilter() { return responseTypeCase_ == 5; } /** + * + * *
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1577,6 +1781,7 @@ public boolean hasFilter() {
      * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return The filter. */ @java.lang.Override @@ -1594,6 +1799,8 @@ public com.google.firestore.v1.ExistenceFilter getFilter() { } } /** + * + * *
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1618,6 +1825,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.
@@ -1628,8 +1837,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();
@@ -1640,6 +1848,8 @@ public Builder setFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1652,10 +1862,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;
         }
@@ -1671,6 +1884,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.
@@ -1698,6 +1913,8 @@ public Builder clearFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1712,6 +1929,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.
@@ -1734,6 +1953,8 @@ public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1745,14 +1966,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());
@@ -1762,9 +1988,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);
     }
 
@@ -1774,12 +2000,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();
   }
@@ -1788,27 +2014,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;
@@ -1823,6 +2049,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 85%
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 6440652c88..9ac88e83a3 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.
@@ -128,10 +178,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.
@@ -141,10 +194,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 5885a4faad..5687ee61c2 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,86 +1,107 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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(); } - 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.
    *
@@ -93,20 +114,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.
    *
@@ -123,6 +145,8 @@ public java.util.Map getFieldsM
     return internalGetFields().getMap();
   }
   /**
+   *
+   *
    * 
    * The map's fields.
    *
@@ -135,17 +159,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.
    *
@@ -158,9 +185,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)) {
@@ -170,6 +198,7 @@ public com.google.firestore.v1.Value getFieldsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -181,14 +210,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);
   }
 
@@ -198,15 +222,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;
@@ -216,15 +240,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;
   }
@@ -245,154 +268,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(); @@ -402,9 +426,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 @@ -424,7 +448,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; } @@ -441,38 +467,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; @@ -481,8 +508,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(); @@ -510,21 +536,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) { @@ -534,23 +565,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(); @@ -559,10 +590,13 @@ public Builder mergeFrom( onChanged(); return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
      * The map's fields.
      *
@@ -575,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.
      *
@@ -605,6 +640,8 @@ public java.util.Map getFieldsM
       return internalGetFields().getMap();
     }
     /**
+     *
+     *
      * 
      * The map's fields.
      *
@@ -617,17 +654,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.
      *
@@ -640,9 +680,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)) {
@@ -650,13 +691,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.
      *
@@ -668,23 +711,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.
      *
@@ -696,17 +738,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.
      *
@@ -720,14 +765,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);
     }
 
@@ -737,12 +781,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();
   }
@@ -751,27 +795,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;
@@ -786,6 +830,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 8ef892fb68..ffb23f150f 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.
    *
@@ -21,6 +39,8 @@ public interface MapValueOrBuilder extends
    */
   int getFieldsCount();
   /**
+   *
+   *
    * 
    * The map's fields.
    *
@@ -32,15 +52,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.
    *
@@ -52,9 +70,10 @@ boolean containsFields(
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
-  java.util.Map
-  getFieldsMap();
+  java.util.Map getFieldsMap();
   /**
+   *
+   *
    * 
    * The map's fields.
    *
@@ -67,11 +86,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.
    *
@@ -83,6 +104,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 6214f4b04b..b1f04ce3e2 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,33 +45,38 @@ private PartitionQueryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PartitionQueryRequest();
   }
 
-  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;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -69,31 +92,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;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -109,26 +138,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`.
@@ -137,6 +171,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -145,14 +180,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`.
@@ -161,16 +197,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 { @@ -180,6 +215,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
@@ -188,6 +225,7 @@ public java.lang.String getParent() {
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -195,6 +233,8 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -203,16 +243,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
@@ -225,7 +268,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();
   }
@@ -233,6 +276,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.
@@ -245,6 +290,7 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
    * 
* * int64 partition_count = 3; + * * @return The partitionCount. */ @java.lang.Override @@ -253,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.
@@ -273,6 +322,7 @@ public long getPartitionCount() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -281,14 +331,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.
@@ -306,16 +357,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 { @@ -326,6 +376,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`.
@@ -337,6 +389,7 @@ public java.lang.String getPageToken() {
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -346,12 +399,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 @@ -359,22 +415,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.
@@ -385,12 +446,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;
@@ -402,8 +464,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_);
     }
@@ -435,23 +496,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;
@@ -461,26 +522,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:
@@ -488,8 +545,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:
@@ -508,8 +564,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;
@@ -535,99 +590,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].
@@ -635,33 +695,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();
@@ -684,9 +743,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
@@ -705,8 +764,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;
@@ -731,14 +793,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();
       }
     }
@@ -747,38 +807,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;
@@ -804,22 +865,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();
@@ -847,46 +912,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) {
@@ -896,12 +964,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() {
@@ -913,10 +981,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() {
@@ -930,6 +997,8 @@ public Builder clearConsistencySelector() {
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -938,13 +1007,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; @@ -953,6 +1022,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -961,15 +1032,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 { @@ -977,6 +1047,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -985,18 +1057,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`.
@@ -1005,6 +1081,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1014,6 +1091,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -1022,12 +1101,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; @@ -1036,8 +1117,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
@@ -1046,6 +1132,7 @@ public Builder setParentBytes(
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -1053,6 +1140,8 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1061,6 +1150,7 @@ public boolean hasStructuredQuery() {
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override @@ -1078,6 +1168,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1101,6 +1193,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
@@ -1122,6 +1216,8 @@ public Builder setStructuredQuery(
       return this;
     }
     /**
+     *
+     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1133,10 +1229,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;
         }
@@ -1152,6 +1251,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
@@ -1178,6 +1279,8 @@ public Builder clearStructuredQuery() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1191,6 +1294,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
@@ -1212,6 +1317,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1222,14 +1329,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());
@@ -1240,8 +1352,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.
@@ -1254,6 +1368,7 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
      * 
* * int64 partition_count = 3; + * * @return The partitionCount. */ @java.lang.Override @@ -1261,6 +1376,8 @@ public long getPartitionCount() { return partitionCount_; } /** + * + * *
      * The desired maximum number of partition points.
      * The partitions may be returned across multiple pages of results.
@@ -1273,6 +1390,7 @@ public long getPartitionCount() {
      * 
* * int64 partition_count = 3; + * * @param value The partitionCount to set. * @return This builder for chaining. */ @@ -1284,6 +1402,8 @@ public Builder setPartitionCount(long value) { return this; } /** + * + * *
      * The desired maximum number of partition points.
      * The partitions may be returned across multiple pages of results.
@@ -1296,6 +1416,7 @@ public Builder setPartitionCount(long value) {
      * 
* * int64 partition_count = 3; + * * @return This builder for chaining. */ public Builder clearPartitionCount() { @@ -1307,6 +1428,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.
@@ -1324,13 +1447,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; @@ -1339,6 +1462,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.
@@ -1356,15 +1481,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 { @@ -1372,6 +1496,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.
@@ -1389,18 +1515,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.
@@ -1418,6 +1548,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1427,6 +1558,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.
@@ -1444,12 +1577,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; @@ -1457,8 +1592,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`.
@@ -1470,6 +1607,7 @@ public Builder setPageTokenBytes(
      * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -1477,6 +1615,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1488,6 +1628,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 5; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1499,6 +1640,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1510,6 +1653,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 5; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1520,14 +1664,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 @@ -1535,12 +1685,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 @@ -1558,6 +1711,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1579,6 +1734,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.
@@ -1586,8 +1743,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();
@@ -1598,6 +1754,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1607,10 +1765,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;
         }
@@ -1626,6 +1787,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.
@@ -1650,6 +1813,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1661,6 +1826,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.
@@ -1680,6 +1847,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1688,14 +1857,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());
@@ -1705,9 +1879,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);
     }
 
@@ -1717,12 +1891,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();
   }
@@ -1731,27 +1905,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;
@@ -1766,6 +1940,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 4b07dc40ce..95952b30d6 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.
@@ -82,11 +113,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.
@@ -104,10 +138,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.
@@ -125,12 +162,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`.
@@ -142,31 +181,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.
@@ -178,5 +226,6 @@ public interface PartitionQueryRequestOrBuilder extends
 
   com.google.firestore.v1.PartitionQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  com.google.firestore.v1.PartitionQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  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 f8b423fc93..50419b0298 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,28 +45,32 @@ private PartitionQueryResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PartitionQueryResponse();
   }
 
-  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
@@ -76,6 +98,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
@@ -99,11 +123,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
@@ -131,6 +157,8 @@ public int getPartitionsCount() {
     return partitions_.size();
   }
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -158,6 +186,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
@@ -181,15 +211,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.
@@ -197,6 +229,7 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -205,14 +238,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.
@@ -220,16 +254,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 { @@ -238,6 +271,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,8 +283,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)); } @@ -267,8 +300,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_); @@ -281,17 +313,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; } @@ -314,99 +345,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].
@@ -414,33 +450,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();
@@ -457,9 +492,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
@@ -478,9 +513,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;
     }
@@ -508,38 +546,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;
@@ -566,9 +605,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_);
           }
@@ -605,30 +645,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) {
@@ -638,21 +679,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
@@ -683,6 +731,8 @@ public java.util.List getPartitionsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -713,6 +763,8 @@ public int getPartitionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -743,6 +795,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
@@ -765,8 +819,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();
@@ -780,6 +833,8 @@ public Builder setPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -814,6 +869,8 @@ public Builder setPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -850,6 +907,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
@@ -872,8 +931,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();
@@ -887,6 +945,8 @@ public Builder addPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -909,8 +969,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());
@@ -921,6 +980,8 @@ public Builder addPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -955,6 +1016,8 @@ public Builder addPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -981,8 +1044,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);
@@ -990,6 +1052,8 @@ public Builder addAllPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1023,6 +1087,8 @@ public Builder clearPartitions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1056,6 +1122,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
@@ -1078,11 +1146,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
@@ -1105,14 +1174,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
@@ -1135,8 +1206,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 {
@@ -1144,6 +1215,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
@@ -1167,10 +1240,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
@@ -1193,12 +1268,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
@@ -1221,20 +1297,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_;
@@ -1242,6 +1320,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.
@@ -1249,13 +1329,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; @@ -1264,6 +1344,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.
@@ -1271,15 +1353,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 { @@ -1287,6 +1368,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.
@@ -1294,18 +1377,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.
@@ -1313,6 +1400,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1322,6 +1410,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.
@@ -1329,21 +1419,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); } @@ -1353,12 +1445,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(); } @@ -1367,27 +1459,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; @@ -1402,6 +1494,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 ef506fa407..994894a106 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
@@ -30,9 +48,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
@@ -57,6 +76,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
@@ -81,6 +102,8 @@ public interface PartitionQueryResponseOrBuilder extends
    */
   int getPartitionsCount();
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -103,9 +126,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
@@ -128,10 +152,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.
@@ -139,10 +164,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.
@@ -150,8 +178,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 b7b2da3dfa..a7f670dc05 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,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/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -67,31 +89,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 @@ -99,12 +127,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 @@ -117,12 +148,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 @@ -130,22 +164,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.
@@ -156,12 +195,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;
@@ -173,11 +213,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_);
@@ -192,13 +230,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;
@@ -208,7 +247,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);
@@ -218,12 +257,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:
@@ -242,8 +279,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;
@@ -257,132 +293,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(); @@ -396,9 +435,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 @@ -418,7 +457,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; @@ -431,8 +472,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(); } } @@ -441,38 +481,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; @@ -482,17 +523,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(); @@ -520,24 +564,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) { @@ -547,12 +592,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() { @@ -565,24 +610,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() { @@ -592,12 +643,15 @@ 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. */ @@ -609,12 +663,15 @@ public Builder setExists(boolean value) { 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() { @@ -627,14 +684,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 @@ -642,12 +705,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 @@ -665,6 +731,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.
@@ -686,6 +754,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.
@@ -693,8 +763,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();
@@ -705,6 +774,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.
@@ -714,10 +785,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;
         }
@@ -733,6 +807,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.
@@ -757,6 +833,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.
@@ -768,6 +846,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.
@@ -787,6 +867,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.
@@ -795,26 +877,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);
     }
 
@@ -824,12 +909,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();
   }
@@ -838,27 +923,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;
@@ -873,6 +958,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 82378636a0..9712dbf970 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 0000000000..b6f464ca89
--- /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\"\205\003\n\032StructuredAggre"
+          + "gationQuery\022@\n\020structured_query\030\001 \001(\0132$."
+          + "google.firestore.v1.StructuredQueryH\000\022W\n"
+          + "\014aggregations\030\003 \003(\0132;.google.firestore.v"
+          + "1.StructuredAggregationQuery.Aggregation"
+          + "B\004\342A\001\001\032\275\001\n\013Aggregation\022R\n\005count\030\001 \001(\0132A."
+          + "google.firestore.v1.StructuredAggregatio"
+          + "nQuery.Aggregation.CountH\000\022\023\n\005alias\030\007 \001("
+          + "\tB\004\342A\001\001\0329\n\005Count\0220\n\005up_to\030\001 \001(\0132\033.google"
+          + ".protobuf.Int64ValueB\004\342A\001\001B\n\n\010operatorB\014"
+          + "\n\nquery_type\"D\n\006Cursor\022*\n\006values\030\001 \003(\0132\032"
+          + ".google.firestore.v1.Value\022\016\n\006before\030\002 \001"
+          + "(\010B\302\001\n\027com.google.firestore.v1B\nQueryPro"
+          + "toP\001Z;cloud.google.com/go/firestore/apiv"
+          + "1/firestorepb;firestorepb\242\002\004GCFS\252\002\031Googl"
+          + "e.Cloud.Firestore.V1\312\002\031Google\\Cloud\\Fire"
+          + "store\\V1\352\002\034Google::Cloud::Firestore::V1b"
+          + "\006proto3"
+    };
+    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 69%
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 053af1b8c6..b95c6264a1 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,34 +44,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(); } - 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 @@ -62,30 +85,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 { @@ -96,11 +119,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 @@ -109,6 +135,7 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,8 +147,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_); } @@ -141,8 +167,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; @@ -152,17 +177,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; } @@ -183,132 +206,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(); @@ -319,9 +346,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 @@ -340,8 +367,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; } @@ -360,38 +390,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; @@ -434,22 +465,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) { @@ -459,23 +493,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; @@ -484,21 +521,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 { @@ -506,30 +544,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() { @@ -539,18 +584,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; @@ -560,11 +609,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 @@ -572,27 +624,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() { @@ -601,9 +661,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); } @@ -613,12 +673,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(); } @@ -627,27 +687,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; @@ -662,6 +722,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 30c7378eef..5dae3e0b7b 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 a9dcf95fd8..fc41e1c74b 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,48 +28,54 @@
  *
  * 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();
   }
 
-  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;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -68,33 +91,39 @@ 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;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -110,28 +139,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
@@ -142,6 +178,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -150,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
@@ -168,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 { @@ -187,11 +224,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 @@ -199,21 +239,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.
    * 
@@ -221,15 +266,18 @@ 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.
    *
@@ -237,6 +285,7 @@ public com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructured
    * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -244,6 +293,8 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** + * + * *
    * Run the aggregation within an already active transaction.
    *
@@ -251,6 +302,7 @@ public boolean hasTransaction() {
    * 
* * bytes transaction = 4; + * * @return The transaction. */ @java.lang.Override @@ -263,6 +315,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.
    *
@@ -271,6 +325,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 +333,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    *
@@ -286,16 +343,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.
    *
@@ -308,13 +368,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.
    *
@@ -324,6 +386,7 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -331,6 +394,8 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** + * + * *
    * Executes the query at the given timestamp.
    *
@@ -340,16 +405,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.
    *
@@ -363,12 +431,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;
@@ -380,8 +449,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_);
     }
@@ -389,8 +457,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_);
@@ -411,21 +478,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;
@@ -435,20 +505,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:
@@ -456,16 +526,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:
@@ -513,98 +580,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].
@@ -612,33 +684,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();
@@ -661,9 +732,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
@@ -682,8 +753,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;
@@ -699,18 +773,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();
       }
     }
@@ -719,38 +790,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;
@@ -758,37 +830,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();
@@ -816,43 +895,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) {
@@ -862,12 +942,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() {
@@ -879,10 +959,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() {
@@ -896,6 +975,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
@@ -906,13 +987,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; @@ -921,6 +1002,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -931,15 +1014,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 { @@ -947,6 +1029,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -957,18 +1041,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
@@ -979,6 +1067,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -988,6 +1077,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -998,12 +1089,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; @@ -1012,13 +1105,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 @@ -1026,11 +1126,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 @@ -1048,13 +1152,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(); @@ -1068,11 +1176,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) { @@ -1086,18 +1197,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; } @@ -1113,11 +1232,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) { @@ -1136,24 +1258,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 { @@ -1164,21 +1294,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()); @@ -1190,6 +1328,8 @@ public com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructured } /** + * + * *
      * Run the aggregation within an already active transaction.
      *
@@ -1197,12 +1337,15 @@ public com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructured
      * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** + * + * *
      * Run the aggregation within an already active transaction.
      *
@@ -1210,6 +1353,7 @@ public boolean hasTransaction() {
      * 
* * bytes transaction = 4; + * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1219,6 +1363,8 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * Run the aggregation within an already active transaction.
      *
@@ -1226,17 +1372,22 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * 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.
      *
@@ -1244,6 +1395,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 4; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1256,8 +1408,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.
      *
@@ -1266,6 +1423,7 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1273,6 +1431,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      *
@@ -1281,6 +1441,7 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return The newTransaction. */ @java.lang.Override @@ -1298,6 +1459,8 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** + * + * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      *
@@ -1321,6 +1484,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.
      *
@@ -1342,6 +1507,8 @@ public Builder setNewTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      *
@@ -1353,10 +1520,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;
         }
@@ -1372,6 +1543,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.
      *
@@ -1398,6 +1571,8 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      *
@@ -1411,6 +1586,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.
      *
@@ -1432,6 +1609,8 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      *
@@ -1442,14 +1621,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());
@@ -1461,8 +1645,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.
      *
@@ -1472,6 +1661,7 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1479,6 +1669,8 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** + * + * *
      * Executes the query at the given timestamp.
      *
@@ -1488,6 +1680,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ @java.lang.Override @@ -1505,6 +1698,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Executes the query at the given timestamp.
      *
@@ -1529,6 +1724,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      *
@@ -1539,8 +1736,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();
@@ -1551,6 +1747,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      *
@@ -1563,10 +1761,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;
         }
@@ -1582,6 +1783,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      *
@@ -1609,6 +1812,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      *
@@ -1623,6 +1828,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      *
@@ -1645,6 +1852,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      *
@@ -1656,14 +1865,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());
@@ -1673,9 +1887,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);
     }
 
@@ -1685,12 +1899,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();
   }
@@ -1699,27 +1913,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;
@@ -1734,6 +1948,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 2e5a1bb7da..87bbcc0d39 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,39 +53,50 @@ 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.
    *
@@ -72,10 +104,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Run the aggregation within an already active transaction.
    *
@@ -83,11 +118,14 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * bytes transaction = 4; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    *
@@ -96,10 +134,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.
    *
@@ -108,10 +149,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.
    *
@@ -124,6 +168,8 @@ public interface RunAggregationQueryRequestOrBuilder extends
   com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Executes the query at the given timestamp.
    *
@@ -133,10 +179,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.
    *
@@ -146,10 +195,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.
    *
@@ -164,5 +216,6 @@ public interface RunAggregationQueryRequestOrBuilder extends
 
   com.google.firestore.v1.RunAggregationQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  com.google.firestore.v1.RunAggregationQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  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 b616c2da85..bd17304715 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,42 +28,46 @@
  *
  * 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();
   }
 
-  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.
    *
@@ -54,6 +75,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return Whether the result field is set. */ @java.lang.Override @@ -61,6 +83,8 @@ public boolean hasResult() { return result_ != null; } /** + * + * *
    * A single aggregation result.
    *
@@ -68,13 +92,18 @@ public boolean hasResult() {
    * 
* * .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.
    *
@@ -85,12 +114,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.
    *
@@ -99,6 +132,7 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
    * 
* * bytes transaction = 2; + * * @return The transaction. */ @java.lang.Override @@ -109,6 +143,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
@@ -140,6 +179,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ @java.lang.Override @@ -147,6 +187,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
@@ -166,6 +208,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -177,8 +220,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());
     }
@@ -198,16 +240,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;
@@ -217,24 +256,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;
@@ -263,98 +300,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].
@@ -362,33 +404,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();
@@ -408,9 +449,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
@@ -429,8 +470,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;
     }
@@ -438,17 +482,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();
       }
     }
 
@@ -456,38 +496,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;
@@ -495,7 +536,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());
       }
@@ -531,31 +573,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) {
@@ -565,12 +607,18 @@ 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.
      *
@@ -578,12 +626,15 @@ public Builder mergeFrom(
      * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return Whether the result field is set. */ public boolean hasResult() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * A single aggregation result.
      *
@@ -591,16 +642,21 @@ public boolean hasResult() {
      * 
* * .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.
      *
@@ -623,6 +679,8 @@ public Builder setResult(com.google.firestore.v1.AggregationResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      *
@@ -631,8 +689,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 {
@@ -643,6 +700,8 @@ public Builder setResult(
       return this;
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      *
@@ -653,9 +712,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;
@@ -668,6 +727,8 @@ public Builder mergeResult(com.google.firestore.v1.AggregationResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      *
@@ -687,6 +748,8 @@ public Builder clearResult() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      *
@@ -701,6 +764,8 @@ public com.google.firestore.v1.AggregationResult.Builder getResultBuilder() {
       return getResultFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      *
@@ -713,11 +778,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.
      *
@@ -727,14 +795,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_;
@@ -742,6 +813,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.
      *
@@ -750,6 +823,7 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
      * 
* * bytes transaction = 2; + * * @return The transaction. */ @java.lang.Override @@ -757,6 +831,8 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** + * + * *
      * The transaction that was started as part of this request.
      *
@@ -765,17 +841,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.
      *
@@ -784,6 +865,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 2; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -795,8 +877,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
@@ -809,12 +896,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
@@ -827,6 +917,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -837,6 +928,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
@@ -864,6 +957,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
@@ -877,8 +972,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 {
@@ -889,6 +983,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
@@ -904,9 +1000,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;
@@ -919,6 +1015,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
@@ -943,6 +1041,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
@@ -962,6 +1062,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
@@ -979,11 +1081,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
@@ -998,21 +1101,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);
     }
 
@@ -1022,12 +1128,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();
   }
@@ -1036,27 +1142,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;
@@ -1071,6 +1177,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 64a79794d9..ce565ed344 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,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 RunAggregationQueryResponseOrBuilder extends
+public interface RunAggregationQueryResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunAggregationQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A single aggregation result.
    *
@@ -15,10 +33,13 @@ public interface RunAggregationQueryResponseOrBuilder extends
    * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return Whether the result field is set. */ boolean hasResult(); /** + * + * *
    * A single aggregation result.
    *
@@ -26,10 +47,13 @@ public interface RunAggregationQueryResponseOrBuilder extends
    * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return The result. */ com.google.firestore.v1.AggregationResult getResult(); /** + * + * *
    * A single aggregation result.
    *
@@ -41,6 +65,8 @@ public interface RunAggregationQueryResponseOrBuilder extends
   com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder();
 
   /**
+   *
+   *
    * 
    * The transaction that was started as part of this request.
    *
@@ -49,11 +75,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
@@ -66,10 +95,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
@@ -82,10 +114,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 121fb88607..89a5d81890 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,57 +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/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -67,33 +90,39 @@ 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; + @SuppressWarnings("serial") 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; } @@ -109,28 +138,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
@@ -141,6 +177,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -149,14 +186,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
@@ -167,16 +205,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 { @@ -186,11 +223,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 @@ -198,21 +238,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.
    * 
@@ -222,13 +267,15 @@ 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.
    *
@@ -236,6 +283,7 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
    * 
* * bytes transaction = 5; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -243,6 +291,8 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
    * Run the query within an already active transaction.
    *
@@ -250,6 +300,7 @@ public boolean hasTransaction() {
    * 
* * bytes transaction = 5; + * * @return The transaction. */ @java.lang.Override @@ -262,6 +313,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.
@@ -270,6 +323,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -277,6 +331,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 6; } /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -285,16 +341,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.
@@ -307,19 +366,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 @@ -327,22 +389,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.
@@ -353,12 +420,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;
@@ -370,8 +438,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_);
     }
@@ -379,8 +446,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_);
@@ -401,21 +467,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;
@@ -425,20 +494,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:
@@ -446,16 +513,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:
@@ -502,132 +566,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(); @@ -650,9 +718,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 @@ -671,8 +739,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; @@ -688,18 +759,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(); } } @@ -708,38 +776,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; @@ -754,30 +823,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(); @@ -805,43 +880,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) { @@ -851,12 +926,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() { @@ -868,10 +943,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() { @@ -885,6 +959,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
@@ -895,13 +971,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; @@ -910,6 +986,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -920,15 +998,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 { @@ -936,6 +1013,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -946,18 +1025,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
@@ -968,6 +1051,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -977,6 +1061,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -987,12 +1073,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; @@ -1001,13 +1089,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 @@ -1015,11 +1109,14 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override @@ -1037,6 +1134,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
      * A structured query.
      * 
@@ -1057,6 +1156,8 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** + * + * *
      * A structured query.
      * 
@@ -1075,6 +1176,8 @@ public Builder setStructuredQuery( return this; } /** + * + * *
      * A structured query.
      * 
@@ -1083,10 +1186,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; } @@ -1102,6 +1208,8 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** + * + * *
      * A structured query.
      * 
@@ -1125,6 +1233,8 @@ public Builder clearStructuredQuery() { return this; } /** + * + * *
      * A structured query.
      * 
@@ -1135,6 +1245,8 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** + * + * *
      * A structured query.
      * 
@@ -1153,6 +1265,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** + * + * *
      * A structured query.
      * 
@@ -1160,14 +1274,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()); @@ -1179,6 +1298,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } /** + * + * *
      * Run the query within an already active transaction.
      *
@@ -1186,12 +1307,15 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
      * 
* * bytes transaction = 5; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
      * Run the query within an already active transaction.
      *
@@ -1199,6 +1323,7 @@ public boolean hasTransaction() {
      * 
* * bytes transaction = 5; + * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1208,6 +1333,8 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * Run the query within an already active transaction.
      *
@@ -1215,17 +1342,22 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * 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.
      *
@@ -1233,6 +1365,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 5; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1245,8 +1378,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.
@@ -1255,6 +1393,7 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1262,6 +1401,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 6; } /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1270,6 +1411,7 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; + * * @return The newTransaction. */ @java.lang.Override @@ -1287,6 +1429,8 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1310,6 +1454,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.
@@ -1331,6 +1477,8 @@ public Builder setNewTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1342,10 +1490,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;
         }
@@ -1361,6 +1513,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.
@@ -1387,6 +1541,8 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1400,6 +1556,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.
@@ -1421,6 +1579,8 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1431,14 +1591,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());
@@ -1450,14 +1615,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 @@ -1465,12 +1636,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 @@ -1488,6 +1662,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1509,6 +1685,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.
@@ -1516,8 +1694,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();
@@ -1528,6 +1705,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1537,10 +1716,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;
         }
@@ -1556,6 +1738,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.
@@ -1580,6 +1764,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1591,6 +1777,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.
@@ -1610,6 +1798,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1618,14 +1808,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());
@@ -1635,9 +1830,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);
     }
 
@@ -1647,12 +1842,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();
   }
@@ -1661,27 +1856,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;
@@ -1696,6 +1891,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 84%
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 1cb16016bb..e8dba4785d 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,6 +94,8 @@ public interface RunQueryRequestOrBuilder extends com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder(); /** + * + * *
    * Run the query within an already active transaction.
    *
@@ -72,10 +103,13 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * bytes transaction = 5; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Run the query within an already active transaction.
    *
@@ -83,11 +117,14 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * 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.
@@ -96,10 +133,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.
@@ -108,10 +148,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.
@@ -124,26 +167,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.
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 ee4919776e..4420dc3415 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,48 +28,54 @@
  *
  * 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();
   }
 
-  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;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -68,25 +91,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
@@ -96,6 +123,7 @@ public int getNumber() {
    * 
* * bytes transaction = 2; + * * @return The transaction. */ @java.lang.Override @@ -106,11 +134,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 @@ -118,11 +149,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 @@ -130,6 +164,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.
    * 
@@ -144,6 +180,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
@@ -155,6 +193,7 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -162,6 +201,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
@@ -173,6 +214,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ @java.lang.Override @@ -180,6 +222,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
@@ -200,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 @@ -215,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 @@ -228,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 @@ -245,6 +298,7 @@ public boolean getDone() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,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()); } @@ -271,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); } @@ -284,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; @@ -312,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: @@ -368,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: @@ -379,99 +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].
@@ -479,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();
@@ -528,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
@@ -549,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;
@@ -562,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_;
@@ -585,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;
@@ -638,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();
@@ -672,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) {
@@ -716,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() {
@@ -735,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
@@ -744,6 +796,7 @@ public Builder clearContinuationSelector() {
      * 
* * bytes transaction = 2; + * * @return The transaction. */ @java.lang.Override @@ -751,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
@@ -760,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
@@ -780,6 +840,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 2; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -791,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.
      * 
@@ -839,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 { @@ -857,6 +932,8 @@ public Builder setDocument( return this; } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -865,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; @@ -880,6 +957,8 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -897,6 +976,8 @@ public Builder clearDocument() { return this; } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -909,6 +990,8 @@ public com.google.firestore.v1.Document.Builder getDocumentBuilder() { return getDocumentFieldBuilder().getBuilder(); } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -919,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.
      * 
@@ -931,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_; @@ -946,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
@@ -959,12 +1053,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
@@ -976,6 +1073,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -986,6 +1084,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
@@ -1012,6 +1112,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
@@ -1024,8 +1126,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 {
@@ -1036,6 +1137,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
@@ -1050,9 +1153,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;
@@ -1065,6 +1168,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
@@ -1088,6 +1193,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
@@ -1106,6 +1213,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
@@ -1122,11 +1231,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
@@ -1140,27 +1250,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 @@ -1168,12 +1284,15 @@ 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. */ @@ -1185,12 +1304,15 @@ public Builder setSkippedResults(int value) { 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() { @@ -1201,24 +1323,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() { @@ -1228,12 +1356,15 @@ 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. */ @@ -1245,12 +1376,15 @@ public Builder setDone(boolean value) { 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() { @@ -1261,9 +1395,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); } @@ -1273,12 +1407,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(); } @@ -1287,27 +1421,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; @@ -1322,6 +1456,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 83% 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 deb999cfc6..c0c35060c4 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
@@ -60,10 +89,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
@@ -75,10 +107,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
@@ -94,33 +129,42 @@ 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(); 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 6810d8e3d2..d8702c2734 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,71 +28,85 @@
  *
  * 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();
   }
 
-  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.
@@ -115,10 +146,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.
@@ -158,58 +192,65 @@ 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(); 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(); } - 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.
@@ -230,11 +271,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.
@@ -255,11 +300,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.
@@ -280,11 +329,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.
      *
@@ -294,41 +346,44 @@ 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();
       }
 
-      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.
@@ -349,7 +404,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 @@ -357,6 +414,8 @@ public boolean hasUpTo() { return upTo_ != null; } /** + * + * *
        * Optional. Optional constraint on the maximum number of documents to
        * count.
@@ -377,7 +436,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 @@ -385,6 +446,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.
@@ -405,7 +468,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() { @@ -413,6 +477,7 @@ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,8 +489,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()); } @@ -439,8 +503,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; @@ -450,17 +513,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; @@ -483,89 +547,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 @@ -575,6 +646,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Count of documents that match the query.
        *
@@ -584,33 +657,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();
@@ -624,19 +699,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);
           }
@@ -645,18 +723,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();
           }
         }
 
@@ -664,46 +744,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());
           }
@@ -733,19 +821,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) {
@@ -755,12 +843,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.
@@ -781,13 +875,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.
@@ -808,7 +906,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() { @@ -819,6 +919,8 @@ public com.google.protobuf.Int64Value getUpTo() { } } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -839,7 +941,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) { @@ -855,6 +958,8 @@ public Builder setUpTo(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -875,10 +980,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 { @@ -889,6 +994,8 @@ public Builder setUpTo( return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -909,13 +1016,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; @@ -928,6 +1036,8 @@ public Builder mergeUpTo(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -948,7 +1058,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); @@ -961,6 +1072,8 @@ public Builder clearUpTo() { return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -981,7 +1094,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; @@ -989,6 +1103,8 @@ public com.google.protobuf.Int64Value.Builder getUpToBuilder() { return getUpToFieldBuilder().getBuilder(); } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -1009,17 +1125,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.
@@ -1040,21 +1158,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) { @@ -1067,41 +1190,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; @@ -1113,21 +1240,25 @@ 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; + @SuppressWarnings("serial") 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; } @@ -1143,29 +1274,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 @@ -1173,21 +1309,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.
      * 
@@ -1195,17 +1337,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.
@@ -1245,6 +1392,7 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBui
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The alias. */ @java.lang.Override @@ -1253,14 +1401,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.
@@ -1300,16 +1449,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 { @@ -1318,6 +1466,7 @@ public java.lang.String getAlias() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1329,10 +1478,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_); @@ -1347,8 +1496,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_); @@ -1361,20 +1512,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: @@ -1406,89 +1556,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 @@ -1498,39 +1653,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(); @@ -1545,13 +1702,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(); } @@ -1566,25 +1724,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(); } } @@ -1593,59 +1755,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(); @@ -1673,24 +1843,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) { @@ -1700,12 +1871,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() { @@ -1718,13 +1889,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 @@ -1732,11 +1909,14 @@ public boolean hasCount() { return operatorCase_ == 1; } /** + * + * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; + * * @return The count. */ @java.lang.Override @@ -1745,22 +1925,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(); @@ -1774,6 +1959,8 @@ public Builder setCount(com.google.firestore.v1.StructuredAggregationQuery.Aggre return this; } /** + * + * *
        * Count aggregator.
        * 
@@ -1781,7 +1968,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(); @@ -1792,18 +1980,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; } @@ -1819,6 +2016,8 @@ public Builder mergeCount(com.google.firestore.v1.StructuredAggregationQuery.Agg return this; } /** + * + * *
        * Count aggregator.
        * 
@@ -1842,16 +2041,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.
        * 
@@ -1859,17 +2063,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.
        * 
@@ -1877,14 +2085,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()); @@ -1897,6 +2112,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.
@@ -1936,13 +2153,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; @@ -1951,6 +2168,8 @@ public java.lang.String getAlias() { } } /** + * + * *
        * Optional. Optional name of the field to store the result of the
        * aggregation into.
@@ -1990,15 +2209,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 { @@ -2006,6 +2224,8 @@ public java.lang.String getAlias() { } } /** + * + * *
        * Optional. Optional name of the field to store the result of the
        * aggregation into.
@@ -2045,18 +2265,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.
@@ -2096,6 +2320,7 @@ public Builder setAlias(
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAlias() { @@ -2105,6 +2330,8 @@ public Builder clearAlias() { return this; } /** + * + * *
        * Optional. Optional name of the field to store the result of the
        * aggregation into.
@@ -2144,18 +2371,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) { @@ -2168,41 +2398,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; @@ -2214,21 +2447,25 @@ 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; + @SuppressWarnings("serial") 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; } @@ -2244,29 +2481,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 @@ -2274,21 +2516,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.
    * 
@@ -2298,15 +2545,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`.
@@ -2316,13 +2567,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`.
@@ -2332,14 +2588,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`.
@@ -2349,13 +2610,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`.
@@ -2365,13 +2630,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`.
@@ -2381,15 +2650,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; @@ -2401,8 +2673,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_); } @@ -2419,12 +2690,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; @@ -2434,20 +2705,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: @@ -2481,98 +2751,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].
@@ -2580,33 +2855,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();
@@ -2627,9 +2901,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
@@ -2648,15 +2922,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_);
@@ -2675,8 +2953,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();
       }
     }
@@ -2685,38 +2962,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;
@@ -2724,7 +3002,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()) {
@@ -2743,22 +3022,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();
@@ -2786,32 +3068,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) {
@@ -2821,12 +3104,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() {
@@ -2839,13 +3122,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 @@ -2853,11 +3142,14 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 1; } /** + * + * *
      * Nested structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; + * * @return The structuredQuery. */ @java.lang.Override @@ -2875,6 +3167,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
      * Nested structured query.
      * 
@@ -2895,6 +3189,8 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** + * + * *
      * Nested structured query.
      * 
@@ -2913,6 +3209,8 @@ public Builder setStructuredQuery( return this; } /** + * + * *
      * Nested structured query.
      * 
@@ -2921,10 +3219,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; } @@ -2940,6 +3241,8 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** + * + * *
      * Nested structured query.
      * 
@@ -2963,6 +3266,8 @@ public Builder clearStructuredQuery() { return this; } /** + * + * *
      * Nested structured query.
      * 
@@ -2973,6 +3278,8 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Nested structured query.
      * 
@@ -2991,6 +3298,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** + * + * *
      * Nested structured query.
      * 
@@ -2998,14 +3307,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()); @@ -3016,19 +3330,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`.
@@ -3038,9 +3360,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 { @@ -3048,6 +3373,8 @@ public java.util.List * Optional. Series of aggregations to apply over the results of the * `structured_query`. @@ -3057,7 +3384,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) { @@ -3067,6 +3396,8 @@ public int getAggregationsCount() { } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3076,9 +3407,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 { @@ -3086,6 +3420,8 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggrega } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3095,7 +3431,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) { @@ -3112,6 +3450,8 @@ public Builder setAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3121,10 +3461,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()); @@ -3135,6 +3478,8 @@ public Builder setAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3144,9 +3489,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(); @@ -3160,6 +3508,8 @@ public Builder addAggregations(com.google.firestore.v1.StructuredAggregationQuer return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3169,7 +3519,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) { @@ -3186,6 +3538,8 @@ public Builder addAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3195,7 +3549,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) { @@ -3209,6 +3565,8 @@ public Builder addAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3218,10 +3576,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()); @@ -3232,6 +3593,8 @@ public Builder addAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3241,14 +3604,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); @@ -3256,6 +3621,8 @@ public Builder addAllAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3265,7 +3632,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) { @@ -3278,6 +3647,8 @@ public Builder clearAggregations() { return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3287,7 +3658,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) { @@ -3300,6 +3673,8 @@ public Builder removeAggregations(int index) { return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3309,13 +3684,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`.
@@ -3325,16 +3704,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`.
@@ -3344,10 +3728,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 { @@ -3355,6 +3742,8 @@ public com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder g } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3364,13 +3753,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`.
@@ -3380,14 +3775,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`.
@@ -3397,29 +3798,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); } @@ -3429,12 +3835,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(); } @@ -3443,27 +3849,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; @@ -3478,6 +3884,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 2d7e3a4d44..76fda5053c 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`.
@@ -44,11 +70,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`.
@@ -58,10 +88,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`.
@@ -71,10 +105,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`.
@@ -84,11 +122,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`.
@@ -98,7 +140,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 77% 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 93fb50d506..b7c21cbf62 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,34 +44,38 @@ private StructuredQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StructuredQuery(); } - 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.
      * 
@@ -62,6 +84,8 @@ public enum Direction */ DIRECTION_UNSPECIFIED(0), /** + * + * *
      * Ascending.
      * 
@@ -70,6 +94,8 @@ public enum Direction */ ASCENDING(1), /** + * + * *
      * Descending.
      * 
@@ -81,6 +107,8 @@ public enum Direction ; /** + * + * *
      * Unspecified.
      * 
@@ -89,6 +117,8 @@ public enum Direction */ public static final int DIRECTION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Ascending.
      * 
@@ -97,6 +127,8 @@ public enum Direction */ public static final int ASCENDING_VALUE = 1; /** + * + * *
      * Descending.
      * 
@@ -105,7 +137,6 @@ public enum Direction */ public static final int DESCENDING_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -130,49 +161,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; @@ -189,33 +220,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`.
@@ -223,60 +262,69 @@ 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(); } - 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 @@ -285,30 +333,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 { @@ -319,6 +367,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`.
@@ -326,6 +376,7 @@ public java.lang.String getCollectionId() {
      * 
* * bool all_descendants = 3; + * * @return The allDescendants. */ @java.lang.Override @@ -334,6 +385,7 @@ public boolean getAllDescendants() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,8 +397,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_); } @@ -366,8 +417,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; @@ -377,17 +427,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; } @@ -402,97 +451,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 @@ -502,39 +555,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(); @@ -545,13 +600,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(); } @@ -566,13 +622,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_; @@ -586,38 +646,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; @@ -625,7 +688,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; @@ -660,22 +725,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) { @@ -685,23 +753,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; @@ -710,21 +781,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 { @@ -732,30 +804,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() { @@ -765,18 +844,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; @@ -784,8 +867,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`.
@@ -793,6 +878,7 @@ public Builder setCollectionIdBytes(
        * 
* * bool all_descendants = 3; + * * @return The allDescendants. */ @java.lang.Override @@ -800,6 +886,8 @@ public boolean getAllDescendants() { return allDescendants_; } /** + * + * *
        * When false, selects only collections that are immediate children of
        * the `parent` specified in the containing `RunQueryRequest`.
@@ -807,6 +895,7 @@ public boolean getAllDescendants() {
        * 
* * bool all_descendants = 3; + * * @param value The allDescendants to set. * @return This builder for chaining. */ @@ -818,6 +907,8 @@ public Builder setAllDescendants(boolean value) { return this; } /** + * + * *
        * When false, selects only collections that are immediate children of
        * the `parent` specified in the containing `RunQueryRequest`.
@@ -825,6 +916,7 @@ public Builder setAllDescendants(boolean value) {
        * 
* * bool all_descendants = 3; + * * @return This builder for chaining. */ public Builder clearAllDescendants() { @@ -833,6 +925,7 @@ public Builder clearAllDescendants() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -845,12 +938,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(); } @@ -859,27 +953,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; @@ -894,32 +989,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.
      * 
@@ -929,24 +1032,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.
      * 
@@ -956,24 +1067,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.
      * 
@@ -985,55 +1104,62 @@ public interface FilterOrBuilder extends 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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -1049,31 +1175,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 @@ -1081,21 +1214,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.
      * 
@@ -1103,20 +1241,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 @@ -1124,21 +1266,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.
      * 
@@ -1148,18 +1295,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 @@ -1167,21 +1317,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.
      * 
@@ -1191,12 +1346,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; @@ -1208,10 +1364,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_); @@ -1229,16 +1385,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; @@ -1248,26 +1407,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: @@ -1304,90 +1461,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 @@ -1397,39 +1558,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(); @@ -1449,9 +1612,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 @@ -1470,8 +1633,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; @@ -1484,16 +1650,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(); } } @@ -1502,38 +1665,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; @@ -1541,23 +1707,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(); @@ -1585,33 +1756,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) { @@ -1621,12 +1791,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() { @@ -1639,13 +1809,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 @@ -1653,11 +1829,14 @@ public boolean hasCompositeFilter() { return filterTypeCase_ == 1; } /** + * + * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + * * @return The compositeFilter. */ @java.lang.Override @@ -1675,13 +1854,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(); @@ -1695,6 +1877,8 @@ public Builder setCompositeFilter(com.google.firestore.v1.StructuredQuery.Compos return this; } /** + * + * *
        * A composite filter.
        * 
@@ -1713,18 +1897,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; } @@ -1740,6 +1931,8 @@ public Builder mergeCompositeFilter(com.google.firestore.v1.StructuredQuery.Comp return this; } /** + * + * *
        * A composite filter.
        * 
@@ -1763,16 +1956,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.
        * 
@@ -1780,7 +1978,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 { @@ -1791,6 +1990,8 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompo } } /** + * + * *
        * A composite filter.
        * 
@@ -1798,14 +1999,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()); @@ -1817,13 +2024,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 @@ -1831,11 +2044,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 @@ -1853,6 +2069,8 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter() { } } /** + * + * *
        * A filter on a document field.
        * 
@@ -1873,6 +2091,8 @@ public Builder setFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFilte return this; } /** + * + * *
        * A filter on a document field.
        * 
@@ -1891,6 +2111,8 @@ public Builder setFieldFilter( return this; } /** + * + * *
        * A filter on a document field.
        * 
@@ -1899,10 +2121,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; } @@ -1918,6 +2144,8 @@ public Builder mergeFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFil return this; } /** + * + * *
        * A filter on a document field.
        * 
@@ -1941,6 +2169,8 @@ public Builder clearFieldFilter() { return this; } /** + * + * *
        * A filter on a document field.
        * 
@@ -1951,6 +2181,8 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilte return getFieldFilterFieldBuilder().getBuilder(); } /** + * + * *
        * A filter on a document field.
        * 
@@ -1958,7 +2190,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 { @@ -1969,6 +2202,8 @@ public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilt } } /** + * + * *
        * A filter on a document field.
        * 
@@ -1976,14 +2211,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()); @@ -1995,13 +2235,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 @@ -2009,11 +2255,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 @@ -2031,6 +2280,8 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter() { } } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2051,6 +2302,8 @@ public Builder setUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFilte return this; } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2069,6 +2322,8 @@ public Builder setUnaryFilter( return this; } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2077,10 +2332,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; } @@ -2096,6 +2355,8 @@ public Builder mergeUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFil return this; } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2119,6 +2380,8 @@ public Builder clearUnaryFilter() { return this; } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2129,6 +2392,8 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilte return getUnaryFilterFieldBuilder().getBuilder(); } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2136,7 +2401,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 { @@ -2147,6 +2413,8 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder getUnaryFilt } } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2154,14 +2422,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()); @@ -2171,6 +2444,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) { @@ -2183,12 +2457,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(); } @@ -2197,27 +2471,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; @@ -2232,33 +2507,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.
      *
@@ -2269,9 +2552,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.
      *
@@ -2284,6 +2568,8 @@ public interface CompositeFilterOrBuilder extends
      */
     com.google.firestore.v1.StructuredQuery.Filter getFilters(int index);
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -2296,6 +2582,8 @@ public interface CompositeFilterOrBuilder extends
      */
     int getFiltersCount();
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -2306,9 +2594,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.
      *
@@ -2319,25 +2609,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,34 +2637,38 @@ private CompositeFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompositeFilter(); } - 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.
        * 
@@ -2381,6 +2677,8 @@ public enum Operator */ OPERATOR_UNSPECIFIED(0), /** + * + * *
        * Documents are required to satisfy all of the combined filters.
        * 
@@ -2389,6 +2687,8 @@ public enum Operator */ AND(1), /** + * + * *
        * Documents are required to satisfy at least one of the combined filters.
        * 
@@ -2400,6 +2700,8 @@ public enum Operator ; /** + * + * *
        * Unspecified. This value must not be used.
        * 
@@ -2408,6 +2710,8 @@ public enum Operator */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Documents are required to satisfy all of the combined filters.
        * 
@@ -2416,6 +2720,8 @@ public enum Operator */ public static final int AND_VALUE = 1; /** + * + * *
        * Documents are required to satisfy at least one of the combined filters.
        * 
@@ -2424,7 +2730,6 @@ public enum Operator */ public static final int OR_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2449,49 +2754,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; @@ -2511,33 +2818,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.
      *
@@ -2553,6 +2874,8 @@ public java.util.List getFilters
       return filters_;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -2564,11 +2887,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.
      *
@@ -2584,6 +2909,8 @@ public int getFiltersCount() {
       return filters_.size();
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -2599,6 +2926,8 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
       return filters_.get(index);
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -2610,12 +2939,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;
@@ -2627,9 +2956,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++) {
@@ -2644,13 +2974,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;
@@ -2660,16 +2990,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;
     }
@@ -2693,89 +3023,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
@@ -2785,39 +3120,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(); @@ -2834,9 +3171,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 @@ -2855,14 +3192,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_); @@ -2885,38 +3226,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; @@ -2924,7 +3268,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()); } @@ -2946,9 +3291,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_); } @@ -2980,30 +3326,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) { @@ -3013,26 +3362,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. */ @@ -3043,24 +3400,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. */ @@ -3074,11 +3440,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() { @@ -3089,18 +3458,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.
        *
@@ -3119,6 +3495,8 @@ public java.util.List getFilters
         }
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        *
@@ -3137,6 +3515,8 @@ public int getFiltersCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        *
@@ -3155,6 +3535,8 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        *
@@ -3165,8 +3547,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();
@@ -3180,6 +3561,8 @@ public Builder setFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        *
@@ -3202,6 +3585,8 @@ public Builder setFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        *
@@ -3226,6 +3611,8 @@ public Builder addFilters(com.google.firestore.v1.StructuredQuery.Filter value)
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        *
@@ -3236,8 +3623,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();
@@ -3251,6 +3637,8 @@ public Builder addFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        *
@@ -3273,6 +3661,8 @@ public Builder addFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        *
@@ -3295,6 +3685,8 @@ public Builder addFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        *
@@ -3309,8 +3701,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);
@@ -3318,6 +3709,8 @@ public Builder addAllFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        *
@@ -3339,6 +3732,8 @@ public Builder clearFilters() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        *
@@ -3360,6 +3755,8 @@ public Builder removeFilters(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        *
@@ -3370,11 +3767,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.
        *
@@ -3388,11 +3786,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.
        *
@@ -3403,8 +3804,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 {
@@ -3412,6 +3813,8 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuild
         }
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        *
@@ -3423,10 +3826,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.
        *
@@ -3437,12 +3842,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.
        *
@@ -3453,24 +3859,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) {
@@ -3483,12 +3893,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();
     }
@@ -3497,27 +3907,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;
@@ -3532,32 +3943,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.
      * 
@@ -3567,43 +3986,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.
      * 
@@ -3613,55 +4046,62 @@ 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(); } - 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.
        * 
@@ -3670,6 +4110,8 @@ public enum Operator */ OPERATOR_UNSPECIFIED(0), /** + * + * *
        * The given `field` is less than the given `value`.
        *
@@ -3682,6 +4124,8 @@ public enum Operator
        */
       LESS_THAN(1),
       /**
+       *
+       *
        * 
        * The given `field` is less than or equal to the given `value`.
        *
@@ -3694,6 +4138,8 @@ public enum Operator
        */
       LESS_THAN_OR_EQUAL(2),
       /**
+       *
+       *
        * 
        * The given `field` is greater than the given `value`.
        *
@@ -3706,6 +4152,8 @@ public enum Operator
        */
       GREATER_THAN(3),
       /**
+       *
+       *
        * 
        * The given `field` is greater than or equal to the given `value`.
        *
@@ -3718,6 +4166,8 @@ public enum Operator
        */
       GREATER_THAN_OR_EQUAL(4),
       /**
+       *
+       *
        * 
        * The given `field` is equal to the given `value`.
        * 
@@ -3726,6 +4176,8 @@ public enum Operator */ EQUAL(5), /** + * + * *
        * The given `field` is not equal to the given `value`.
        *
@@ -3739,6 +4191,8 @@ public enum Operator
        */
       NOT_EQUAL(6),
       /**
+       *
+       *
        * 
        * The given `field` is an array that contains the given `value`.
        * 
@@ -3747,6 +4201,8 @@ public enum Operator */ ARRAY_CONTAINS(7), /** + * + * *
        * The given `field` is equal to at least one value in the given array.
        *
@@ -3761,6 +4217,8 @@ public enum Operator
        */
       IN(8),
       /**
+       *
+       *
        * 
        * The given `field` is an array that contains any of the values in the
        * given array.
@@ -3777,6 +4235,8 @@ public enum Operator
        */
       ARRAY_CONTAINS_ANY(9),
       /**
+       *
+       *
        * 
        * The value of the `field` is not in the given array.
        *
@@ -3795,6 +4255,8 @@ public enum Operator
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -3803,6 +4265,8 @@ public enum Operator */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The given `field` is less than the given `value`.
        *
@@ -3815,6 +4279,8 @@ public enum Operator
        */
       public static final int LESS_THAN_VALUE = 1;
       /**
+       *
+       *
        * 
        * The given `field` is less than or equal to the given `value`.
        *
@@ -3827,6 +4293,8 @@ public enum Operator
        */
       public static final int LESS_THAN_OR_EQUAL_VALUE = 2;
       /**
+       *
+       *
        * 
        * The given `field` is greater than the given `value`.
        *
@@ -3839,6 +4307,8 @@ public enum Operator
        */
       public static final int GREATER_THAN_VALUE = 3;
       /**
+       *
+       *
        * 
        * The given `field` is greater than or equal to the given `value`.
        *
@@ -3851,6 +4321,8 @@ public enum Operator
        */
       public static final int GREATER_THAN_OR_EQUAL_VALUE = 4;
       /**
+       *
+       *
        * 
        * The given `field` is equal to the given `value`.
        * 
@@ -3859,6 +4331,8 @@ public enum Operator */ public static final int EQUAL_VALUE = 5; /** + * + * *
        * The given `field` is not equal to the given `value`.
        *
@@ -3872,6 +4346,8 @@ public enum Operator
        */
       public static final int NOT_EQUAL_VALUE = 6;
       /**
+       *
+       *
        * 
        * The given `field` is an array that contains the given `value`.
        * 
@@ -3880,6 +4356,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.
        *
@@ -3894,6 +4372,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.
@@ -3910,6 +4390,8 @@ public enum Operator
        */
       public static final int ARRAY_CONTAINS_ANY_VALUE = 9;
       /**
+       *
+       *
        * 
        * The value of the `field` is not in the given array.
        *
@@ -3925,7 +4407,6 @@ public enum Operator
        */
       public static final int NOT_IN_VALUE = 10;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -3950,57 +4431,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;
@@ -4020,11 +4511,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 @@ -4032,18 +4526,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.
      * 
@@ -4052,43 +4553,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 @@ -4096,11 +4613,14 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
      * The value to compare to.
      * 
* * .google.firestore.v1.Value value = 3; + * * @return The value. */ @java.lang.Override @@ -4108,6 +4628,8 @@ public com.google.firestore.v1.Value getValue() { return value_ == null ? com.google.firestore.v1.Value.getDefaultInstance() : value_; } /** + * + * *
      * The value to compare to.
      * 
@@ -4120,6 +4642,7 @@ public com.google.firestore.v1.ValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4131,12 +4654,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) { @@ -4152,16 +4676,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; @@ -4171,23 +4694,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; @@ -4216,89 +4738,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 @@ -4308,39 +4835,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(); @@ -4360,9 +4889,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 @@ -4381,8 +4910,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; } @@ -4390,17 +4922,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(); } } @@ -4408,38 +4936,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; @@ -4447,7 +4978,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()); } @@ -4483,31 +5015,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) { @@ -4517,38 +5049,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.
        * 
@@ -4569,6 +5115,8 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** + * + * *
        * The field to filter by.
        * 
@@ -4587,6 +5135,8 @@ public Builder setField( return this; } /** + * + * *
        * The field to filter by.
        * 
@@ -4595,9 +5145,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; @@ -4610,6 +5161,8 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** + * + * *
        * The field to filter by.
        * 
@@ -4627,6 +5180,8 @@ public Builder clearField() { return this; } /** + * + * *
        * The field to filter by.
        * 
@@ -4639,6 +5194,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBu return getFieldFieldBuilder().getBuilder(); } /** + * + * *
        * The field to filter by.
        * 
@@ -4649,11 +5206,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.
        * 
@@ -4661,14 +5221,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_; @@ -4676,22 +5239,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. */ @@ -4702,24 +5272,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. */ @@ -4733,11 +5312,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() { @@ -4749,24 +5331,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() { @@ -4777,6 +5368,8 @@ public com.google.firestore.v1.Value getValue() { } } /** + * + * *
        * The value to compare to.
        * 
@@ -4797,14 +5390,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 { @@ -4815,6 +5409,8 @@ public Builder setValue( return this; } /** + * + * *
        * The value to compare to.
        * 
@@ -4823,9 +5419,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; @@ -4838,6 +5434,8 @@ public Builder mergeValue(com.google.firestore.v1.Value value) { return this; } /** + * + * *
        * The value to compare to.
        * 
@@ -4855,6 +5453,8 @@ public Builder clearValue() { return this; } /** + * + * *
        * The value to compare to.
        * 
@@ -4867,6 +5467,8 @@ public com.google.firestore.v1.Value.Builder getValueBuilder() { return getValueFieldBuilder().getBuilder(); } /** + * + * *
        * The value to compare to.
        * 
@@ -4877,11 +5479,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.
        * 
@@ -4889,18 +5492,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) { @@ -4913,12 +5520,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(); } @@ -4927,27 +5534,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; @@ -4962,51 +5570,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.
      * 
@@ -5018,55 +5640,62 @@ public interface UnaryFilterOrBuilder extends 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(); } - 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.
        * 
@@ -5075,6 +5704,8 @@ public enum Operator */ OPERATOR_UNSPECIFIED(0), /** + * + * *
        * The given `field` is equal to `NaN`.
        * 
@@ -5083,6 +5714,8 @@ public enum Operator */ IS_NAN(2), /** + * + * *
        * The given `field` is equal to `NULL`.
        * 
@@ -5091,6 +5724,8 @@ public enum Operator */ IS_NULL(3), /** + * + * *
        * The given `field` is not equal to `NaN`.
        *
@@ -5104,6 +5739,8 @@ public enum Operator
        */
       IS_NOT_NAN(4),
       /**
+       *
+       *
        * 
        * The given `field` is not equal to `NULL`.
        *
@@ -5120,6 +5757,8 @@ public enum Operator
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -5128,6 +5767,8 @@ public enum Operator */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The given `field` is equal to `NaN`.
        * 
@@ -5136,6 +5777,8 @@ public enum Operator */ public static final int IS_NAN_VALUE = 2; /** + * + * *
        * The given `field` is equal to `NULL`.
        * 
@@ -5144,6 +5787,8 @@ public enum Operator */ public static final int IS_NULL_VALUE = 3; /** + * + * *
        * The given `field` is not equal to `NaN`.
        *
@@ -5157,6 +5802,8 @@ public enum Operator
        */
       public static final int IS_NOT_NAN_VALUE = 4;
       /**
+       *
+       *
        * 
        * The given `field` is not equal to `NULL`.
        *
@@ -5170,7 +5817,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(
@@ -5195,51 +5841,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;
@@ -5257,14 +5907,18 @@ private Operator(int value) {
     }
 
     private int operandTypeCase_ = 0;
+
     @SuppressWarnings("serial")
     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;
       }
@@ -5280,55 +5934,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 @@ -5336,21 +6006,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.
      * 
@@ -5360,12 +6035,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; @@ -5377,13 +6053,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); } @@ -5394,13 +6072,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; @@ -5410,19 +6090,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: @@ -5454,89 +6134,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 @@ -5546,39 +6231,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(); @@ -5593,9 +6280,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 @@ -5614,8 +6301,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; @@ -5631,8 +6321,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(); } } @@ -5641,38 +6330,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; @@ -5680,18 +6372,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(); @@ -5719,24 +6414,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) { @@ -5746,12 +6442,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() { @@ -5765,22 +6461,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. */ @@ -5791,24 +6494,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. */ @@ -5822,11 +6534,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() { @@ -5837,13 +6552,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 @@ -5851,11 +6572,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 @@ -5873,6 +6597,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { } } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5893,6 +6619,8 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5911,6 +6639,8 @@ public Builder setField( return this; } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5919,10 +6649,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; } @@ -5938,6 +6672,8 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5961,6 +6697,8 @@ public Builder clearField() { return this; } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5971,6 +6709,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBu return getFieldFieldBuilder().getBuilder(); } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5989,6 +6729,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO } } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5996,14 +6738,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()); @@ -6013,6 +6761,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) { @@ -6025,12 +6774,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(); } @@ -6039,27 +6788,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; @@ -6074,32 +6824,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.
      * 
@@ -6109,72 +6867,85 @@ 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(); } - 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 @@ -6182,18 +6953,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.
      * 
@@ -6202,36 +6980,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; @@ -6243,12 +7035,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); @@ -6261,12 +7053,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; @@ -6276,17 +7067,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; @@ -6311,90 +7102,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 @@ -6404,39 +7199,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(); @@ -6451,9 +7248,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 @@ -6472,8 +7269,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; } @@ -6481,9 +7281,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_; @@ -6494,38 +7292,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; @@ -6533,7 +7334,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()); } @@ -6566,24 +7368,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) { @@ -6593,38 +7396,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.
        * 
@@ -6645,6 +7462,8 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** + * + * *
        * The field to order by.
        * 
@@ -6663,6 +7482,8 @@ public Builder setField( return this; } /** + * + * *
        * The field to order by.
        * 
@@ -6671,9 +7492,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; @@ -6686,6 +7508,8 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** + * + * *
        * The field to order by.
        * 
@@ -6703,6 +7527,8 @@ public Builder clearField() { return this; } /** + * + * *
        * The field to order by.
        * 
@@ -6715,6 +7541,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBu return getFieldFieldBuilder().getBuilder(); } /** + * + * *
        * The field to order by.
        * 
@@ -6725,11 +7553,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.
        * 
@@ -6737,14 +7568,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_; @@ -6752,22 +7586,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. */ @@ -6778,24 +7619,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. */ @@ -6809,11 +7659,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() { @@ -6822,6 +7675,7 @@ public Builder clearDirection() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6834,12 +7688,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(); } @@ -6848,27 +7702,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; @@ -6883,14 +7738,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.
      *
@@ -6901,10 +7758,13 @@ public interface FieldReferenceOrBuilder extends
      * 
* * string field_path = 2; + * * @return The fieldPath. */ java.lang.String getFieldPath(); /** + * + * *
      * The relative path of the document being referenced.
      *
@@ -6915,55 +7775,62 @@ 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(); } - 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.
      *
@@ -6974,6 +7841,7 @@ protected java.lang.Object newInstance(
      * 
* * string field_path = 2; + * * @return The fieldPath. */ @java.lang.Override @@ -6982,14 +7850,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.
      *
@@ -7000,16 +7869,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 { @@ -7018,6 +7886,7 @@ public java.lang.String getFieldPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7029,8 +7898,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_); } @@ -7054,15 +7922,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; } @@ -7082,89 +7950,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 @@ -7174,39 +8047,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(); @@ -7216,9 +8091,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 @@ -7237,8 +8112,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; } @@ -7254,38 +8132,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; @@ -7293,7 +8174,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; @@ -7325,17 +8207,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) { @@ -7345,10 +8229,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object fieldPath_ = ""; /** + * + * *
        * The relative path of the document being referenced.
        *
@@ -7359,13 +8246,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; @@ -7374,6 +8261,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * The relative path of the document being referenced.
        *
@@ -7384,15 +8273,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 { @@ -7400,6 +8288,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * The relative path of the document being referenced.
        *
@@ -7410,18 +8300,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.
        *
@@ -7432,6 +8326,7 @@ public Builder setFieldPath(
        * 
* * string field_path = 2; + * * @return This builder for chaining. */ public Builder clearFieldPath() { @@ -7441,6 +8336,8 @@ public Builder clearFieldPath() { return this; } /** + * + * *
        * The relative path of the document being referenced.
        *
@@ -7451,18 +8348,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) { @@ -7475,12 +8375,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(); } @@ -7489,27 +8389,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; @@ -7524,14 +8425,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.
      *
@@ -7541,9 +8444,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.
      *
@@ -7555,6 +8459,8 @@ public interface ProjectionOrBuilder extends
      */
     com.google.firestore.v1.StructuredQuery.FieldReference getFields(int index);
     /**
+     *
+     *
      * 
      * The fields to return.
      *
@@ -7566,6 +8472,8 @@ public interface ProjectionOrBuilder extends
      */
     int getFieldsCount();
     /**
+     *
+     *
      * 
      * The fields to return.
      *
@@ -7575,9 +8483,11 @@ public interface ProjectionOrBuilder extends
      *
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
-    java.util.List 
+    java.util.List
         getFieldsOrBuilderList();
     /**
+     *
+     *
      * 
      * The fields to return.
      *
@@ -7587,53 +8497,59 @@ 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(); } - 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.
      *
@@ -7648,6 +8564,8 @@ public java.util.List ge
       return fields_;
     }
     /**
+     *
+     *
      * 
      * The fields to return.
      *
@@ -7658,11 +8576,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.
      *
@@ -7677,6 +8597,8 @@ public int getFieldsCount() {
       return fields_.size();
     }
     /**
+     *
+     *
      * 
      * The fields to return.
      *
@@ -7691,6 +8613,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getFields(int inde
       return fields_.get(index);
     }
     /**
+     *
+     *
      * 
      * The fields to return.
      *
@@ -7707,6 +8631,7 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -7718,8 +8643,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));
       }
@@ -7733,8 +8657,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;
@@ -7744,15 +8667,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;
     }
@@ -7774,89 +8697,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
@@ -7866,39 +8793,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(); @@ -7914,9 +8843,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 @@ -7935,14 +8864,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_); @@ -7962,38 +8895,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; @@ -8001,7 +8937,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()) { @@ -8020,9 +8957,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_); } @@ -8054,25 +8992,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) { @@ -8082,21 +9022,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.
        *
@@ -8106,7 +9055,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 {
@@ -8114,6 +9064,8 @@ public java.util.List ge
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8131,6 +9083,8 @@ public int getFieldsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8148,6 +9102,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getFields(int inde
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8172,6 +9128,8 @@ public Builder setFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8182,7 +9140,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());
@@ -8193,6 +9152,8 @@ public Builder setFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8216,6 +9177,8 @@ public Builder addFields(com.google.firestore.v1.StructuredQuery.FieldReference
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8240,6 +9203,8 @@ public Builder addFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8261,6 +9226,8 @@ public Builder addFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8271,7 +9238,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());
@@ -8282,6 +9250,8 @@ public Builder addFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8292,11 +9262,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);
@@ -8304,6 +9274,8 @@ public Builder addAllFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8324,6 +9296,8 @@ public Builder clearFields() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8344,6 +9318,8 @@ public Builder removeFields(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8358,6 +9334,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldsB
         return getFieldsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8370,11 +9348,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.
        *
@@ -8384,8 +9365,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 {
@@ -8393,6 +9375,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        *
@@ -8403,10 +9387,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.
        *
@@ -8418,10 +9405,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.
        *
@@ -8431,24 +9421,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) {
@@ -8461,12 +9455,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();
     }
@@ -8475,27 +9469,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;
@@ -8510,12 +9505,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.
    *
@@ -8525,6 +9521,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 @@ -8532,6 +9529,8 @@ public boolean hasSelect() { return select_ != null; } /** + * + * *
    * Optional sub-set of the fields to return.
    *
@@ -8541,13 +9540,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.
    *
@@ -8560,13 +9564,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.
    * 
@@ -8578,6 +9587,8 @@ public java.util.List * The collections to query. *
@@ -8585,11 +9596,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.
    * 
@@ -8601,6 +9615,8 @@ public int getFromCount() { return from_.size(); } /** + * + * *
    * The collections to query.
    * 
@@ -8612,6 +9628,8 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int in return from_.get(index); } /** + * + * *
    * The collections to query.
    * 
@@ -8627,11 +9645,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 @@ -8639,18 +9660,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.
    * 
@@ -8659,13 +9687,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.
    *
@@ -8696,6 +9729,8 @@ public java.util.List getOrderByL
     return orderBy_;
   }
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    *
@@ -8722,11 +9757,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.
    *
@@ -8757,6 +9794,8 @@ public int getOrderByCount() {
     return orderBy_.size();
   }
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    *
@@ -8787,6 +9826,8 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
     return orderBy_.get(index);
   }
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    *
@@ -8813,14 +9854,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.
    *
@@ -8856,6 +9898,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 @@ -8863,6 +9906,8 @@ public boolean hasStartAt() { return startAt_ != null; } /** + * + * *
    * A potential prefix of a position in the result set to start the query at.
    *
@@ -8898,6 +9943,7 @@ public boolean hasStartAt() {
    * 
* * .google.firestore.v1.Cursor start_at = 7; + * * @return The startAt. */ @java.lang.Override @@ -8905,6 +9951,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.
    *
@@ -8949,6 +9997,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.
    *
@@ -8962,6 +10012,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 @@ -8969,6 +10020,8 @@ public boolean hasEndAt() { return endAt_ != null; } /** + * + * *
    * A potential prefix of a position in the result set to end the query at.
    *
@@ -8982,6 +10035,7 @@ public boolean hasEndAt() {
    * 
* * .google.firestore.v1.Cursor end_at = 8; + * * @return The endAt. */ @java.lang.Override @@ -8989,6 +10043,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.
    *
@@ -9011,6 +10067,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.
    *
@@ -9023,6 +10081,7 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
    * 
* * int32 offset = 6; + * * @return The offset. */ @java.lang.Override @@ -9033,6 +10092,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.
    *
@@ -9044,6 +10105,7 @@ public int getOffset() {
    * 
* * .google.protobuf.Int32Value limit = 5; + * * @return Whether the limit field is set. */ @java.lang.Override @@ -9051,6 +10113,8 @@ public boolean hasLimit() { return limit_ != null; } /** + * + * *
    * The maximum number of results to return.
    *
@@ -9062,6 +10126,7 @@ public boolean hasLimit() {
    * 
* * .google.protobuf.Int32Value limit = 5; + * * @return The limit. */ @java.lang.Override @@ -9069,6 +10134,8 @@ public com.google.protobuf.Int32Value getLimit() { return limit_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : limit_; } /** + * + * *
    * The maximum number of results to return.
    *
@@ -9087,6 +10154,7 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -9098,8 +10166,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());
     }
@@ -9134,36 +10201,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;
@@ -9173,7 +10232,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);
@@ -9182,34 +10241,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;
@@ -9257,132 +10308,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(); @@ -9431,9 +10486,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 @@ -9452,9 +10507,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; } @@ -9483,32 +10541,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(); } } @@ -9516,38 +10564,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; @@ -9577,9 +10626,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_); } @@ -9606,9 +10656,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_); } @@ -9652,78 +10703,76 @@ 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) { @@ -9733,12 +10782,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.
      *
@@ -9748,12 +10803,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.
      *
@@ -9763,16 +10821,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.
      *
@@ -9797,6 +10860,8 @@ public Builder setSelect(com.google.firestore.v1.StructuredQuery.Projection valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional sub-set of the fields to return.
      *
@@ -9819,6 +10884,8 @@ public Builder setSelect(
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional sub-set of the fields to return.
      *
@@ -9831,9 +10898,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;
@@ -9846,6 +10913,8 @@ public Builder mergeSelect(com.google.firestore.v1.StructuredQuery.Projection va
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional sub-set of the fields to return.
      *
@@ -9867,6 +10936,8 @@ public Builder clearSelect() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional sub-set of the fields to return.
      *
@@ -9883,6 +10954,8 @@ public com.google.firestore.v1.StructuredQuery.Projection.Builder getSelectBuild
       return getSelectFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Optional sub-set of the fields to return.
      *
@@ -9897,11 +10970,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.
      *
@@ -9913,39 +10989,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 { @@ -9953,6 +11041,8 @@ public java.util.List * The collections to query. *
@@ -9967,6 +11057,8 @@ public int getFromCount() { } } /** + * + * *
      * The collections to query.
      * 
@@ -9981,6 +11073,8 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int in } } /** + * + * *
      * The collections to query.
      * 
@@ -10002,6 +11096,8 @@ public Builder setFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -10009,7 +11105,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()); @@ -10020,6 +11117,8 @@ public Builder setFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -10040,6 +11139,8 @@ public Builder addFrom(com.google.firestore.v1.StructuredQuery.CollectionSelecto return this; } /** + * + * *
      * The collections to query.
      * 
@@ -10061,6 +11162,8 @@ public Builder addFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -10079,6 +11182,8 @@ public Builder addFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -10086,7 +11191,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()); @@ -10097,6 +11203,8 @@ public Builder addFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -10104,11 +11212,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); @@ -10116,6 +11224,8 @@ public Builder addAllFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -10133,6 +11243,8 @@ public Builder clearFrom() { return this; } /** + * + * *
      * The collections to query.
      * 
@@ -10150,6 +11262,8 @@ public Builder removeFrom(int index) { return this; } /** + * + * *
      * The collections to query.
      * 
@@ -10161,6 +11275,8 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder getFro return getFromFieldBuilder().getBuilder(index); } /** + * + * *
      * The collections to query.
      * 
@@ -10170,19 +11286,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 { @@ -10190,6 +11310,8 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFr } } /** + * + * *
      * The collections to query.
      * 
@@ -10197,10 +11319,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.
      * 
@@ -10209,30 +11334,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_; @@ -10240,34 +11372,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.
      * 
@@ -10288,6 +11433,8 @@ public Builder setWhere(com.google.firestore.v1.StructuredQuery.Filter value) { return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -10306,6 +11453,8 @@ public Builder setWhere( return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -10314,9 +11463,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; @@ -10329,6 +11478,8 @@ public Builder mergeWhere(com.google.firestore.v1.StructuredQuery.Filter value) return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -10346,6 +11497,8 @@ public Builder clearWhere() { return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -10358,6 +11511,8 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder getWhereBuilder() return getWhereFieldBuilder().getBuilder(); } /** + * + * *
      * The filter to apply.
      * 
@@ -10368,11 +11523,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.
      * 
@@ -10380,32 +11538,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.
      *
@@ -10439,6 +11606,8 @@ public java.util.List getOrderByL
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      *
@@ -10472,6 +11641,8 @@ public int getOrderByCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      *
@@ -10505,6 +11676,8 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      *
@@ -10530,8 +11703,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();
@@ -10545,6 +11717,8 @@ public Builder setOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      *
@@ -10582,6 +11756,8 @@ public Builder setOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      *
@@ -10621,6 +11797,8 @@ public Builder addOrderBy(com.google.firestore.v1.StructuredQuery.Order value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      *
@@ -10646,8 +11824,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();
@@ -10661,6 +11838,8 @@ public Builder addOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      *
@@ -10698,6 +11877,8 @@ public Builder addOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      *
@@ -10735,6 +11916,8 @@ public Builder addOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      *
@@ -10764,8 +11947,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);
@@ -10773,6 +11955,8 @@ public Builder addAllOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      *
@@ -10809,6 +11993,8 @@ public Builder clearOrderBy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      *
@@ -10845,6 +12031,8 @@ public Builder removeOrderBy(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      *
@@ -10870,11 +12058,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.
      *
@@ -10900,14 +12089,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.
      *
@@ -10933,8 +12124,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 {
@@ -10942,6 +12133,8 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      *
@@ -10968,10 +12161,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.
      *
@@ -10997,12 +12192,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.
      *
@@ -11028,20 +12224,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_;
@@ -11049,8 +12248,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.
      *
@@ -11086,12 +12290,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.
      *
@@ -11127,6 +12334,7 @@ public boolean hasStartAt() {
      * 
* * .google.firestore.v1.Cursor start_at = 7; + * * @return The startAt. */ public com.google.firestore.v1.Cursor getStartAt() { @@ -11137,6 +12345,8 @@ public com.google.firestore.v1.Cursor getStartAt() { } } /** + * + * *
      * A potential prefix of a position in the result set to start the query at.
      *
@@ -11187,6 +12397,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.
      *
@@ -11223,8 +12435,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 {
@@ -11235,6 +12446,8 @@ public Builder setStartAt(
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      *
@@ -11273,9 +12486,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;
@@ -11288,6 +12501,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.
      *
@@ -11335,6 +12550,8 @@ public Builder clearStartAt() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      *
@@ -11377,6 +12594,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.
      *
@@ -11417,11 +12636,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.
      *
@@ -11459,14 +12679,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_;
@@ -11474,8 +12697,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.
      *
@@ -11489,12 +12717,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.
      *
@@ -11508,6 +12739,7 @@ public boolean hasEndAt() {
      * 
* * .google.firestore.v1.Cursor end_at = 8; + * * @return The endAt. */ public com.google.firestore.v1.Cursor getEndAt() { @@ -11518,6 +12750,8 @@ public com.google.firestore.v1.Cursor getEndAt() { } } /** + * + * *
      * A potential prefix of a position in the result set to end the query at.
      *
@@ -11546,6 +12780,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.
      *
@@ -11560,8 +12796,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 {
@@ -11572,6 +12807,8 @@ public Builder setEndAt(
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      *
@@ -11588,9 +12825,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;
@@ -11603,6 +12840,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.
      *
@@ -11628,6 +12867,8 @@ public Builder clearEndAt() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      *
@@ -11648,6 +12889,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.
      *
@@ -11666,11 +12909,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.
      *
@@ -11686,21 +12930,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.
      *
@@ -11713,6 +12962,7 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
      * 
* * int32 offset = 6; + * * @return The offset. */ @java.lang.Override @@ -11720,6 +12970,8 @@ public int getOffset() { return offset_; } /** + * + * *
      * The number of documents to skip before returning the first result.
      *
@@ -11732,6 +12984,7 @@ public int getOffset() {
      * 
* * int32 offset = 6; + * * @param value The offset to set. * @return This builder for chaining. */ @@ -11743,6 +12996,8 @@ public Builder setOffset(int value) { return this; } /** + * + * *
      * The number of documents to skip before returning the first result.
      *
@@ -11755,6 +13010,7 @@ public Builder setOffset(int value) {
      * 
* * int32 offset = 6; + * * @return This builder for chaining. */ public Builder clearOffset() { @@ -11766,8 +13022,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.
      *
@@ -11779,12 +13040,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.
      *
@@ -11796,6 +13060,7 @@ public boolean hasLimit() {
      * 
* * .google.protobuf.Int32Value limit = 5; + * * @return The limit. */ public com.google.protobuf.Int32Value getLimit() { @@ -11806,6 +13071,8 @@ public com.google.protobuf.Int32Value getLimit() { } } /** + * + * *
      * The maximum number of results to return.
      *
@@ -11832,6 +13099,8 @@ public Builder setLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      *
@@ -11844,8 +13113,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 {
@@ -11856,6 +13124,8 @@ public Builder setLimit(
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      *
@@ -11870,9 +13140,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;
@@ -11885,6 +13155,8 @@ public Builder mergeLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      *
@@ -11908,6 +13180,8 @@ public Builder clearLimit() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      *
@@ -11926,6 +13200,8 @@ public com.google.protobuf.Int32Value.Builder getLimitBuilder() {
       return getLimitFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      *
@@ -11942,11 +13218,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.
      *
@@ -11960,21 +13237,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);
     }
 
@@ -11984,12 +13264,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();
   }
@@ -11998,27 +13278,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;
@@ -12033,6 +13313,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 8618b22231..7d4b22749b 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.
    *
@@ -17,10 +35,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.
    *
@@ -30,10 +51,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.
    *
@@ -47,15 +71,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.
    * 
@@ -64,6 +91,8 @@ public interface StructuredQueryOrBuilder extends */ com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int index); /** + * + * *
    * The collections to query.
    * 
@@ -72,43 +101,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.
    * 
@@ -118,6 +158,8 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder(); /** + * + * *
    * The order to apply to the query results.
    *
@@ -143,9 +185,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.
    *
@@ -173,6 +216,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.
    *
@@ -200,6 +245,8 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui
    */
   int getOrderByCount();
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    *
@@ -225,9 +272,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.
    *
@@ -253,10 +302,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.
    *
@@ -292,10 +342,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.
    *
@@ -331,10 +384,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.
    *
@@ -374,6 +430,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.
    *
@@ -387,10 +445,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.
    *
@@ -404,10 +465,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.
    *
@@ -425,6 +489,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.
    *
@@ -437,11 +503,14 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * int32 offset = 6; + * * @return The offset. */ int getOffset(); /** + * + * *
    * The maximum number of results to return.
    *
@@ -453,10 +522,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.
    *
@@ -468,10 +540,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.
    *
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 75%
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 b7c4d2e6fc..4f0160d771 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,52 +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;
 
 /**
+ *
+ *
  * 
  * 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(); } - 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}`.
@@ -55,11 +75,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}`.
@@ -68,10 +90,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}`.
@@ -80,11 +105,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}`.
@@ -93,58 +121,64 @@ 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.emptyList(); + documents_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DocumentsTarget(); } - 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.LazyStringArrayList documents_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -153,13 +187,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}`.
@@ -168,12 +204,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}`.
@@ -182,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. */ @@ -189,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}`.
@@ -197,15 +239,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; @@ -217,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 { for (int i = 0; i < documents_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, documents_.getRaw(i)); } @@ -247,15 +289,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; } @@ -276,90 +318,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 @@ -369,52 +415,53 @@ 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(); bitField0_ = 0; - documents_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + documents_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @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 @@ -433,8 +480,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.Target.DocumentsTarget result = + new com.google.firestore.v1.Target.DocumentsTarget(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -451,38 +501,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; @@ -490,7 +543,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_; @@ -527,18 +581,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) { @@ -548,10 +604,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList documents_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDocumentsIsMutable() { if (!documents_.isModifiable()) { documents_ = new com.google.protobuf.LazyStringArrayList(documents_); @@ -559,6 +617,8 @@ private void ensureDocumentsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -567,14 +627,16 @@ 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() { documents_.makeImmutable(); return documents_; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -583,12 +645,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}`.
@@ -597,6 +662,7 @@ public int getDocumentsCount() {
        * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -604,6 +670,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}`.
@@ -612,14 +680,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}`.
@@ -628,13 +698,15 @@ 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); bitField0_ |= 0x00000001; @@ -642,6 +714,8 @@ public Builder setDocuments( return this; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -650,12 +724,14 @@ 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); bitField0_ |= 0x00000001; @@ -663,6 +739,8 @@ public Builder addDocuments( return this; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -671,19 +749,20 @@ 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_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -692,16 +771,19 @@ public Builder addAllDocuments(
        * 
* * repeated string documents = 2; + * * @return This builder for chaining. */ public Builder clearDocuments() { - documents_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + documents_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -710,12 +792,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); @@ -723,6 +807,7 @@ public Builder addDocumentsBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -735,12 +820,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(); } @@ -749,27 +834,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; @@ -784,14 +870,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
@@ -802,10 +890,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
@@ -816,30 +907,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.
      * 
@@ -851,54 +950,62 @@ public interface QueryTargetOrBuilder extends 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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -914,26 +1021,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
@@ -944,6 +1056,7 @@ public int getNumber() {
      * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -952,14 +1065,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
@@ -970,16 +1084,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 { @@ -989,11 +1102,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 @@ -1001,21 +1117,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.
      * 
@@ -1025,12 +1146,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; @@ -1042,8 +1164,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_); } @@ -1063,8 +1184,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; @@ -1074,20 +1196,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: @@ -1118,90 +1239,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 @@ -1211,39 +1336,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(); @@ -1258,9 +1385,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 @@ -1279,8 +1406,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; @@ -1296,8 +1426,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(); } } @@ -1306,38 +1435,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; @@ -1352,13 +1484,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(); @@ -1386,24 +1520,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) { @@ -1413,12 +1549,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() { @@ -1432,6 +1568,8 @@ public Builder clearQueryType() { private java.lang.Object parent_ = ""; /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1442,13 +1580,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; @@ -1457,6 +1595,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1467,15 +1607,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 { @@ -1483,6 +1622,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1493,18 +1634,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
@@ -1515,6 +1660,7 @@ public Builder setParent(
        * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1524,6 +1670,8 @@ public Builder clearParent() { return this; } /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1534,12 +1682,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; @@ -1548,13 +1698,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 @@ -1562,11 +1718,14 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
        * A structured query.
        * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override @@ -1584,6 +1743,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
        * A structured query.
        * 
@@ -1604,6 +1765,8 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** + * + * *
        * A structured query.
        * 
@@ -1622,6 +1785,8 @@ public Builder setStructuredQuery( return this; } /** + * + * *
        * A structured query.
        * 
@@ -1630,10 +1795,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; } @@ -1649,6 +1817,8 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** + * + * *
        * A structured query.
        * 
@@ -1672,6 +1842,8 @@ public Builder clearStructuredQuery() { return this; } /** + * + * *
        * A structured query.
        * 
@@ -1682,6 +1854,8 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** + * + * *
        * A structured query.
        * 
@@ -1700,6 +1874,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** + * + * *
        * A structured query.
        * 
@@ -1707,14 +1883,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()); @@ -1724,6 +1905,7 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil onChanged(); return structuredQueryBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1736,12 +1918,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(); } @@ -1750,27 +1932,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; @@ -1785,19 +1968,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Target.QueryTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int targetTypeCase_ = 0; + @SuppressWarnings("serial") 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; } @@ -1813,33 +1999,40 @@ 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; + @SuppressWarnings("serial") 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; } @@ -1855,30 +2048,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 @@ -1886,21 +2085,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.
    * 
@@ -1910,18 +2114,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 @@ -1929,21 +2136,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.
    * 
@@ -1953,13 +2165,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.
@@ -1968,6 +2182,7 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui
    * 
* * bytes resume_token = 4; + * * @return Whether the resumeToken field is set. */ @java.lang.Override @@ -1975,6 +2190,8 @@ public boolean hasResumeToken() { return resumeTypeCase_ == 4; } /** + * + * *
    * A resume token from a prior
    * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -1983,6 +2200,7 @@ public boolean hasResumeToken() {
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ @java.lang.Override @@ -1995,6 +2213,8 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int READ_TIME_FIELD_NUMBER = 11; /** + * + * *
    * Start listening after a specific `read_time`.
    *
@@ -2002,6 +2222,7 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -2009,6 +2230,8 @@ public boolean hasReadTime() { return resumeTypeCase_ == 11; } /** + * + * *
    * Start listening after a specific `read_time`.
    *
@@ -2016,16 +2239,19 @@ public boolean hasReadTime() {
    * 
* * .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`.
    *
@@ -2037,7 +2263,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();
   }
@@ -2045,12 +2271,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 @@ -2061,11 +2290,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 @@ -2076,6 +2308,8 @@ public boolean getOnce() { public static final int EXPECTED_COUNT_FIELD_NUMBER = 12; private com.google.protobuf.Int32Value expectedCount_; /** + * + * *
    * The number of documents that last matched the query at the resume token or
    * read time.
@@ -2086,6 +2320,7 @@ public boolean getOnce() {
    * 
* * .google.protobuf.Int32Value expected_count = 12; + * * @return Whether the expectedCount field is set. */ @java.lang.Override @@ -2093,6 +2328,8 @@ public boolean hasExpectedCount() { return expectedCount_ != null; } /** + * + * *
    * The number of documents that last matched the query at the resume token or
    * read time.
@@ -2103,13 +2340,18 @@ public boolean hasExpectedCount() {
    * 
* * .google.protobuf.Int32Value expected_count = 12; + * * @return The expectedCount. */ @java.lang.Override public com.google.protobuf.Int32Value getExpectedCount() { - return expectedCount_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : expectedCount_; + return expectedCount_ == null + ? com.google.protobuf.Int32Value.getDefaultInstance() + : expectedCount_; } /** + * + * *
    * The number of documents that last matched the query at the resume token or
    * read time.
@@ -2123,10 +2365,13 @@ public com.google.protobuf.Int32Value getExpectedCount() {
    */
   @java.lang.Override
   public com.google.protobuf.Int32ValueOrBuilder getExpectedCountOrBuilder() {
-    return expectedCount_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : expectedCount_;
+    return expectedCount_ == null
+        ? com.google.protobuf.Int32Value.getDefaultInstance()
+        : expectedCount_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2138,8 +2383,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_);
     }
@@ -2147,8 +2391,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_);
@@ -2172,33 +2415,33 @@ 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_);
     }
     if (expectedCount_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(12, getExpectedCount());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getExpectedCount());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -2208,31 +2451,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 (hasExpectedCount() != other.hasExpectedCount()) return false;
     if (hasExpectedCount()) {
-      if (!getExpectedCount()
-          .equals(other.getExpectedCount())) return false;
+      if (!getExpectedCount().equals(other.getExpectedCount())) 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:
@@ -2240,12 +2478,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:
@@ -2264,8 +2500,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());
     if (hasExpectedCount()) {
       hash = (37 * hash) + EXPECTED_COUNT_FIELD_NUMBER;
       hash = (53 * hash) + getExpectedCount().hashCode();
@@ -2299,132 +2534,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(); @@ -2453,9 +2690,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 @@ -2475,7 +2712,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; @@ -2490,27 +2729,23 @@ private void buildPartial0(com.google.firestore.v1.Target result) { result.once_ = once_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.expectedCount_ = expectedCountBuilder_ == null - ? expectedCount_ - : expectedCountBuilder_.build(); + result.expectedCount_ = + expectedCountBuilder_ == null ? expectedCount_ : expectedCountBuilder_.build(); } } 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(); } } @@ -2519,38 +2754,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; @@ -2569,30 +2805,36 @@ public Builder mergeFrom(com.google.firestore.v1.Target other) { mergeExpectedCount(other.getExpectedCount()); } 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(); @@ -2620,55 +2862,55 @@ 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 - case 98: { - input.readMessage( - getExpectedCountFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 98 - 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 + case 98: + { + input.readMessage(getExpectedCountFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 98 + 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) { @@ -2678,12 +2920,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() { @@ -2695,10 +2937,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() { @@ -2711,13 +2952,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 @@ -2725,11 +2972,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 @@ -2747,6 +2997,8 @@ public com.google.firestore.v1.Target.QueryTarget getQuery() { } } /** + * + * *
      * A target specified by a query.
      * 
@@ -2767,14 +3019,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(); @@ -2785,6 +3038,8 @@ public Builder setQuery( return this; } /** + * + * *
      * A target specified by a query.
      * 
@@ -2793,10 +3048,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; } @@ -2812,6 +3070,8 @@ public Builder mergeQuery(com.google.firestore.v1.Target.QueryTarget value) { return this; } /** + * + * *
      * A target specified by a query.
      * 
@@ -2835,6 +3095,8 @@ public Builder clearQuery() { return this; } /** + * + * *
      * A target specified by a query.
      * 
@@ -2845,6 +3107,8 @@ public com.google.firestore.v1.Target.QueryTarget.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** + * + * *
      * A target specified by a query.
      * 
@@ -2863,6 +3127,8 @@ public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { } } /** + * + * *
      * A target specified by a query.
      * 
@@ -2870,14 +3136,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()); @@ -2889,13 +3160,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 @@ -2903,11 +3180,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 @@ -2925,6 +3205,8 @@ public com.google.firestore.v1.Target.DocumentsTarget getDocuments() { } } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2945,6 +3227,8 @@ public Builder setDocuments(com.google.firestore.v1.Target.DocumentsTarget value return this; } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2963,6 +3247,8 @@ public Builder setDocuments( return this; } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2971,10 +3257,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; } @@ -2990,6 +3279,8 @@ public Builder mergeDocuments(com.google.firestore.v1.Target.DocumentsTarget val return this; } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -3013,6 +3304,8 @@ public Builder clearDocuments() { return this; } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -3023,6 +3316,8 @@ public com.google.firestore.v1.Target.DocumentsTarget.Builder getDocumentsBuilde return getDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -3041,6 +3336,8 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui } } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -3048,14 +3345,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()); @@ -3067,6 +3369,8 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui } /** + * + * *
      * A resume token from a prior
      * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -3075,12 +3379,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.
@@ -3089,6 +3396,7 @@ public boolean hasResumeToken() {
      * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ public com.google.protobuf.ByteString getResumeToken() { @@ -3098,6 +3406,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.
@@ -3106,17 +3416,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.
@@ -3125,6 +3440,7 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 4; + * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -3137,8 +3453,13 @@ 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`.
      *
@@ -3146,6 +3467,7 @@ public Builder clearResumeToken() {
      * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -3153,6 +3475,8 @@ public boolean hasReadTime() { return resumeTypeCase_ == 11; } /** + * + * *
      * Start listening after a specific `read_time`.
      *
@@ -3160,6 +3484,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return The readTime. */ @java.lang.Override @@ -3177,6 +3502,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Start listening after a specific `read_time`.
      *
@@ -3199,6 +3526,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      *
@@ -3207,8 +3536,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();
@@ -3219,6 +3547,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      *
@@ -3229,10 +3559,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;
         }
@@ -3248,6 +3580,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      *
@@ -3273,6 +3607,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      *
@@ -3285,6 +3621,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      *
@@ -3305,6 +3643,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      *
@@ -3314,17 +3654,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;
@@ -3332,14 +3675,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 @@ -3347,12 +3693,15 @@ 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. */ @@ -3364,12 +3713,15 @@ public Builder setTargetId(int value) { 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() { @@ -3379,13 +3731,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 @@ -3393,11 +3748,14 @@ 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. */ @@ -3409,11 +3767,14 @@ public Builder setOnce(boolean value) { 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() { @@ -3425,8 +3786,13 @@ public Builder clearOnce() { private com.google.protobuf.Int32Value expectedCount_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> expectedCountBuilder_; + com.google.protobuf.Int32Value, + com.google.protobuf.Int32Value.Builder, + com.google.protobuf.Int32ValueOrBuilder> + expectedCountBuilder_; /** + * + * *
      * The number of documents that last matched the query at the resume token or
      * read time.
@@ -3437,12 +3803,15 @@ public Builder clearOnce() {
      * 
* * .google.protobuf.Int32Value expected_count = 12; + * * @return Whether the expectedCount field is set. */ public boolean hasExpectedCount() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * The number of documents that last matched the query at the resume token or
      * read time.
@@ -3453,16 +3822,21 @@ public boolean hasExpectedCount() {
      * 
* * .google.protobuf.Int32Value expected_count = 12; + * * @return The expectedCount. */ public com.google.protobuf.Int32Value getExpectedCount() { if (expectedCountBuilder_ == null) { - return expectedCount_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : expectedCount_; + return expectedCount_ == null + ? com.google.protobuf.Int32Value.getDefaultInstance() + : expectedCount_; } else { return expectedCountBuilder_.getMessage(); } } /** + * + * *
      * The number of documents that last matched the query at the resume token or
      * read time.
@@ -3488,6 +3862,8 @@ public Builder setExpectedCount(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The number of documents that last matched the query at the resume token or
      * read time.
@@ -3499,8 +3875,7 @@ public Builder setExpectedCount(com.google.protobuf.Int32Value value) {
      *
      * .google.protobuf.Int32Value expected_count = 12;
      */
-    public Builder setExpectedCount(
-        com.google.protobuf.Int32Value.Builder builderForValue) {
+    public Builder setExpectedCount(com.google.protobuf.Int32Value.Builder builderForValue) {
       if (expectedCountBuilder_ == null) {
         expectedCount_ = builderForValue.build();
       } else {
@@ -3511,6 +3886,8 @@ public Builder setExpectedCount(
       return this;
     }
     /**
+     *
+     *
      * 
      * The number of documents that last matched the query at the resume token or
      * read time.
@@ -3524,9 +3901,9 @@ public Builder setExpectedCount(
      */
     public Builder mergeExpectedCount(com.google.protobuf.Int32Value value) {
       if (expectedCountBuilder_ == null) {
-        if (((bitField0_ & 0x00000040) != 0) &&
-          expectedCount_ != null &&
-          expectedCount_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0)
+            && expectedCount_ != null
+            && expectedCount_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
           getExpectedCountBuilder().mergeFrom(value);
         } else {
           expectedCount_ = value;
@@ -3539,6 +3916,8 @@ public Builder mergeExpectedCount(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The number of documents that last matched the query at the resume token or
      * read time.
@@ -3561,6 +3940,8 @@ public Builder clearExpectedCount() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The number of documents that last matched the query at the resume token or
      * read time.
@@ -3578,6 +3959,8 @@ public com.google.protobuf.Int32Value.Builder getExpectedCountBuilder() {
       return getExpectedCountFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The number of documents that last matched the query at the resume token or
      * read time.
@@ -3593,11 +3976,14 @@ public com.google.protobuf.Int32ValueOrBuilder getExpectedCountOrBuilder() {
       if (expectedCountBuilder_ != null) {
         return expectedCountBuilder_.getMessageOrBuilder();
       } else {
-        return expectedCount_ == null ?
-            com.google.protobuf.Int32Value.getDefaultInstance() : expectedCount_;
+        return expectedCount_ == null
+            ? com.google.protobuf.Int32Value.getDefaultInstance()
+            : expectedCount_;
       }
     }
     /**
+     *
+     *
      * 
      * The number of documents that last matched the query at the resume token or
      * read time.
@@ -3610,21 +3996,24 @@ public com.google.protobuf.Int32ValueOrBuilder getExpectedCountOrBuilder() {
      * .google.protobuf.Int32Value expected_count = 12;
      */
     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>
         getExpectedCountFieldBuilder() {
       if (expectedCountBuilder_ == null) {
-        expectedCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
-                getExpectedCount(),
-                getParentForChildren(),
-                isClean());
+        expectedCountBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Int32Value,
+                com.google.protobuf.Int32Value.Builder,
+                com.google.protobuf.Int32ValueOrBuilder>(
+                getExpectedCount(), getParentForChildren(), isClean());
         expectedCount_ = null;
       }
       return expectedCountBuilder_;
     }
+
     @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);
     }
 
@@ -3634,12 +4023,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();
   }
@@ -3648,27 +4037,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;
@@ -3683,6 +4072,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 dc554b0f07..cb065ff533 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,34 +45,38 @@ private TargetChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TargetChange(); } - 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`.
      * 
@@ -63,6 +85,8 @@ public enum TargetChangeType */ NO_CHANGE(0), /** + * + * *
      * The targets have been added.
      * 
@@ -71,6 +95,8 @@ public enum TargetChangeType */ ADD(1), /** + * + * *
      * The targets have been removed.
      * 
@@ -79,6 +105,8 @@ public enum TargetChangeType */ REMOVE(2), /** + * + * *
      * The targets reflect all changes committed before the targets were added
      * to the stream.
@@ -94,6 +122,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.
@@ -109,6 +139,8 @@ public enum TargetChangeType
     ;
 
     /**
+     *
+     *
      * 
      * No change has occurred. Used only to send an updated `resume_token`.
      * 
@@ -117,6 +149,8 @@ public enum TargetChangeType */ public static final int NO_CHANGE_VALUE = 0; /** + * + * *
      * The targets have been added.
      * 
@@ -125,6 +159,8 @@ public enum TargetChangeType */ public static final int ADD_VALUE = 1; /** + * + * *
      * The targets have been removed.
      * 
@@ -133,6 +169,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.
@@ -160,7 +200,6 @@ public enum TargetChangeType
      */
     public static final int RESET_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -185,41 +224,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);
     }
 
@@ -228,8 +272,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;
@@ -249,33 +292,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.
    *
@@ -285,14 +342,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.
    *
@@ -302,12 +361,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.
    *
@@ -317,22 +379,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 @@ -340,11 +407,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 @@ -352,6 +422,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.
    * 
@@ -366,6 +438,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.
@@ -374,6 +448,7 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() {
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ @java.lang.Override @@ -384,6 +459,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).
@@ -398,6 +475,7 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -405,6 +483,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).
@@ -419,6 +499,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ @java.lang.Override @@ -426,6 +507,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).
@@ -447,6 +530,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -458,10 +542,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) {
@@ -489,35 +573,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;
@@ -527,7 +607,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);
@@ -535,19 +615,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;
@@ -581,132 +657,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(); @@ -728,9 +807,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 @@ -751,7 +830,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; } @@ -770,17 +851,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(); } } @@ -788,38 +865,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; @@ -876,52 +954,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) { @@ -931,26 +1012,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. */ @@ -961,28 +1050,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(); } @@ -992,11 +1091,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() { @@ -1007,6 +1109,7 @@ public Builder clearTargetChangeType() { } private com.google.protobuf.Internal.IntList targetIds_ = emptyIntList(); + private void ensureTargetIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { targetIds_ = mutableCopy(targetIds_); @@ -1014,6 +1117,8 @@ private void ensureTargetIdsIsMutable() { } } /** + * + * *
      * The target IDs of targets that have changed.
      *
@@ -1023,14 +1128,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.
      *
@@ -1040,12 +1148,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.
      *
@@ -1055,6 +1166,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. */ @@ -1062,6 +1174,8 @@ public int getTargetIds(int index) { return targetIds_.getInt(index); } /** + * + * *
      * The target IDs of targets that have changed.
      *
@@ -1071,12 +1185,12 @@ 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); @@ -1084,6 +1198,8 @@ public Builder setTargetIds( return this; } /** + * + * *
      * The target IDs of targets that have changed.
      *
@@ -1093,6 +1209,7 @@ public Builder setTargetIds(
      * 
* * repeated int32 target_ids = 2; + * * @param value The targetIds to add. * @return This builder for chaining. */ @@ -1104,6 +1221,8 @@ public Builder addTargetIds(int value) { return this; } /** + * + * *
      * The target IDs of targets that have changed.
      *
@@ -1113,18 +1232,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.
      *
@@ -1134,6 +1254,7 @@ public Builder addAllTargetIds(
      * 
* * repeated int32 target_ids = 2; + * * @return This builder for chaining. */ public Builder clearTargetIds() { @@ -1145,24 +1266,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() { @@ -1173,6 +1301,8 @@ public com.google.rpc.Status getCause() { } } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1193,14 +1323,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 { @@ -1211,6 +1342,8 @@ public Builder setCause( return this; } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1219,9 +1352,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; @@ -1234,6 +1367,8 @@ public Builder mergeCause(com.google.rpc.Status value) { return this; } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1251,6 +1386,8 @@ public Builder clearCause() { return this; } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1263,6 +1400,8 @@ public com.google.rpc.Status.Builder getCauseBuilder() { return getCauseFieldBuilder().getBuilder(); } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1273,11 +1412,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.
      * 
@@ -1285,14 +1425,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_; @@ -1300,6 +1440,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.
@@ -1308,6 +1450,7 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() {
      * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ @java.lang.Override @@ -1315,6 +1458,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.
@@ -1323,17 +1468,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.
@@ -1342,6 +1492,7 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 4; + * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -1353,8 +1504,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).
@@ -1369,12 +1525,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).
@@ -1389,6 +1548,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1399,6 +1559,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).
@@ -1428,6 +1590,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).
@@ -1443,8 +1607,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 {
@@ -1455,6 +1618,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).
@@ -1472,9 +1637,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;
@@ -1487,6 +1652,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).
@@ -1513,6 +1680,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).
@@ -1534,6 +1703,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).
@@ -1553,11 +1724,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).
@@ -1574,21 +1746,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);
     }
 
@@ -1598,12 +1773,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();
   }
@@ -1612,27 +1787,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;
@@ -1647,6 +1822,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 d6efa1b75f..f3ff30f1b8 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.
    *
@@ -36,10 +60,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.
    *
@@ -49,10 +76,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.
    *
@@ -62,30 +92,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.
    * 
@@ -95,6 +134,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.
@@ -103,11 +144,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).
@@ -122,10 +166,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).
@@ -140,10 +187,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 86%
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 417abaec9f..c9045eb6f7 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.
@@ -70,10 +104,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.
@@ -82,11 +119,14 @@ public interface TargetOrBuilder extends
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** + * + * *
    * Start listening after a specific `read_time`.
    *
@@ -94,10 +134,13 @@ public interface TargetOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Start listening after a specific `read_time`.
    *
@@ -105,10 +148,13 @@ public interface TargetOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Start listening after a specific `read_time`.
    *
@@ -120,27 +166,35 @@ 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(); /** + * + * *
    * The number of documents that last matched the query at the resume token or
    * read time.
@@ -151,10 +205,13 @@ public interface TargetOrBuilder extends
    * 
* * .google.protobuf.Int32Value expected_count = 12; + * * @return Whether the expectedCount field is set. */ boolean hasExpectedCount(); /** + * + * *
    * The number of documents that last matched the query at the resume token or
    * read time.
@@ -165,10 +222,13 @@ public interface TargetOrBuilder extends
    * 
* * .google.protobuf.Int32Value expected_count = 12; + * * @return The expectedCount. */ com.google.protobuf.Int32Value getExpectedCount(); /** + * + * *
    * The number of documents that last matched the query at the resume token or
    * read time.
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 a5061a69bc..28d883feef 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,109 +1,138 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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(); } - 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(); } - 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 @@ -112,6 +141,7 @@ public com.google.protobuf.ByteString getRetryTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,8 +153,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_); } @@ -138,8 +167,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; @@ -149,15 +177,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; } @@ -177,89 +205,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 @@ -269,39 +302,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(); @@ -311,9 +346,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 @@ -332,8 +367,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; } @@ -349,38 +387,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; @@ -388,7 +429,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()); } @@ -418,17 +460,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) { @@ -438,15 +482,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 @@ -454,27 +503,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() { @@ -483,6 +540,7 @@ public Builder clearRetryTransaction() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -495,12 +553,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(); } @@ -509,27 +567,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; @@ -544,34 +603,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.
@@ -581,56 +648,64 @@ public interface ReadOnlyOrBuilder extends
      */
     com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-    com.google.firestore.v1.TransactionOptions.ReadOnly.ConsistencySelectorCase getConsistencySelectorCase();
+    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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -646,30 +721,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 @@ -677,22 +757,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.
@@ -703,12 +788,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;
@@ -720,8 +806,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_);
       }
@@ -735,8 +820,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;
@@ -746,18 +832,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:
@@ -787,89 +873,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
@@ -879,39 +970,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(); @@ -925,9 +1018,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 @@ -946,8 +1039,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; @@ -960,8 +1056,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(); } } @@ -970,38 +1065,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; @@ -1009,15 +1107,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(); @@ -1045,19 +1146,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) { @@ -1067,12 +1168,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() { @@ -1085,14 +1186,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 @@ -1100,12 +1207,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 @@ -1123,6 +1233,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1144,6 +1256,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.
@@ -1151,8 +1265,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();
@@ -1163,6 +1276,8 @@ public Builder setReadTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1172,10 +1287,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;
           }
@@ -1191,6 +1309,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.
@@ -1215,6 +1335,8 @@ public Builder clearReadTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1226,6 +1348,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.
@@ -1245,6 +1369,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1253,14 +1379,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());
@@ -1270,6 +1401,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
         onChanged();
         return readTimeBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1282,12 +1414,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();
     }
@@ -1296,27 +1428,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;
@@ -1331,19 +1464,22 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.TransactionOptions.ReadOnly getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int modeCase_ = 0;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -1359,30 +1495,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 @@ -1390,21 +1532,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.
    * 
@@ -1414,18 +1561,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 @@ -1433,21 +1583,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.
    * 
@@ -1457,12 +1612,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; @@ -1474,8 +1630,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_); } @@ -1492,12 +1647,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; @@ -1507,22 +1664,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: @@ -1555,132 +1711,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(); @@ -1697,9 +1857,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 @@ -1718,8 +1878,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; @@ -1732,12 +1895,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(); } } @@ -1746,38 +1907,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; @@ -1787,17 +1949,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(); @@ -1825,26 +1990,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) { @@ -1854,12 +2018,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() { @@ -1872,13 +2036,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 @@ -1886,11 +2056,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 @@ -1908,6 +2081,8 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly() { } } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -1928,6 +2103,8 @@ public Builder setReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly v return this; } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -1946,6 +2123,8 @@ public Builder setReadOnly( return this; } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -1954,10 +2133,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; } @@ -1973,6 +2155,8 @@ public Builder mergeReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly return this; } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -1996,6 +2180,8 @@ public Builder clearReadOnly() { return this; } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -2006,6 +2192,8 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly.Builder getReadOnlyBu return getReadOnlyFieldBuilder().getBuilder(); } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -2024,6 +2212,8 @@ public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO } } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -2031,14 +2221,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()); @@ -2050,13 +2245,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 @@ -2064,11 +2265,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 @@ -2086,6 +2290,8 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite() { } } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2106,6 +2312,8 @@ public Builder setReadWrite(com.google.firestore.v1.TransactionOptions.ReadWrite return this; } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2124,6 +2332,8 @@ public Builder setReadWrite( return this; } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2132,10 +2342,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; } @@ -2151,6 +2364,8 @@ public Builder mergeReadWrite(com.google.firestore.v1.TransactionOptions.ReadWri return this; } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2174,6 +2389,8 @@ public Builder clearReadWrite() { return this; } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2184,6 +2401,8 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite.Builder getReadWrite return getReadWriteFieldBuilder().getBuilder(); } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2202,6 +2421,8 @@ public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit } } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2209,14 +2430,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()); @@ -2226,9 +2452,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); } @@ -2238,12 +2464,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(); } @@ -2252,27 +2478,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; @@ -2287,6 +2513,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 4c58948a95..7596e387a2 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 6d94db852a..5ad1a43aff 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,47 +28,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();
   }
 
-  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 @@ -59,12 +81,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 @@ -72,12 +98,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() { @@ -87,6 +116,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.
@@ -98,6 +129,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 @@ -105,6 +137,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -116,13 +150,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.
@@ -137,12 +176,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.
    *
@@ -151,6 +194,7 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return Whether the mask field is set. */ @java.lang.Override @@ -158,6 +202,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    *
@@ -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.
    *
@@ -190,12 +239,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 @@ -203,19 +255,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.
@@ -225,10 +284,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;
@@ -240,8 +302,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());
     }
@@ -264,20 +325,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;
@@ -287,32 +344,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;
@@ -346,99 +400,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].
@@ -446,33 +505,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();
@@ -501,9 +559,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
@@ -522,8 +580,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;
     }
@@ -531,24 +592,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();
       }
     }
 
@@ -556,38 +610,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;
@@ -634,40 +689,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) {
@@ -677,46 +729,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) { @@ -732,15 +801,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 { @@ -751,18 +822,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; @@ -775,12 +849,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); @@ -793,12 +870,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; @@ -806,38 +886,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_; @@ -845,8 +935,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.
@@ -858,12 +953,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.
@@ -875,16 +973,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.
@@ -911,6 +1014,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.
@@ -923,8 +1028,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 {
@@ -935,6 +1039,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -949,9 +1055,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;
@@ -964,6 +1070,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.
@@ -987,6 +1095,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1005,6 +1115,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.
@@ -1021,11 +1133,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.
@@ -1039,14 +1154,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_;
@@ -1054,8 +1172,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.
      *
@@ -1064,12 +1187,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.
      *
@@ -1078,6 +1204,7 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1088,6 +1215,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * The fields to return. If not set, returns all fields.
      *
@@ -1111,6 +1240,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1120,8 +1251,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 {
@@ -1132,6 +1262,8 @@ public Builder setMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1143,9 +1275,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;
@@ -1158,6 +1290,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1178,6 +1312,8 @@ public Builder clearMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1193,6 +1329,8 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
       return getMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      *
@@ -1206,11 +1344,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.
      *
@@ -1221,14 +1360,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_;
@@ -1236,36 +1378,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.
@@ -1287,6 +1442,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.
@@ -1306,6 +1463,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.
@@ -1315,9 +1474,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;
@@ -1330,6 +1489,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.
@@ -1348,6 +1509,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.
@@ -1361,6 +1524,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.
@@ -1372,11 +1537,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.
@@ -1385,21 +1553,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);
     }
 
@@ -1409,12 +1580,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();
   }
@@ -1423,27 +1594,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;
@@ -1458,6 +1629,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 4891aa5716..89ed42e8f7 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.
@@ -49,10 +78,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.
@@ -64,10 +96,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.
@@ -83,6 +118,8 @@ public interface UpdateDocumentRequestOrBuilder extends
   com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * The fields to return. If not set, returns all fields.
    *
@@ -91,10 +128,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.
    *
@@ -103,10 +143,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.
    *
@@ -119,26 +162,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 6a042800fb..b2d36012a1 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,52 +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/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(); } - 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; + @SuppressWarnings("serial") 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), @@ -61,6 +81,7 @@ public enum ValueTypeCase MAP_VALUE(6), VALUETYPE_NOT_SET(0); private final int value; + private ValueTypeCase(int value) { this.value = value; } @@ -76,50 +97,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() { @@ -129,17 +168,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; @@ -147,11 +189,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 @@ -159,11 +204,14 @@ public boolean hasBooleanValue() { return valueTypeCase_ == 1; } /** + * + * *
    * A boolean value.
    * 
* * bool boolean_value = 1; + * * @return The booleanValue. */ @java.lang.Override @@ -176,11 +224,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 @@ -188,11 +239,14 @@ public boolean hasIntegerValue() { return valueTypeCase_ == 2; } /** + * + * *
    * An integer value.
    * 
* * int64 integer_value = 2; + * * @return The integerValue. */ @java.lang.Override @@ -205,11 +259,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 @@ -217,11 +274,14 @@ public boolean hasDoubleValue() { return valueTypeCase_ == 3; } /** + * + * *
    * A double value.
    * 
* * double double_value = 3; + * * @return The doubleValue. */ @java.lang.Override @@ -234,6 +294,8 @@ public double getDoubleValue() { public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 10; /** + * + * *
    * A timestamp value.
    *
@@ -242,6 +304,7 @@ public double getDoubleValue() {
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -249,6 +312,8 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** + * + * *
    * A timestamp value.
    *
@@ -257,16 +322,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.
    *
@@ -279,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.
    *
@@ -295,12 +365,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.
    *
@@ -310,6 +383,7 @@ public boolean hasStringValue() {
    * 
* * string string_value = 17; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -320,8 +394,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; @@ -330,6 +403,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * A string value.
    *
@@ -339,18 +414,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; } @@ -362,6 +436,8 @@ public java.lang.String getStringValue() { public static final int BYTES_VALUE_FIELD_NUMBER = 18; /** + * + * *
    * A bytes value.
    *
@@ -370,6 +446,7 @@ public java.lang.String getStringValue() {
    * 
* * bytes bytes_value = 18; + * * @return Whether the bytesValue field is set. */ @java.lang.Override @@ -377,6 +454,8 @@ public boolean hasBytesValue() { return valueTypeCase_ == 18; } /** + * + * *
    * A bytes value.
    *
@@ -385,6 +464,7 @@ public boolean hasBytesValue() {
    * 
* * bytes bytes_value = 18; + * * @return The bytesValue. */ @java.lang.Override @@ -397,24 +477,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() { @@ -425,8 +511,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; @@ -435,24 +520,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; } @@ -464,11 +550,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 @@ -476,21 +565,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.
    * 
@@ -500,13 +594,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.
    *
@@ -515,6 +611,7 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -522,6 +619,8 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** + * + * *
    * An array value.
    *
@@ -530,16 +629,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.
    *
@@ -552,18 +654,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 @@ -571,21 +676,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.
    * 
@@ -595,12 +705,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; @@ -612,19 +723,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_); @@ -648,8 +755,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); } @@ -661,50 +767,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; @@ -714,7 +825,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); @@ -724,49 +835,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: @@ -789,18 +889,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; @@ -838,132 +938,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(); @@ -986,9 +1088,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 @@ -1008,7 +1110,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; @@ -1021,20 +1125,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(); } } @@ -1043,38 +1143,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; @@ -1084,57 +1185,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(); @@ -1162,78 +1275,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) { @@ -1243,12 +1360,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() { @@ -1261,11 +1378,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 @@ -1273,11 +1393,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 @@ -1288,11 +1411,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. */ @@ -1303,28 +1429,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. */ @@ -1338,11 +1470,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() { @@ -1355,22 +1490,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() { @@ -1380,11 +1521,14 @@ public boolean getBooleanValue() { return false; } /** + * + * *
      * A boolean value.
      * 
* * bool boolean_value = 1; + * * @param value The booleanValue to set. * @return This builder for chaining. */ @@ -1396,11 +1540,14 @@ public Builder setBooleanValue(boolean value) { return this; } /** + * + * *
      * A boolean value.
      * 
* * bool boolean_value = 1; + * * @return This builder for chaining. */ public Builder clearBooleanValue() { @@ -1413,22 +1560,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() { @@ -1438,11 +1591,14 @@ public long getIntegerValue() { return 0L; } /** + * + * *
      * An integer value.
      * 
* * int64 integer_value = 2; + * * @param value The integerValue to set. * @return This builder for chaining. */ @@ -1454,11 +1610,14 @@ public Builder setIntegerValue(long value) { return this; } /** + * + * *
      * An integer value.
      * 
* * int64 integer_value = 2; + * * @return This builder for chaining. */ public Builder clearIntegerValue() { @@ -1471,22 +1630,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() { @@ -1496,11 +1661,14 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * A double value.
      * 
* * double double_value = 3; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1512,11 +1680,14 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
      * A double value.
      * 
* * double double_value = 3; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1529,8 +1700,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.
      *
@@ -1539,6 +1715,7 @@ public Builder clearDoubleValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -1546,6 +1723,8 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** + * + * *
      * A timestamp value.
      *
@@ -1554,6 +1733,7 @@ public boolean hasTimestampValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return The timestampValue. */ @java.lang.Override @@ -1571,6 +1751,8 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** + * + * *
      * A timestamp value.
      *
@@ -1594,6 +1776,8 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      *
@@ -1603,8 +1787,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();
@@ -1615,6 +1798,8 @@ public Builder setTimestampValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      *
@@ -1626,10 +1811,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;
         }
@@ -1645,6 +1832,8 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      *
@@ -1671,6 +1860,8 @@ public Builder clearTimestampValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      *
@@ -1684,6 +1875,8 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() {
       return getTimestampValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      *
@@ -1705,6 +1898,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      *
@@ -1715,17 +1910,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;
@@ -1734,6 +1932,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
     }
 
     /**
+     *
+     *
      * 
      * A string value.
      *
@@ -1743,6 +1943,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
      * 
* * string string_value = 17; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1750,6 +1951,8 @@ public boolean hasStringValue() { return valueTypeCase_ == 17; } /** + * + * *
      * A string value.
      *
@@ -1759,6 +1962,7 @@ public boolean hasStringValue() {
      * 
* * string string_value = 17; + * * @return The stringValue. */ @java.lang.Override @@ -1768,8 +1972,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; @@ -1780,6 +1983,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A string value.
      *
@@ -1789,19 +1994,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; } @@ -1811,6 +2015,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A string value.
      *
@@ -1820,18 +2026,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.
      *
@@ -1841,6 +2051,7 @@ public Builder setStringValue(
      * 
* * string string_value = 17; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1852,6 +2063,8 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * A string value.
      *
@@ -1861,12 +2074,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; @@ -1875,6 +2090,8 @@ public Builder setStringValueBytes( } /** + * + * *
      * A bytes value.
      *
@@ -1883,12 +2100,15 @@ public Builder setStringValueBytes(
      * 
* * bytes bytes_value = 18; + * * @return Whether the bytesValue field is set. */ public boolean hasBytesValue() { return valueTypeCase_ == 18; } /** + * + * *
      * A bytes value.
      *
@@ -1897,6 +2117,7 @@ public boolean hasBytesValue() {
      * 
* * bytes bytes_value = 18; + * * @return The bytesValue. */ public com.google.protobuf.ByteString getBytesValue() { @@ -1906,6 +2127,8 @@ public com.google.protobuf.ByteString getBytesValue() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * A bytes value.
      *
@@ -1914,17 +2137,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.
      *
@@ -1933,6 +2161,7 @@ public Builder setBytesValue(com.google.protobuf.ByteString value) {
      * 
* * bytes bytes_value = 18; + * * @return This builder for chaining. */ public Builder clearBytesValue() { @@ -1945,12 +2174,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 @@ -1958,12 +2190,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 @@ -1973,8 +2208,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; @@ -1985,25 +2219,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; } @@ -2013,30 +2248,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() { @@ -2048,18 +2290,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; @@ -2068,13 +2314,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 @@ -2082,11 +2332,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 @@ -2104,6 +2357,8 @@ public com.google.type.LatLng getGeoPointValue() { } } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2124,14 +2379,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(); @@ -2142,6 +2398,8 @@ public Builder setGeoPointValue( return this; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2150,10 +2408,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; } @@ -2169,6 +2428,8 @@ public Builder mergeGeoPointValue(com.google.type.LatLng value) { return this; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2192,6 +2453,8 @@ public Builder clearGeoPointValue() { return this; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2202,6 +2465,8 @@ public com.google.type.LatLng.Builder getGeoPointValueBuilder() { return getGeoPointValueFieldBuilder().getBuilder(); } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2220,6 +2485,8 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { } } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2227,17 +2494,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; @@ -2246,8 +2514,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.
      *
@@ -2256,6 +2529,7 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
      * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -2263,6 +2537,8 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** + * + * *
      * An array value.
      *
@@ -2271,6 +2547,7 @@ public boolean hasArrayValue() {
      * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return The arrayValue. */ @java.lang.Override @@ -2288,6 +2565,8 @@ public com.google.firestore.v1.ArrayValue getArrayValue() { } } /** + * + * *
      * An array value.
      *
@@ -2311,6 +2590,8 @@ public Builder setArrayValue(com.google.firestore.v1.ArrayValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      *
@@ -2320,8 +2601,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();
@@ -2332,6 +2612,8 @@ public Builder setArrayValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      *
@@ -2343,10 +2625,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;
         }
@@ -2362,6 +2647,8 @@ public Builder mergeArrayValue(com.google.firestore.v1.ArrayValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      *
@@ -2388,6 +2675,8 @@ public Builder clearArrayValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      *
@@ -2401,6 +2690,8 @@ public com.google.firestore.v1.ArrayValue.Builder getArrayValueBuilder() {
       return getArrayValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An array value.
      *
@@ -2422,6 +2713,8 @@ public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * An array value.
      *
@@ -2432,17 +2725,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;
@@ -2451,13 +2747,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 @@ -2465,11 +2767,14 @@ public boolean hasMapValue() { return valueTypeCase_ == 6; } /** + * + * *
      * A map value.
      * 
* * .google.firestore.v1.MapValue map_value = 6; + * * @return The mapValue. */ @java.lang.Override @@ -2487,6 +2792,8 @@ public com.google.firestore.v1.MapValue getMapValue() { } } /** + * + * *
      * A map value.
      * 
@@ -2507,14 +2814,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(); @@ -2525,6 +2833,8 @@ public Builder setMapValue( return this; } /** + * + * *
      * A map value.
      * 
@@ -2533,10 +2843,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; } @@ -2552,6 +2865,8 @@ public Builder mergeMapValue(com.google.firestore.v1.MapValue value) { return this; } /** + * + * *
      * A map value.
      * 
@@ -2575,6 +2890,8 @@ public Builder clearMapValue() { return this; } /** + * + * *
      * A map value.
      * 
@@ -2585,6 +2902,8 @@ public com.google.firestore.v1.MapValue.Builder getMapValueBuilder() { return getMapValueFieldBuilder().getBuilder(); } /** + * + * *
      * A map value.
      * 
@@ -2603,6 +2922,8 @@ public com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder() { } } /** + * + * *
      * A map value.
      * 
@@ -2610,26 +2931,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); } @@ -2639,12 +2963,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(); } @@ -2653,27 +2977,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; @@ -2688,6 +3012,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 5f6fc9dff0..802ff767bf 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.
    *
@@ -101,10 +146,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** + * + * *
    * A timestamp value.
    *
@@ -113,10 +161,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** + * + * *
    * A timestamp value.
    *
@@ -129,6 +180,8 @@ public interface ValueOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * A string value.
    *
@@ -138,10 +191,13 @@ public interface ValueOrBuilder extends
    * 
* * string string_value = 17; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * A string value.
    *
@@ -151,10 +207,13 @@ public interface ValueOrBuilder extends
    * 
* * string string_value = 17; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * A string value.
    *
@@ -164,12 +223,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.
    *
@@ -178,10 +239,13 @@ public interface ValueOrBuilder extends
    * 
* * bytes bytes_value = 18; + * * @return Whether the bytesValue field is set. */ boolean hasBytesValue(); /** + * + * *
    * A bytes value.
    *
@@ -190,61 +254,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.
    * 
@@ -254,6 +335,8 @@ public interface ValueOrBuilder extends com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder(); /** + * + * *
    * An array value.
    *
@@ -262,10 +345,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return Whether the arrayValue field is set. */ boolean hasArrayValue(); /** + * + * *
    * An array value.
    *
@@ -274,10 +360,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return The arrayValue. */ com.google.firestore.v1.ArrayValue getArrayValue(); /** + * + * *
    * An array value.
    *
@@ -290,24 +379,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 cc4c79bf15..a205c4bc7f 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,59 +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/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -69,31 +90,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 @@ -101,21 +129,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.
    * 
@@ -125,31 +158,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() { @@ -160,8 +199,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; @@ -170,24 +208,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; } @@ -199,11 +238,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 @@ -211,21 +253,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.
    * 
@@ -235,7 +282,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(); } @@ -243,6 +290,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.
    *
@@ -257,6 +306,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 @@ -264,6 +314,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The fields to update in this write.
    *
@@ -278,13 +330,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.
    *
@@ -302,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.
    *
@@ -317,13 +380,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.
    *
@@ -332,14 +399,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.
    *
@@ -348,13 +418,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.
    *
@@ -363,13 +436,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.
    *
@@ -378,17 +454,20 @@ 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.
    *
@@ -396,6 +475,7 @@ public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpda
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return Whether the currentDocument field is set. */ @java.lang.Override @@ -403,6 +483,8 @@ public boolean hasCurrentDocument() { return currentDocument_ != null; } /** + * + * *
    * An optional precondition on the document.
    *
@@ -410,13 +492,18 @@ public boolean hasCurrentDocument() {
    * 
* * .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.
    *
@@ -427,10 +514,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;
@@ -442,8 +532,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_);
     }
@@ -472,27 +561,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;
@@ -502,7 +590,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);
@@ -511,29 +599,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:
@@ -582,132 +664,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(); @@ -741,9 +825,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 @@ -764,7 +848,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; @@ -785,26 +871,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(); } } @@ -813,38 +894,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; @@ -874,9 +956,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_); } @@ -886,23 +969,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(); @@ -930,59 +1017,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) { @@ -992,12 +1078,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() { @@ -1010,13 +1096,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 @@ -1024,11 +1116,14 @@ public boolean hasUpdate() { return operationCase_ == 1; } /** + * + * *
      * A document to write.
      * 
* * .google.firestore.v1.Document update = 1; + * * @return The update. */ @java.lang.Override @@ -1046,6 +1141,8 @@ public com.google.firestore.v1.Document getUpdate() { } } /** + * + * *
      * A document to write.
      * 
@@ -1066,14 +1163,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(); @@ -1084,6 +1182,8 @@ public Builder setUpdate( return this; } /** + * + * *
      * A document to write.
      * 
@@ -1092,10 +1192,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; } @@ -1111,6 +1214,8 @@ public Builder mergeUpdate(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * A document to write.
      * 
@@ -1134,6 +1239,8 @@ public Builder clearUpdate() { return this; } /** + * + * *
      * A document to write.
      * 
@@ -1144,6 +1251,8 @@ public com.google.firestore.v1.Document.Builder getUpdateBuilder() { return getUpdateFieldBuilder().getBuilder(); } /** + * + * *
      * A document to write.
      * 
@@ -1162,6 +1271,8 @@ public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { } } /** + * + * *
      * A document to write.
      * 
@@ -1169,17 +1280,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; @@ -1188,12 +1302,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 @@ -1201,12 +1318,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 @@ -1216,8 +1336,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; @@ -1228,25 +1347,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; } @@ -1256,30 +1376,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() { @@ -1291,18 +1418,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; @@ -1311,13 +1442,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 @@ -1325,11 +1462,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 @@ -1347,6 +1487,8 @@ public com.google.firestore.v1.DocumentTransform getTransform() { } } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1367,14 +1509,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(); @@ -1385,6 +1528,8 @@ public Builder setTransform( return this; } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1393,10 +1538,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; } @@ -1412,6 +1560,8 @@ public Builder mergeTransform(com.google.firestore.v1.DocumentTransform value) { return this; } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1435,6 +1585,8 @@ public Builder clearTransform() { return this; } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1445,6 +1597,8 @@ public com.google.firestore.v1.DocumentTransform.Builder getTransformBuilder() { return getTransformFieldBuilder().getBuilder(); } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1463,6 +1617,8 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder( } } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1470,14 +1626,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()); @@ -1490,8 +1651,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.
      *
@@ -1506,12 +1672,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.
      *
@@ -1526,16 +1695,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.
      *
@@ -1565,6 +1739,8 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      *
@@ -1580,8 +1756,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 {
@@ -1592,6 +1767,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      *
@@ -1609,9 +1786,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;
@@ -1624,6 +1801,8 @@ public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      *
@@ -1650,6 +1829,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      *
@@ -1671,6 +1852,8 @@ public com.google.firestore.v1.DocumentMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      *
@@ -1690,11 +1873,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.
      *
@@ -1711,32 +1897,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.
      *
@@ -1745,9 +1942,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 { @@ -1755,6 +1954,8 @@ public java.util.List } } /** + * + * *
      * The transforms to perform after update.
      *
@@ -1763,7 +1964,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) { @@ -1773,6 +1975,8 @@ public int getUpdateTransformsCount() { } } /** + * + * *
      * The transforms to perform after update.
      *
@@ -1781,7 +1985,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) { @@ -1791,6 +1996,8 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransfo } } /** + * + * *
      * The transforms to perform after update.
      *
@@ -1799,7 +2006,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) { @@ -1816,6 +2024,8 @@ public Builder setUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      *
@@ -1824,10 +2034,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()); @@ -1838,6 +2050,8 @@ public Builder setUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      *
@@ -1846,9 +2060,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(); @@ -1862,6 +2078,8 @@ public Builder addUpdateTransforms(com.google.firestore.v1.DocumentTransform.Fie return this; } /** + * + * *
      * The transforms to perform after update.
      *
@@ -1870,7 +2088,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) { @@ -1887,6 +2106,8 @@ public Builder addUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      *
@@ -1895,7 +2116,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) { @@ -1909,6 +2131,8 @@ public Builder addUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      *
@@ -1917,10 +2141,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()); @@ -1931,6 +2157,8 @@ public Builder addUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      *
@@ -1939,14 +2167,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); @@ -1954,6 +2183,8 @@ public Builder addAllUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      *
@@ -1962,7 +2193,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) { @@ -1975,6 +2207,8 @@ public Builder clearUpdateTransforms() { return this; } /** + * + * *
      * The transforms to perform after update.
      *
@@ -1983,7 +2217,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) { @@ -1996,6 +2231,8 @@ public Builder removeUpdateTransforms(int index) { return this; } /** + * + * *
      * The transforms to perform after update.
      *
@@ -2004,13 +2241,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.
      *
@@ -2019,16 +2259,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.
      *
@@ -2037,10 +2281,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 { @@ -2048,6 +2294,8 @@ public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpda } } /** + * + * *
      * The transforms to perform after update.
      *
@@ -2056,13 +2304,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.
      *
@@ -2071,14 +2324,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.
      *
@@ -2087,18 +2344,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(), @@ -2110,8 +2374,13 @@ 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.
      *
@@ -2119,12 +2388,15 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdat
      * 
* * .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.
      *
@@ -2132,16 +2404,21 @@ public boolean hasCurrentDocument() {
      * 
* * .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.
      *
@@ -2164,6 +2441,8 @@ public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      *
@@ -2184,6 +2463,8 @@ public Builder setCurrentDocument(
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      *
@@ -2194,9 +2475,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;
@@ -2209,6 +2490,8 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      *
@@ -2228,6 +2511,8 @@ public Builder clearCurrentDocument() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      *
@@ -2242,6 +2527,8 @@ public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder()
       return getCurrentDocumentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      *
@@ -2254,11 +2541,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.
      *
@@ -2268,21 +2558,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);
     }
 
@@ -2292,12 +2585,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();
   }
@@ -2306,27 +2599,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;
@@ -2341,6 +2634,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 e85dfaac34..02f6b35c94 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.
    *
@@ -108,10 +150,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.
    *
@@ -126,10 +171,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.
    *
@@ -148,6 +196,8 @@ public interface WriteOrBuilder extends
   com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * The transforms to perform after update.
    *
@@ -156,11 +206,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.
    *
@@ -169,10 +222,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.
    *
@@ -181,10 +237,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.
    *
@@ -193,11 +252,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.
    *
@@ -206,12 +268,15 @@ 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.
    *
@@ -219,10 +284,13 @@ com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTrans
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return Whether the currentDocument field is set. */ boolean hasCurrentDocument(); /** + * + * *
    * An optional precondition on the document.
    *
@@ -230,10 +298,13 @@ com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTrans
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return The currentDocument. */ com.google.firestore.v1.Precondition getCurrentDocument(); /** + * + * *
    * An optional precondition on the 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 0000000000..8e7631fd67
--- /dev/null
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java
@@ -0,0 +1,213 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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/bloo"
+          + "m_filter.proto\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\"n\n\017ExistenceFilter\022\021"
+          + "\n\ttarget_id\030\001 \001(\005\022\r\n\005count\030\002 \001(\005\0229\n\017unch"
+          + "anged_names\030\003 \001(\0132 .google.firestore.v1."
+          + "BloomFilterB\302\001\n\027com.google.firestore.v1B"
+          + "\nWriteProtoP\001Z;cloud.google.com/go/fires"
+          + "tore/apiv1/firestorepb;firestorepb\242\002\004GCF"
+          + "S\252\002\031Google.Cloud.Firestore.V1\312\002\031Google\\C"
+          + "loud\\Firestore\\V1\352\002\034Google::Cloud::Fires"
+          + "tore::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.firestore.v1.BloomFilterProto.getDescriptor(),
+              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", "UnchangedNames",
+            });
+    com.google.firestore.v1.BloomFilterProto.getDescriptor();
+    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 dbe42f40e9..d415153327 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].
  *
@@ -19,15 +36,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_ = "";
@@ -37,40 +55,43 @@ private WriteRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new WriteRequest();
   }
 
-  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}`.
@@ -78,6 +99,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ @java.lang.Override @@ -86,14 +108,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}`.
@@ -101,16 +124,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 { @@ -119,9 +141,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
@@ -129,6 +154,7 @@ public java.lang.String getDatabase() {
    * 
* * string stream_id = 2; + * * @return The streamId. */ @java.lang.Override @@ -137,14 +163,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
@@ -152,16 +179,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 { @@ -170,9 +196,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.
    *
@@ -189,6 +218,8 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -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.
    *
@@ -222,6 +254,8 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -238,6 +272,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -250,14 +286,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.
    *
@@ -276,6 +313,7 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
    * 
* * bytes stream_token = 4; + * * @return The streamToken. */ @java.lang.Override @@ -284,32 +322,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.
    * 
@@ -317,20 +357,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.
    * 
@@ -342,6 +383,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels associated with this write request.
    * 
@@ -349,17 +392,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.
    * 
@@ -367,11 +412,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(); } @@ -379,6 +424,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,8 +436,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_); } @@ -404,12 +449,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); } @@ -426,22 +467,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; @@ -451,23 +490,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; } @@ -498,99 +532,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].
    *
@@ -606,55 +644,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();
@@ -674,9 +709,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
@@ -697,7 +732,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;
     }
@@ -735,38 +772,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;
@@ -803,9 +841,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_);
           }
@@ -814,8 +853,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();
@@ -843,49 +881,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) {
@@ -895,10 +939,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}`.
@@ -906,13 +953,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; @@ -921,6 +968,8 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -928,15 +977,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 { @@ -944,6 +992,8 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -951,18 +1001,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}`.
@@ -970,6 +1024,7 @@ public Builder setDatabase(
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -979,6 +1034,8 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -986,12 +1043,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; @@ -1001,6 +1060,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
@@ -1008,13 +1069,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; @@ -1023,6 +1084,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
@@ -1030,15 +1093,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 { @@ -1046,6 +1108,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
@@ -1053,18 +1117,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
@@ -1072,6 +1140,7 @@ public Builder setStreamId(
      * 
* * string stream_id = 2; + * * @return This builder for chaining. */ public Builder clearStreamId() { @@ -1081,6 +1150,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
@@ -1088,12 +1159,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; @@ -1102,18 +1175,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.
      *
@@ -1133,6 +1212,8 @@ public java.util.List getWritesList() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1152,6 +1233,8 @@ public int getWritesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1171,6 +1254,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1182,8 +1267,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();
@@ -1197,6 +1281,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1208,8 +1294,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());
@@ -1220,6 +1305,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1245,6 +1332,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1256,8 +1345,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();
@@ -1271,6 +1359,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1282,8 +1372,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());
@@ -1294,6 +1383,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1305,8 +1396,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());
@@ -1317,6 +1407,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1332,8 +1424,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);
@@ -1341,6 +1432,8 @@ public Builder addAllWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1363,6 +1456,8 @@ public Builder clearWrites() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1385,6 +1480,8 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1396,11 +1493,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.
      *
@@ -1412,14 +1510,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.
      *
@@ -1431,8 +1531,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 {
@@ -1440,6 +1540,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      *
@@ -1452,10 +1554,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.
      *
@@ -1467,12 +1570,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.
      *
@@ -1484,20 +1588,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_;
@@ -1505,6 +1611,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.
      *
@@ -1523,6 +1631,7 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(
      * 
* * bytes stream_token = 4; + * * @return The streamToken. */ @java.lang.Override @@ -1530,6 +1639,8 @@ public com.google.protobuf.ByteString getStreamToken() { return streamToken_; } /** + * + * *
      * A stream token that was previously sent by the server.
      *
@@ -1548,17 +1659,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.
      *
@@ -1577,6 +1693,7 @@ public Builder setStreamToken(com.google.protobuf.ByteString value) {
      * 
* * bytes stream_token = 4; + * * @return This builder for chaining. */ public Builder clearStreamToken() { @@ -1586,21 +1703,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(); @@ -1609,10 +1724,13 @@ public Builder clearStreamToken() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this write request.
      * 
@@ -1620,20 +1738,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.
      * 
@@ -1645,6 +1764,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this write request.
      * 
@@ -1652,17 +1773,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.
      * 
@@ -1670,79 +1793,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); } @@ -1752,12 +1877,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(); } @@ -1766,27 +1891,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; @@ -1801,6 +1926,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 77% 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 68894b2b38..dd13ca1c70 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.
    *
@@ -67,9 +95,10 @@ public interface WriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  java.util.List 
-      getWritesList();
+  java.util.List getWritesList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -83,6 +112,8 @@ public interface WriteRequestOrBuilder extends
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -96,6 +127,8 @@ public interface WriteRequestOrBuilder extends
    */
   int getWritesCount();
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -107,9 +140,10 @@ public interface WriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  java.util.List 
-      getWritesOrBuilderList();
+  java.util.List getWritesOrBuilderList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    *
@@ -121,10 +155,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.
    *
@@ -143,11 +178,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.
    * 
@@ -156,30 +194,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.
    * 
@@ -187,17 +226,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 95658205d3..b2f04e0460 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,34 +45,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(); } - 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 @@ -63,30 +86,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 { @@ -97,6 +120,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.
@@ -105,6 +130,7 @@ public java.lang.String getStreamId() {
    * 
* * bytes stream_token = 2; + * * @return The streamToken. */ @java.lang.Override @@ -113,9 +139,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.
    *
@@ -130,6 +159,8 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -140,11 +171,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.
    *
@@ -159,6 +192,8 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -173,6 +208,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -183,20 +220,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 @@ -204,12 +243,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 @@ -217,6 +259,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.
@@ -230,6 +274,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -241,8 +286,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_);
     }
@@ -268,16 +312,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;
@@ -287,23 +328,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;
@@ -333,132 +370,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(); @@ -481,9 +521,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 @@ -502,9 +542,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; } @@ -530,9 +573,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(); } } @@ -540,38 +581,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; @@ -606,9 +648,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_); } @@ -643,42 +686,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) { @@ -688,23 +733,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; @@ -713,21 +761,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 { @@ -735,30 +784,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() { @@ -768,18 +824,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; @@ -789,6 +849,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.
@@ -797,6 +859,7 @@ public Builder setStreamIdBytes(
      * 
* * bytes stream_token = 2; + * * @return The streamToken. */ @java.lang.Override @@ -804,6 +867,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.
@@ -812,17 +877,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.
@@ -831,6 +901,7 @@ public Builder setStreamToken(com.google.protobuf.ByteString value) {
      * 
* * bytes stream_token = 2; + * * @return This builder for chaining. */ public Builder clearStreamToken() { @@ -841,18 +912,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.
      *
@@ -870,6 +947,8 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -887,6 +966,8 @@ public int getWriteResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -904,6 +985,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -913,8 +996,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();
@@ -928,6 +1010,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -949,6 +1033,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -972,6 +1058,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -981,8 +1069,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();
@@ -996,6 +1083,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -1005,8 +1094,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());
@@ -1017,6 +1105,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -1038,6 +1128,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -1051,8 +1143,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);
@@ -1060,6 +1151,8 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -1080,6 +1173,8 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -1100,6 +1195,8 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -1109,11 +1206,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.
      *
@@ -1123,14 +1221,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.
      *
@@ -1140,8 +1240,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 {
@@ -1149,6 +1249,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      *
@@ -1159,10 +1261,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.
      *
@@ -1172,12 +1276,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.
      *
@@ -1187,20 +1292,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_;
@@ -1208,36 +1316,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.
@@ -1259,6 +1380,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.
@@ -1266,8 +1389,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 {
@@ -1278,6 +1400,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.
@@ -1287,9 +1411,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;
@@ -1302,6 +1426,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.
@@ -1320,6 +1446,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.
@@ -1333,6 +1461,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.
@@ -1344,11 +1474,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.
@@ -1357,21 +1490,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);
     }
 
@@ -1381,12 +1517,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();
   }
@@ -1395,27 +1531,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;
@@ -1430,6 +1566,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 b4a5fc7562..d019f1d2f0 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.
@@ -38,11 +61,14 @@ public interface WriteResponseOrBuilder extends
    * 
* * bytes stream_token = 2; + * * @return The streamToken. */ com.google.protobuf.ByteString getStreamToken(); /** + * + * *
    * The result of applying the writes.
    *
@@ -52,9 +78,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.
    *
@@ -66,6 +93,8 @@ public interface WriteResponseOrBuilder extends
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -77,6 +106,8 @@ public interface WriteResponseOrBuilder extends
    */
   int getWriteResultsCount();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    *
@@ -86,9 +117,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.
    *
@@ -98,30 +131,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 2c127b0b9b..d77fe16b73 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,51 +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/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(); } - 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`.
@@ -55,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -62,6 +84,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -71,6 +95,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ @java.lang.Override @@ -78,6 +103,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`.
@@ -94,9 +121,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],
@@ -110,6 +140,8 @@ public java.util.List getTransformResultsList() {
     return transformResults_;
   }
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -119,11 +151,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],
@@ -137,6 +171,8 @@ public int getTransformResultsCount() {
     return transformResults_.size();
   }
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -150,6 +186,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],
@@ -159,12 +197,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;
@@ -176,8 +214,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());
     }
@@ -194,12 +231,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;
@@ -209,7 +244,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);
@@ -218,11 +253,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;
   }
@@ -247,132 +280,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 +429,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 +452,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 +474,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 +482,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 +544,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 +579,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 +613,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`.
@@ -591,12 +634,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`.
@@ -606,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`.
@@ -640,6 +691,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`.
@@ -650,8 +703,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 {
@@ -662,6 +714,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -674,9 +728,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;
@@ -689,6 +743,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`.
@@ -710,6 +766,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -726,6 +784,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`.
@@ -740,11 +800,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`.
@@ -756,32 +819,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],
@@ -798,6 +871,8 @@ public java.util.List getTransformResultsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -814,6 +889,8 @@ public int getTransformResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -830,6 +907,8 @@ public com.google.firestore.v1.Value getTransformResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -838,8 +917,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();
@@ -853,6 +931,8 @@ public Builder setTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -873,6 +953,8 @@ public Builder setTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -895,6 +977,8 @@ public Builder addTransformResults(com.google.firestore.v1.Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -903,8 +987,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();
@@ -918,6 +1001,8 @@ public Builder addTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -926,8 +1011,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());
@@ -938,6 +1022,8 @@ public Builder addTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -958,6 +1044,8 @@ public Builder addTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -970,8 +1058,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);
@@ -979,6 +1066,8 @@ public Builder addAllTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -998,6 +1087,8 @@ public Builder clearTransformResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1017,6 +1108,8 @@ public Builder removeTransformResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1025,11 +1118,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],
@@ -1038,14 +1132,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],
@@ -1054,8 +1150,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 {
@@ -1063,6 +1159,8 @@ public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1072,10 +1170,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],
@@ -1084,12 +1184,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],
@@ -1098,16 +1199,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(),
@@ -1116,9 +1222,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);
     }
 
@@ -1128,12 +1234,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();
   }
@@ -1142,27 +1248,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;
@@ -1177,6 +1283,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 5763215e5c..db129e9468 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`.
@@ -17,10 +35,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`.
@@ -30,10 +51,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`.
@@ -47,6 +71,8 @@ public interface WriteResultOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -55,9 +81,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],
@@ -68,6 +95,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],
@@ -78,6 +107,8 @@ public interface WriteResultOrBuilder extends
    */
   int getTransformResultsCount();
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -86,9 +117,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],
@@ -97,6 +130,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/bloom_filter.proto b/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/bloom_filter.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/bloom_filter.proto
rename to proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/bloom_filter.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