From c0f125eb681b37722934fb30b9f0a53afbe0886b Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 3 Oct 2022 17:18:40 +0000 Subject: [PATCH 1/2] chore(bazel): update protobuf to v3.21.7 PiperOrigin-RevId: 477955264 Source-Link: https://github.com/googleapis/googleapis/commit/a724450af76d0001f23602684c49cd6a4b3a5654 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4abcbcaec855e74a0b22a4988cf9e0eb61a83094 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGFiY2JjYWVjODU1ZTc0YTBiMjJhNDk4OGNmOWUwZWI2MWE4MzA5NCJ9 --- .../google/firestore/v1/FirestoreGrpc.java | 2038 ------ .../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 | 1205 ++-- .../google/firestore/v1/FirestoreGrpc.java | 1611 +++++ .../admin/v1/CollectionGroupName.java | 0 .../admin/v1/CreateIndexRequest.java | 534 +- .../admin/v1/CreateIndexRequestOrBuilder.java | 52 +- .../google/firestore/admin/v1/Database.java | 1060 ++-- .../firestore/admin/v1/DatabaseName.java | 0 .../firestore/admin/v1/DatabaseOrBuilder.java | 80 +- .../firestore/admin/v1/DatabaseProto.java | 83 + .../admin/v1/DeleteIndexRequest.java | 409 +- .../admin/v1/DeleteIndexRequestOrBuilder.java | 31 + .../admin/v1/ExportDocumentsMetadata.java | 928 +-- .../v1/ExportDocumentsMetadataOrBuilder.java | 83 +- .../admin/v1/ExportDocumentsRequest.java | 606 +- .../v1/ExportDocumentsRequestOrBuilder.java | 62 +- .../admin/v1/ExportDocumentsResponse.java | 385 +- .../v1/ExportDocumentsResponseOrBuilder.java | 27 +- .../com/google/firestore/admin/v1/Field.java | 1661 ++--- .../google/firestore/admin/v1/FieldName.java | 0 .../admin/v1/FieldOperationMetadata.java | 2416 +++---- .../v1/FieldOperationMetadataOrBuilder.java | 127 +- .../firestore/admin/v1/FieldOrBuilder.java | 43 +- .../google/firestore/admin/v1/FieldProto.java | 104 + .../admin/v1/FirestoreAdminProto.java | 366 ++ .../admin/v1/GetDatabaseRequest.java | 409 +- .../admin/v1/GetDatabaseRequestOrBuilder.java | 31 + .../firestore/admin/v1/GetFieldRequest.java | 402 +- .../admin/v1/GetFieldRequestOrBuilder.java | 31 + .../firestore/admin/v1/GetIndexRequest.java | 402 +- .../admin/v1/GetIndexRequestOrBuilder.java | 31 + .../admin/v1/ImportDocumentsMetadata.java | 928 +-- .../v1/ImportDocumentsMetadataOrBuilder.java | 83 +- .../admin/v1/ImportDocumentsRequest.java | 606 +- .../v1/ImportDocumentsRequestOrBuilder.java | 62 +- .../com/google/firestore/admin/v1/Index.java | 1488 ++--- .../google/firestore/admin/v1/IndexName.java | 0 .../admin/v1/IndexOperationMetadata.java | 809 +-- .../v1/IndexOperationMetadataOrBuilder.java | 65 +- .../firestore/admin/v1/IndexOrBuilder.java | 57 +- .../google/firestore/admin/v1/IndexProto.java | 92 + .../admin/v1/ListDatabasesRequest.java | 410 +- .../v1/ListDatabasesRequestOrBuilder.java | 31 + .../admin/v1/ListDatabasesResponse.java | 467 +- .../v1/ListDatabasesResponseOrBuilder.java | 36 +- .../firestore/admin/v1/ListFieldsRequest.java | 601 +- .../admin/v1/ListFieldsRequestOrBuilder.java | 56 +- .../admin/v1/ListFieldsResponse.java | 545 +- .../admin/v1/ListFieldsResponseOrBuilder.java | 46 +- .../admin/v1/ListIndexesRequest.java | 605 +- .../admin/v1/ListIndexesRequestOrBuilder.java | 56 +- .../admin/v1/ListIndexesResponse.java | 546 +- .../v1/ListIndexesResponseOrBuilder.java | 46 +- .../firestore/admin/v1/LocationMetadata.java | 297 +- .../admin/v1/LocationMetadataOrBuilder.java | 9 + .../firestore/admin/v1/LocationProto.java | 54 + .../firestore/admin/v1/OperationProto.java | 192 + .../firestore/admin/v1/OperationState.java | 117 +- .../google/firestore/admin/v1/Progress.java | 364 +- .../firestore/admin/v1/ProgressOrBuilder.java | 29 + .../firestore/admin/v1/ProjectName.java | 0 .../admin/v1/UpdateDatabaseMetadata.java | 305 +- .../v1/UpdateDatabaseMetadataOrBuilder.java | 9 + .../admin/v1/UpdateDatabaseRequest.java | 544 +- .../v1/UpdateDatabaseRequestOrBuilder.java | 46 +- .../admin/v1/UpdateFieldRequest.java | 521 +- .../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 | 825 ++- .../bundle/BundleElementOrBuilder.java | 42 +- .../firestore/bundle/BundleMetadata.java | 573 +- .../bundle/BundleMetadataOrBuilder.java | 44 +- .../google/firestore/bundle/BundleProto.java | 126 + .../bundle/BundledDocumentMetadata.java | 621 +- .../BundledDocumentMetadataOrBuilder.java | 56 +- .../google/firestore/bundle/BundledQuery.java | 629 +- .../bundle/BundledQueryOrBuilder.java | 37 +- .../google/firestore/bundle/NamedQuery.java | 549 +- .../firestore/bundle/NamedQueryOrBuilder.java | 43 +- .../google/firestore/bundle/bundle.proto | 0 .../firestore/v1/AggregationResult.java | 544 +- .../v1/AggregationResultOrBuilder.java | 49 +- .../firestore/v1/AggregationResultProto.java | 71 + .../com/google/firestore/v1/ArrayValue.java | 456 +- .../firestore/v1/ArrayValueOrBuilder.java | 37 +- .../v1/BatchGetDocumentsRequest.java | 896 +-- .../v1/BatchGetDocumentsRequestOrBuilder.java | 78 +- .../v1/BatchGetDocumentsResponse.java | 670 +- .../BatchGetDocumentsResponseOrBuilder.java | 49 +- .../firestore/v1/BatchWriteRequest.java | 805 ++- .../v1/BatchWriteRequestOrBuilder.java | 77 +- .../firestore/v1/BatchWriteResponse.java | 622 +- .../v1/BatchWriteResponseOrBuilder.java | 55 +- .../firestore/v1/BeginTransactionRequest.java | 476 +- .../v1/BeginTransactionRequestOrBuilder.java | 35 +- .../v1/BeginTransactionResponse.java | 337 +- .../v1/BeginTransactionResponseOrBuilder.java | 19 + .../google/firestore/v1/CommitRequest.java | 575 +- .../firestore/v1/CommitRequestOrBuilder.java | 49 +- .../google/firestore/v1/CommitResponse.java | 544 +- .../firestore/v1/CommitResponseOrBuilder.java | 44 +- .../com/google/firestore/v1/CommonProto.java | 110 + .../firestore/v1/CreateDocumentRequest.java | 753 +-- .../v1/CreateDocumentRequestOrBuilder.java | 70 +- .../java/com/google/firestore/v1/Cursor.java | 484 +- .../google/firestore/v1/CursorOrBuilder.java | 40 +- .../firestore/v1/DeleteDocumentRequest.java | 470 +- .../v1/DeleteDocumentRequestOrBuilder.java | 35 +- .../com/google/firestore/v1/Document.java | 792 +-- .../google/firestore/v1/DocumentChange.java | 598 +- .../firestore/v1/DocumentChangeOrBuilder.java | 44 +- .../google/firestore/v1/DocumentDelete.java | 562 +- .../firestore/v1/DocumentDeleteOrBuilder.java | 44 +- .../com/google/firestore/v1/DocumentMask.java | 401 +- .../firestore/v1/DocumentMaskOrBuilder.java | 36 +- .../firestore/v1/DocumentOrBuilder.java | 74 +- .../google/firestore/v1/DocumentProto.java | 138 + .../google/firestore/v1/DocumentRemove.java | 562 +- .../firestore/v1/DocumentRemoveOrBuilder.java | 44 +- .../firestore/v1/DocumentTransform.java | 1843 ++---- .../v1/DocumentTransformOrBuilder.java | 57 +- .../google/firestore/v1/ExistenceFilter.java | 362 +- .../v1/ExistenceFilterOrBuilder.java | 24 +- .../google/firestore/v1/FirestoreProto.java | 678 ++ .../firestore/v1/GetDocumentRequest.java | 666 +- .../v1/GetDocumentRequestOrBuilder.java | 52 +- .../v1/ListCollectionIdsRequest.java | 639 +- .../v1/ListCollectionIdsRequestOrBuilder.java | 50 +- .../v1/ListCollectionIdsResponse.java | 496 +- .../ListCollectionIdsResponseOrBuilder.java | 45 +- .../firestore/v1/ListDocumentsRequest.java | 979 ++- .../v1/ListDocumentsRequestOrBuilder.java | 85 +- .../firestore/v1/ListDocumentsResponse.java | 537 +- .../v1/ListDocumentsResponseOrBuilder.java | 46 +- .../google/firestore/v1/ListenRequest.java | 835 ++- .../firestore/v1/ListenRequestOrBuilder.java | 72 +- .../google/firestore/v1/ListenResponse.java | 870 +-- .../firestore/v1/ListenResponseOrBuilder.java | 58 +- .../com/google/firestore/v1/MapValue.java | 535 +- .../firestore/v1/MapValueOrBuilder.java | 49 +- .../firestore/v1/PartitionQueryRequest.java | 809 +-- .../v1/PartitionQueryRequestOrBuilder.java | 61 +- .../firestore/v1/PartitionQueryResponse.java | 537 +- .../v1/PartitionQueryResponseOrBuilder.java | 46 +- .../com/google/firestore/v1/Precondition.java | 494 +- .../firestore/v1/PreconditionOrBuilder.java | 32 +- .../com/google/firestore/v1/QueryProto.java | 258 + .../google/firestore/v1/RollbackRequest.java | 407 +- .../v1/RollbackRequestOrBuilder.java | 30 +- .../v1/RunAggregationQueryRequest.java | 883 +-- .../RunAggregationQueryRequestOrBuilder.java | 63 +- .../v1/RunAggregationQueryResponse.java | 523 +- .../RunAggregationQueryResponseOrBuilder.java | 37 +- .../google/firestore/v1/RunQueryRequest.java | 825 +-- .../v1/RunQueryRequestOrBuilder.java | 60 +- .../google/firestore/v1/RunQueryResponse.java | 631 +- .../v1/RunQueryResponseOrBuilder.java | 49 +- .../v1/StructuredAggregationQuery.java | 1817 ++---- .../StructuredAggregationQueryOrBuilder.java | 60 +- .../google/firestore/v1/StructuredQuery.java | 5544 ++++++----------- .../v1/StructuredQueryOrBuilder.java | 97 +- .../java/com/google/firestore/v1/Target.java | 1743 ++---- .../com/google/firestore/v1/TargetChange.java | 748 +-- .../firestore/v1/TargetChangeOrBuilder.java | 52 +- .../google/firestore/v1/TargetOrBuilder.java | 54 +- .../firestore/v1/TransactionOptions.java | 1325 ++-- .../v1/TransactionOptionsOrBuilder.java | 34 +- .../firestore/v1/UpdateDocumentRequest.java | 711 +-- .../v1/UpdateDocumentRequestOrBuilder.java | 59 +- .../java/com/google/firestore/v1/Value.java | 1264 ++-- .../google/firestore/v1/ValueOrBuilder.java | 107 +- .../java/com/google/firestore/v1/Write.java | 1089 ++-- .../google/firestore/v1/WriteOrBuilder.java | 91 +- .../com/google/firestore/v1/WriteProto.java | 174 + .../com/google/firestore/v1/WriteRequest.java | 914 ++- .../firestore/v1/WriteRequestOrBuilder.java | 89 +- .../google/firestore/v1/WriteResponse.java | 663 +- .../firestore/v1/WriteResponseOrBuilder.java | 56 +- .../com/google/firestore/v1/WriteResult.java | 540 +- .../firestore/v1/WriteResultOrBuilder.java | 44 +- .../firestore/v1/aggregation_result.proto | 0 .../proto/google/firestore/v1/common.proto | 0 .../proto/google/firestore/v1/document.proto | 0 .../proto/google/firestore/v1/firestore.proto | 0 .../proto/google/firestore/v1/query.proto | 0 .../proto/google/firestore/v1/write.proto | 0 .../firestore/admin/v1/DatabaseProto.java | 104 - .../admin/v1/DeleteIndexRequestOrBuilder.java | 56 - .../google/firestore/admin/v1/FieldProto.java | 121 - .../admin/v1/FirestoreAdminProto.java | 394 -- .../admin/v1/GetDatabaseRequestOrBuilder.java | 56 - .../admin/v1/GetFieldRequestOrBuilder.java | 56 - .../admin/v1/GetIndexRequestOrBuilder.java | 56 - .../google/firestore/admin/v1/IndexProto.java | 108 - .../v1/ListDatabasesRequestOrBuilder.java | 56 - .../admin/v1/LocationMetadataOrBuilder.java | 24 - .../firestore/admin/v1/LocationProto.java | 65 - .../firestore/admin/v1/OperationProto.java | 237 - .../firestore/admin/v1/ProgressOrBuilder.java | 51 - .../v1/UpdateDatabaseMetadataOrBuilder.java | 24 - .../google/firestore/bundle/BundleProto.java | 145 - .../firestore/v1/AggregationResultProto.java | 87 - .../v1/BeginTransactionResponseOrBuilder.java | 38 - .../com/google/firestore/v1/CommonProto.java | 129 - .../google/firestore/v1/DocumentProto.java | 168 - .../google/firestore/v1/FirestoreProto.java | 777 --- .../com/google/firestore/v1/QueryProto.java | 289 - .../com/google/firestore/v1/WriteProto.java | 208 - 245 files changed, 28281 insertions(+), 47643 deletions(-) delete mode 100644 grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java (99%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/package-info.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java (99%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java (99%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/MockLocations.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java (99%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/package-info.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java (99%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/MockLocations.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java (100%) rename {grpc-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/grpc-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java (54%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java (60%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java (54%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Database.java (71%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/DatabaseName.java (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java (78%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java (58%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java (70%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java (81%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java (68%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java (70%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java (62%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java (56%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Field.java (73%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FieldName.java (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java (64%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java (75%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java (87%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java (57%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java (58%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java (58%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java (70%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java (81%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java (67%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java (68%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Index.java (77%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/IndexName.java (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java (70%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java (82%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java (88%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java (57%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java (67%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java (61%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java (67%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java (68%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java (68%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java (65%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java (65%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java (61%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java (68%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java (65%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java (57%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/OperationState.java (73%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Progress.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ProjectName.java (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java (56%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java (59%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java (56%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java (64%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java (68%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/database.proto (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/field.proto (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/firestore_admin.proto (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/index.proto (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/location.proto (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/operation.proto (100%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundleElement.java (61%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java (67%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundleMetadata.java (67%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java (69%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java (68%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java (71%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundledQuery.java (66%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java (69%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/NamedQuery.java (68%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java (76%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/proto/google/firestore/bundle/bundle.proto (100%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/AggregationResult.java (61%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java (71%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ArrayValue.java (65%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java (55%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java (84%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java (71%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java (80%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteRequest.java (67%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java (71%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteResponse.java (72%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java (64%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java (67%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitRequest.java (70%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java (68%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitResponse.java (71%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java (76%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java (70%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java (77%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Cursor.java (71%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CursorOrBuilder.java (70%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java (66%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java (70%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Document.java (74%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentChange.java (69%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java (78%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentDelete.java (69%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java (74%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentMask.java (65%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java (65%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java (89%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentRemove.java (69%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java (75%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentTransform.java (78%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java (66%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ExistenceFilter.java (63%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java (54%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/GetDocumentRequest.java (70%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java (78%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java (69%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java (65%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java (62%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java (83%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java (68%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java (62%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenRequest.java (63%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java (69%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenResponse.java (71%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java (84%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/MapValue.java (60%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java (72%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java (75%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java (85%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java (79%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java (85%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Precondition.java (66%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java (71%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RollbackRequest.java (65%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java (58%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java (70%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java (82%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java (67%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryRequest.java (72%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java (83%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryResponse.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java (82%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java (68%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java (61%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredQuery.java (74%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java (93%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Target.java (71%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TargetChange.java (74%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java (85%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TargetOrBuilder.java (82%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TransactionOptions.java (67%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java (70%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java (83%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Value.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ValueOrBuilder.java (86%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Write.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteOrBuilder.java (86%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteRequest.java (70%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java (76%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResponse.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java (78%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResult.java (72%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java (78%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/aggregation_result.proto (100%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/common.proto (100%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/document.proto (100%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/firestore.proto (100%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/query.proto (100%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/write.proto (100%) delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java delete mode 100644 proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java diff --git a/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java b/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java deleted file mode 100644 index 0475a2d7b8..0000000000 --- a/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java +++ /dev/null @@ -1,2038 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.firestore.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Cloud Firestore service.
- * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
- * document database that simplifies storing, syncing, and querying data for
- * your mobile, web, and IoT apps at global scale. Its client libraries provide
- * live synchronization and offline support, while its security features and
- * integrations with Firebase and Google Cloud Platform (GCP) 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 (GCP) accelerate
-   * building truly serverless apps.
-   * 
- */ - public abstract static class FirestoreImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Gets a single document.
-     * 
- */ - public void getDocument( - com.google.firestore.v1.GetDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDocumentMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists documents.
-     * 
- */ - public 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.
-     * 
- */ - public void updateDocument( - com.google.firestore.v1.UpdateDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDocumentMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a document.
-     * 
- */ - public 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.
-     * 
- */ - public void batchGetDocuments( - com.google.firestore.v1.BatchGetDocumentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchGetDocumentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Starts a new transaction.
-     * 
- */ - public 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.
-     * 
- */ - public void commit( - com.google.firestore.v1.CommitRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitMethod(), responseObserver); - } - - /** - * - * - *
-     * Rolls back a transaction.
-     * 
- */ - public void rollback( - com.google.firestore.v1.RollbackRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackMethod(), responseObserver); - } - - /** - * - * - *
-     * Runs a query.
-     * 
- */ - public 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 );
-     * ```
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public io.grpc.stub.StreamObserver write( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( - getWriteMethod(), responseObserver); - } - - /** - * - * - *
-     * Listens to changes.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void batchWrite( - com.google.firestore.v1.BatchWriteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchWriteMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new document.
-     * 
- */ - public void createDocument( - com.google.firestore.v1.CreateDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDocumentMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, METHODID_GET_DOCUMENT))) - .addMethod( - getListDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.ListDocumentsRequest, - com.google.firestore.v1.ListDocumentsResponse>( - this, METHODID_LIST_DOCUMENTS))) - .addMethod( - getUpdateDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.UpdateDocumentRequest, - com.google.firestore.v1.Document>(this, METHODID_UPDATE_DOCUMENT))) - .addMethod( - getDeleteDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_DOCUMENT))) - .addMethod( - getBatchGetDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.firestore.v1.BatchGetDocumentsRequest, - com.google.firestore.v1.BatchGetDocumentsResponse>( - this, METHODID_BATCH_GET_DOCUMENTS))) - .addMethod( - getBeginTransactionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.BeginTransactionRequest, - com.google.firestore.v1.BeginTransactionResponse>( - this, METHODID_BEGIN_TRANSACTION))) - .addMethod( - getCommitMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.CommitRequest, - com.google.firestore.v1.CommitResponse>(this, METHODID_COMMIT))) - .addMethod( - getRollbackMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.RollbackRequest, com.google.protobuf.Empty>( - this, METHODID_ROLLBACK))) - .addMethod( - getRunQueryMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.firestore.v1.RunQueryRequest, - com.google.firestore.v1.RunQueryResponse>(this, METHODID_RUN_QUERY))) - .addMethod( - getRunAggregationQueryMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.firestore.v1.RunAggregationQueryRequest, - com.google.firestore.v1.RunAggregationQueryResponse>( - this, METHODID_RUN_AGGREGATION_QUERY))) - .addMethod( - getPartitionQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.PartitionQueryRequest, - com.google.firestore.v1.PartitionQueryResponse>( - this, METHODID_PARTITION_QUERY))) - .addMethod( - getWriteMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse>( - this, METHODID_WRITE))) - .addMethod( - getListenMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.firestore.v1.ListenRequest, - com.google.firestore.v1.ListenResponse>(this, METHODID_LISTEN))) - .addMethod( - getListCollectionIdsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.ListCollectionIdsRequest, - com.google.firestore.v1.ListCollectionIdsResponse>( - this, METHODID_LIST_COLLECTION_IDS))) - .addMethod( - getBatchWriteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.BatchWriteRequest, - com.google.firestore.v1.BatchWriteResponse>(this, METHODID_BATCH_WRITE))) - .addMethod( - getCreateDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.CreateDocumentRequest, - com.google.firestore.v1.Document>(this, METHODID_CREATE_DOCUMENT))) - .build(); - } - } - - /** - * - * - *
-   * 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 (GCP) 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.
-     * 
- */ - 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.
-     * 
- */ - 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); - } - } - - /** - * - * - *
-   * 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 (GCP) 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); - } - } - - /** - * - * - *
-   * 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 (GCP) 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 FirestoreImplBase serviceImpl; - private final int methodId; - - MethodHandlers(FirestoreImplBase 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(); - } - } - } - - private abstract static class FirestoreBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - FirestoreBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.firestore.v1.FirestoreProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Firestore"); - } - } - - private static final class FirestoreFileDescriptorSupplier - extends FirestoreBaseDescriptorSupplier { - FirestoreFileDescriptorSupplier() {} - } - - private static final class FirestoreMethodDescriptorSupplier - extends FirestoreBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - FirestoreMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (FirestoreGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new FirestoreFileDescriptorSupplier()) - .addMethod(getGetDocumentMethod()) - .addMethod(getListDocumentsMethod()) - .addMethod(getUpdateDocumentMethod()) - .addMethod(getDeleteDocumentMethod()) - .addMethod(getBatchGetDocumentsMethod()) - .addMethod(getBeginTransactionMethod()) - .addMethod(getCommitMethod()) - .addMethod(getRollbackMethod()) - .addMethod(getRunQueryMethod()) - .addMethod(getRunAggregationQueryMethod()) - .addMethod(getPartitionQueryMethod()) - .addMethod(getWriteMethod()) - .addMethod(getListenMethod()) - .addMethod(getListCollectionIdsMethod()) - .addMethod(getBatchWriteMethod()) - .addMethod(getCreateDocumentMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java similarity index 99% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java index 2ce348b443..24861d73d9 100644 --- a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java +++ b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java @@ -30,6 +30,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.firestore.v1.stub.FirestoreAdminStubSettings; diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/package-info.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/package-info.java similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/package-info.java diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java similarity index 99% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java index 808c904934..523a32f6b3 100644 --- a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java +++ b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java @@ -57,6 +57,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java similarity index 99% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java index 88c45dec5a..e188ecc7e0 100644 --- a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java +++ b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java @@ -31,6 +31,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java similarity index 100% rename from google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java diff --git a/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java similarity index 100% rename from google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java diff --git a/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java similarity index 100% rename from google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java diff --git a/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java similarity index 100% rename from google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java diff --git a/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocations.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocations.java similarity index 100% rename from google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocations.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocations.java diff --git a/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java similarity index 100% rename from google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java similarity index 99% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java index a34ad29f43..0dcad2d8f6 100644 --- a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java +++ b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java @@ -32,6 +32,7 @@ import com.google.api.gax.rpc.PagedCallSettings; import com.google.api.gax.rpc.ServerStreamingCallSettings; import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.firestore.v1.stub.FirestoreStubSettings; diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java similarity index 99% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java index 28ec996d86..469063762f 100644 --- a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java +++ b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java @@ -62,6 +62,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java diff --git a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java similarity index 100% rename from google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java diff --git a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java b/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java similarity index 100% rename from google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java rename to owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java diff --git a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java b/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java similarity index 100% rename from google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java rename to owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java diff --git a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java b/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java similarity index 100% rename from google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java rename to owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java diff --git a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocations.java b/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocations.java similarity index 100% rename from google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocations.java rename to owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocations.java diff --git a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java b/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java similarity index 100% rename from google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java rename to owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java diff --git a/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java similarity index 54% rename from grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java index 9632d6baf6..7567626fb5 100644 --- a/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.firestore.admin.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * The Cloud Firestore Admin API.
  * This API provides several administrative services for Cloud Firestore.
@@ -54,572 +37,423 @@ private FirestoreAdminGrpc() {}
   public static final String SERVICE_NAME = "google.firestore.admin.v1.FirestoreAdmin";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.CreateIndexRequest, com.google.longrunning.Operation>
-      getCreateIndexMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateIndexMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateIndex",
       requestType = com.google.firestore.admin.v1.CreateIndexRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.CreateIndexRequest, com.google.longrunning.Operation>
-      getCreateIndexMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.CreateIndexRequest, com.google.longrunning.Operation>
-        getCreateIndexMethod;
+  public static io.grpc.MethodDescriptor getCreateIndexMethod() {
+    io.grpc.MethodDescriptor getCreateIndexMethod;
     if ((getCreateIndexMethod = FirestoreAdminGrpc.getCreateIndexMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getCreateIndexMethod = FirestoreAdminGrpc.getCreateIndexMethod) == null) {
-          FirestoreAdminGrpc.getCreateIndexMethod =
-              getCreateIndexMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateIndex"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.CreateIndexRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("CreateIndex"))
-                      .build();
+          FirestoreAdminGrpc.getCreateIndexMethod = getCreateIndexMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateIndex"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.CreateIndexRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("CreateIndex"))
+              .build();
         }
       }
     }
     return getCreateIndexMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ListIndexesRequest,
-          com.google.firestore.admin.v1.ListIndexesResponse>
-      getListIndexesMethod;
+  private static volatile io.grpc.MethodDescriptor getListIndexesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListIndexes",
       requestType = com.google.firestore.admin.v1.ListIndexesRequest.class,
       responseType = com.google.firestore.admin.v1.ListIndexesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ListIndexesRequest,
-          com.google.firestore.admin.v1.ListIndexesResponse>
-      getListIndexesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.ListIndexesRequest,
-            com.google.firestore.admin.v1.ListIndexesResponse>
-        getListIndexesMethod;
+  public static io.grpc.MethodDescriptor getListIndexesMethod() {
+    io.grpc.MethodDescriptor getListIndexesMethod;
     if ((getListIndexesMethod = FirestoreAdminGrpc.getListIndexesMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getListIndexesMethod = FirestoreAdminGrpc.getListIndexesMethod) == null) {
-          FirestoreAdminGrpc.getListIndexesMethod =
-              getListIndexesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIndexes"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ListIndexesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ListIndexesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("ListIndexes"))
-                      .build();
+          FirestoreAdminGrpc.getListIndexesMethod = getListIndexesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIndexes"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ListIndexesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ListIndexesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ListIndexes"))
+              .build();
         }
       }
     }
     return getListIndexesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.GetIndexRequest, com.google.firestore.admin.v1.Index>
-      getGetIndexMethod;
+  private static volatile io.grpc.MethodDescriptor getGetIndexMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetIndex",
       requestType = com.google.firestore.admin.v1.GetIndexRequest.class,
       responseType = com.google.firestore.admin.v1.Index.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.GetIndexRequest, com.google.firestore.admin.v1.Index>
-      getGetIndexMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.GetIndexRequest, com.google.firestore.admin.v1.Index>
-        getGetIndexMethod;
+  public static io.grpc.MethodDescriptor getGetIndexMethod() {
+    io.grpc.MethodDescriptor getGetIndexMethod;
     if ((getGetIndexMethod = FirestoreAdminGrpc.getGetIndexMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getGetIndexMethod = FirestoreAdminGrpc.getGetIndexMethod) == null) {
-          FirestoreAdminGrpc.getGetIndexMethod =
-              getGetIndexMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIndex"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.GetIndexRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.Index.getDefaultInstance()))
-                      .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetIndex"))
-                      .build();
+          FirestoreAdminGrpc.getGetIndexMethod = getGetIndexMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIndex"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.GetIndexRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.Index.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetIndex"))
+              .build();
         }
       }
     }
     return getGetIndexMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.DeleteIndexRequest, com.google.protobuf.Empty>
-      getDeleteIndexMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteIndexMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteIndex",
       requestType = com.google.firestore.admin.v1.DeleteIndexRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.DeleteIndexRequest, com.google.protobuf.Empty>
-      getDeleteIndexMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.DeleteIndexRequest, com.google.protobuf.Empty>
-        getDeleteIndexMethod;
+  public static io.grpc.MethodDescriptor getDeleteIndexMethod() {
+    io.grpc.MethodDescriptor getDeleteIndexMethod;
     if ((getDeleteIndexMethod = FirestoreAdminGrpc.getDeleteIndexMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getDeleteIndexMethod = FirestoreAdminGrpc.getDeleteIndexMethod) == null) {
-          FirestoreAdminGrpc.getDeleteIndexMethod =
-              getDeleteIndexMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIndex"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.DeleteIndexRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("DeleteIndex"))
-                      .build();
+          FirestoreAdminGrpc.getDeleteIndexMethod = getDeleteIndexMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIndex"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.DeleteIndexRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("DeleteIndex"))
+              .build();
         }
       }
     }
     return getDeleteIndexMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.GetFieldRequest, com.google.firestore.admin.v1.Field>
-      getGetFieldMethod;
+  private static volatile io.grpc.MethodDescriptor getGetFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetField",
       requestType = com.google.firestore.admin.v1.GetFieldRequest.class,
       responseType = com.google.firestore.admin.v1.Field.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.GetFieldRequest, com.google.firestore.admin.v1.Field>
-      getGetFieldMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.GetFieldRequest, com.google.firestore.admin.v1.Field>
-        getGetFieldMethod;
+  public static io.grpc.MethodDescriptor getGetFieldMethod() {
+    io.grpc.MethodDescriptor getGetFieldMethod;
     if ((getGetFieldMethod = FirestoreAdminGrpc.getGetFieldMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getGetFieldMethod = FirestoreAdminGrpc.getGetFieldMethod) == null) {
-          FirestoreAdminGrpc.getGetFieldMethod =
-              getGetFieldMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetField"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.GetFieldRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.Field.getDefaultInstance()))
-                      .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetField"))
-                      .build();
+          FirestoreAdminGrpc.getGetFieldMethod = getGetFieldMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetField"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.GetFieldRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.Field.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetField"))
+              .build();
         }
       }
     }
     return getGetFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.UpdateFieldRequest, com.google.longrunning.Operation>
-      getUpdateFieldMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateField",
       requestType = com.google.firestore.admin.v1.UpdateFieldRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.UpdateFieldRequest, com.google.longrunning.Operation>
-      getUpdateFieldMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.UpdateFieldRequest, com.google.longrunning.Operation>
-        getUpdateFieldMethod;
+  public static io.grpc.MethodDescriptor getUpdateFieldMethod() {
+    io.grpc.MethodDescriptor getUpdateFieldMethod;
     if ((getUpdateFieldMethod = FirestoreAdminGrpc.getUpdateFieldMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getUpdateFieldMethod = FirestoreAdminGrpc.getUpdateFieldMethod) == null) {
-          FirestoreAdminGrpc.getUpdateFieldMethod =
-              getUpdateFieldMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateField"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.UpdateFieldRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("UpdateField"))
-                      .build();
+          FirestoreAdminGrpc.getUpdateFieldMethod = getUpdateFieldMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateField"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.UpdateFieldRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("UpdateField"))
+              .build();
         }
       }
     }
     return getUpdateFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ListFieldsRequest,
-          com.google.firestore.admin.v1.ListFieldsResponse>
-      getListFieldsMethod;
+  private static volatile io.grpc.MethodDescriptor getListFieldsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListFields",
       requestType = com.google.firestore.admin.v1.ListFieldsRequest.class,
       responseType = com.google.firestore.admin.v1.ListFieldsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ListFieldsRequest,
-          com.google.firestore.admin.v1.ListFieldsResponse>
-      getListFieldsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.ListFieldsRequest,
-            com.google.firestore.admin.v1.ListFieldsResponse>
-        getListFieldsMethod;
+  public static io.grpc.MethodDescriptor getListFieldsMethod() {
+    io.grpc.MethodDescriptor getListFieldsMethod;
     if ((getListFieldsMethod = FirestoreAdminGrpc.getListFieldsMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getListFieldsMethod = FirestoreAdminGrpc.getListFieldsMethod) == null) {
-          FirestoreAdminGrpc.getListFieldsMethod =
-              getListFieldsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFields"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ListFieldsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ListFieldsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ListFields"))
-                      .build();
+          FirestoreAdminGrpc.getListFieldsMethod = getListFieldsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFields"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ListFieldsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ListFieldsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ListFields"))
+              .build();
         }
       }
     }
     return getListFieldsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ExportDocumentsRequest, com.google.longrunning.Operation>
-      getExportDocumentsMethod;
+  private static volatile io.grpc.MethodDescriptor getExportDocumentsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExportDocuments",
       requestType = com.google.firestore.admin.v1.ExportDocumentsRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ExportDocumentsRequest, com.google.longrunning.Operation>
-      getExportDocumentsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.ExportDocumentsRequest, com.google.longrunning.Operation>
-        getExportDocumentsMethod;
+  public static io.grpc.MethodDescriptor getExportDocumentsMethod() {
+    io.grpc.MethodDescriptor getExportDocumentsMethod;
     if ((getExportDocumentsMethod = FirestoreAdminGrpc.getExportDocumentsMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getExportDocumentsMethod = FirestoreAdminGrpc.getExportDocumentsMethod) == null) {
-          FirestoreAdminGrpc.getExportDocumentsMethod =
-              getExportDocumentsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportDocuments"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ExportDocumentsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("ExportDocuments"))
-                      .build();
+          FirestoreAdminGrpc.getExportDocumentsMethod = getExportDocumentsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportDocuments"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ExportDocumentsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ExportDocuments"))
+              .build();
         }
       }
     }
     return getExportDocumentsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ImportDocumentsRequest, com.google.longrunning.Operation>
-      getImportDocumentsMethod;
+  private static volatile io.grpc.MethodDescriptor getImportDocumentsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ImportDocuments",
       requestType = com.google.firestore.admin.v1.ImportDocumentsRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ImportDocumentsRequest, com.google.longrunning.Operation>
-      getImportDocumentsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.ImportDocumentsRequest, com.google.longrunning.Operation>
-        getImportDocumentsMethod;
+  public static io.grpc.MethodDescriptor getImportDocumentsMethod() {
+    io.grpc.MethodDescriptor getImportDocumentsMethod;
     if ((getImportDocumentsMethod = FirestoreAdminGrpc.getImportDocumentsMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getImportDocumentsMethod = FirestoreAdminGrpc.getImportDocumentsMethod) == null) {
-          FirestoreAdminGrpc.getImportDocumentsMethod =
-              getImportDocumentsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportDocuments"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ImportDocumentsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("ImportDocuments"))
-                      .build();
+          FirestoreAdminGrpc.getImportDocumentsMethod = getImportDocumentsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportDocuments"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ImportDocumentsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ImportDocuments"))
+              .build();
         }
       }
     }
     return getImportDocumentsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.GetDatabaseRequest, com.google.firestore.admin.v1.Database>
-      getGetDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor getGetDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetDatabase",
       requestType = com.google.firestore.admin.v1.GetDatabaseRequest.class,
       responseType = com.google.firestore.admin.v1.Database.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.GetDatabaseRequest, com.google.firestore.admin.v1.Database>
-      getGetDatabaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.GetDatabaseRequest,
-            com.google.firestore.admin.v1.Database>
-        getGetDatabaseMethod;
+  public static io.grpc.MethodDescriptor getGetDatabaseMethod() {
+    io.grpc.MethodDescriptor getGetDatabaseMethod;
     if ((getGetDatabaseMethod = FirestoreAdminGrpc.getGetDatabaseMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getGetDatabaseMethod = FirestoreAdminGrpc.getGetDatabaseMethod) == null) {
-          FirestoreAdminGrpc.getGetDatabaseMethod =
-              getGetDatabaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabase"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.GetDatabaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.Database.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("GetDatabase"))
-                      .build();
+          FirestoreAdminGrpc.getGetDatabaseMethod = getGetDatabaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabase"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.GetDatabaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.Database.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetDatabase"))
+              .build();
         }
       }
     }
     return getGetDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ListDatabasesRequest,
-          com.google.firestore.admin.v1.ListDatabasesResponse>
-      getListDatabasesMethod;
+  private static volatile io.grpc.MethodDescriptor getListDatabasesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDatabases",
       requestType = com.google.firestore.admin.v1.ListDatabasesRequest.class,
       responseType = com.google.firestore.admin.v1.ListDatabasesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ListDatabasesRequest,
-          com.google.firestore.admin.v1.ListDatabasesResponse>
-      getListDatabasesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.ListDatabasesRequest,
-            com.google.firestore.admin.v1.ListDatabasesResponse>
-        getListDatabasesMethod;
+  public static io.grpc.MethodDescriptor getListDatabasesMethod() {
+    io.grpc.MethodDescriptor getListDatabasesMethod;
     if ((getListDatabasesMethod = FirestoreAdminGrpc.getListDatabasesMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getListDatabasesMethod = FirestoreAdminGrpc.getListDatabasesMethod) == null) {
-          FirestoreAdminGrpc.getListDatabasesMethod =
-              getListDatabasesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabases"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ListDatabasesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ListDatabasesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("ListDatabases"))
-                      .build();
+          FirestoreAdminGrpc.getListDatabasesMethod = getListDatabasesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabases"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ListDatabasesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ListDatabasesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ListDatabases"))
+              .build();
         }
       }
     }
     return getListDatabasesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.UpdateDatabaseRequest, com.google.longrunning.Operation>
-      getUpdateDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateDatabase",
       requestType = com.google.firestore.admin.v1.UpdateDatabaseRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.UpdateDatabaseRequest, com.google.longrunning.Operation>
-      getUpdateDatabaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.UpdateDatabaseRequest, com.google.longrunning.Operation>
-        getUpdateDatabaseMethod;
+  public static io.grpc.MethodDescriptor getUpdateDatabaseMethod() {
+    io.grpc.MethodDescriptor getUpdateDatabaseMethod;
     if ((getUpdateDatabaseMethod = FirestoreAdminGrpc.getUpdateDatabaseMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getUpdateDatabaseMethod = FirestoreAdminGrpc.getUpdateDatabaseMethod) == null) {
-          FirestoreAdminGrpc.getUpdateDatabaseMethod =
-              getUpdateDatabaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabase"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.UpdateDatabaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("UpdateDatabase"))
-                      .build();
+          FirestoreAdminGrpc.getUpdateDatabaseMethod = getUpdateDatabaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabase"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.UpdateDatabaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("UpdateDatabase"))
+              .build();
         }
       }
     }
     return getUpdateDatabaseMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static FirestoreAdminStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public FirestoreAdminStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new FirestoreAdminStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public FirestoreAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new FirestoreAdminStub(channel, callOptions);
+        }
+      };
     return FirestoreAdminStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static FirestoreAdminBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static FirestoreAdminBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public FirestoreAdminBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new FirestoreAdminBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public FirestoreAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new FirestoreAdminBlockingStub(channel, callOptions);
+        }
+      };
     return FirestoreAdminBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static FirestoreAdminFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static FirestoreAdminFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public FirestoreAdminFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new FirestoreAdminFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public FirestoreAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new FirestoreAdminFutureStub(channel, callOptions);
+        }
+      };
     return FirestoreAdminFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -643,82 +477,61 @@ public FirestoreAdminFutureStub newStub(
    * service `google.longrunning.Operations`.
    * 
*/ - public abstract static class FirestoreAdminImplBase implements io.grpc.BindableService { + public static abstract class FirestoreAdminImplBase implements io.grpc.BindableService { /** - * - * *
      * 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateIndexMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateIndexMethod(), responseObserver); } /** - * - * *
      * Lists composite indexes.
      * 
*/ - public void listIndexes( - com.google.firestore.admin.v1.ListIndexesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListIndexesMethod(), responseObserver); + public 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.
      * 
*/ - 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.ServerCalls.asyncUnimplementedUnaryCall(getGetIndexMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteIndexMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteIndexMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetFieldMethod(), responseObserver); } /** - * - * *
      * Updates a field configuration. Currently, field updates apply only to
      * single field index configuration. However, calls to
@@ -733,16 +546,12 @@ public void getField(
      * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
      * 
*/ - public void updateField( - com.google.firestore.admin.v1.UpdateFieldRequest request, + public void updateField(com.google.firestore.admin.v1.UpdateFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateFieldMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFieldMethod(), responseObserver); } /** - * - * *
      * Lists the field configuration and metadata for this database.
      * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -751,16 +560,12 @@ public void updateField(
      * `indexConfig.usesAncestorConfig:false` .
      * 
*/ - public void listFields( - com.google.firestore.admin.v1.ListFieldsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listFields(com.google.firestore.admin.v1.ListFieldsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFieldsMethod(), responseObserver); } /** - * - * *
      * Exports a copy of all or a subset of documents from Google Cloud Firestore
      * to another storage system, such as Google Cloud Storage. Recent updates to
@@ -774,16 +579,12 @@ public void listFields(
      * https://cloud.google.com/firestore/docs/manage-data/export-import
      * 
*/ - public void exportDocuments( - com.google.firestore.admin.v1.ExportDocumentsRequest request, + public void exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExportDocumentsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportDocumentsMethod(), responseObserver); } /** - * - * *
      * Imports documents into Google Cloud Firestore. Existing documents with the
      * same name are overwritten. The import occurs in the background and its
@@ -792,141 +593,132 @@ public void exportDocuments(
      * that a subset of the data has already been imported to Cloud Firestore.
      * 
*/ - public void importDocuments( - com.google.firestore.admin.v1.ImportDocumentsRequest request, + public void importDocuments(com.google.firestore.admin.v1.ImportDocumentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportDocumentsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportDocumentsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getGetDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDatabaseMethod(), responseObserver); } /** - * - * *
      * List all the databases in the project.
      * 
*/ - public void listDatabases( - com.google.firestore.admin.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDatabasesMethod(), responseObserver); + public void listDatabases(com.google.firestore.admin.v1.ListDatabasesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabasesMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDatabaseMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { 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>(this, METHODID_CREATE_INDEX))) + getCreateIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.CreateIndexRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_INDEX))) .addMethod( - getListIndexesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ListIndexesRequest, - com.google.firestore.admin.v1.ListIndexesResponse>( - this, METHODID_LIST_INDEXES))) + getListIndexesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ListIndexesRequest, + com.google.firestore.admin.v1.ListIndexesResponse>( + this, METHODID_LIST_INDEXES))) .addMethod( - getGetIndexMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.GetIndexRequest, - com.google.firestore.admin.v1.Index>(this, METHODID_GET_INDEX))) + getGetIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.GetIndexRequest, + com.google.firestore.admin.v1.Index>( + this, METHODID_GET_INDEX))) .addMethod( - getDeleteIndexMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.DeleteIndexRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_INDEX))) + getDeleteIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.DeleteIndexRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_INDEX))) .addMethod( - getGetFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.GetFieldRequest, - com.google.firestore.admin.v1.Field>(this, METHODID_GET_FIELD))) + getGetFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.GetFieldRequest, + com.google.firestore.admin.v1.Field>( + this, METHODID_GET_FIELD))) .addMethod( - getUpdateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.UpdateFieldRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_FIELD))) + getUpdateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.UpdateFieldRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_FIELD))) .addMethod( - getListFieldsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ListFieldsRequest, - com.google.firestore.admin.v1.ListFieldsResponse>( - this, METHODID_LIST_FIELDS))) + getListFieldsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ListFieldsRequest, + com.google.firestore.admin.v1.ListFieldsResponse>( + this, METHODID_LIST_FIELDS))) .addMethod( - getExportDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ExportDocumentsRequest, - com.google.longrunning.Operation>(this, METHODID_EXPORT_DOCUMENTS))) + getExportDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ExportDocumentsRequest, + com.google.longrunning.Operation>( + this, METHODID_EXPORT_DOCUMENTS))) .addMethod( - getImportDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ImportDocumentsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_DOCUMENTS))) + getImportDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ImportDocumentsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_DOCUMENTS))) .addMethod( - getGetDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.GetDatabaseRequest, - com.google.firestore.admin.v1.Database>(this, METHODID_GET_DATABASE))) + getGetDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.GetDatabaseRequest, + com.google.firestore.admin.v1.Database>( + this, METHODID_GET_DATABASE))) .addMethod( - getListDatabasesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ListDatabasesRequest, - com.google.firestore.admin.v1.ListDatabasesResponse>( - this, METHODID_LIST_DATABASES))) + getListDatabasesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ListDatabasesRequest, + com.google.firestore.admin.v1.ListDatabasesResponse>( + this, METHODID_LIST_DATABASES))) .addMethod( - getUpdateDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.UpdateDatabaseRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_DATABASE))) + getUpdateDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.UpdateDatabaseRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_DATABASE))) .build(); } } /** - * - * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -950,99 +742,76 @@ public final io.grpc.ServerServiceDefinition bindService() {
    * service `google.longrunning.Operations`.
    * 
*/ - public static final class FirestoreAdminStub - extends io.grpc.stub.AbstractAsyncStub { - private FirestoreAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class FirestoreAdminStub extends io.grpc.stub.AbstractAsyncStub { + 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
@@ -1057,18 +826,13 @@ public void getField(
      * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
      * 
*/ - public void updateField( - com.google.firestore.admin.v1.UpdateFieldRequest request, + public void updateField(com.google.firestore.admin.v1.UpdateFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateFieldMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateFieldMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the field configuration and metadata for this database.
      * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -1077,17 +841,13 @@ public void updateField(
      * `indexConfig.usesAncestorConfig:false` .
      * 
*/ - public void listFields( - com.google.firestore.admin.v1.ListFieldsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listFields(com.google.firestore.admin.v1.ListFieldsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListFieldsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Exports a copy of all or a subset of documents from Google Cloud Firestore
      * to another storage system, such as Google Cloud Storage. Recent updates to
@@ -1101,18 +861,13 @@ public void listFields(
      * https://cloud.google.com/firestore/docs/manage-data/export-import
      * 
*/ - public void exportDocuments( - com.google.firestore.admin.v1.ExportDocumentsRequest request, + public void exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportDocumentsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getExportDocumentsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Imports documents into Google Cloud Firestore. Existing documents with the
      * same name are overwritten. The import occurs in the background and its
@@ -1121,68 +876,47 @@ public void exportDocuments(
      * that a subset of the data has already been imported to Cloud Firestore.
      * 
*/ - public void importDocuments( - com.google.firestore.admin.v1.ImportDocumentsRequest request, + public void importDocuments(com.google.firestore.admin.v1.ImportDocumentsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportDocumentsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getImportDocumentsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets information about a database.
      * 
*/ - public void getDatabase( - com.google.firestore.admin.v1.GetDatabaseRequest request, + public void getDatabase(com.google.firestore.admin.v1.GetDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * List all the databases in the project.
      * 
*/ - public void listDatabases( - com.google.firestore.admin.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listDatabases(com.google.firestore.admin.v1.ListDatabasesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatabasesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListDatabasesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a database.
      * 
*/ - public void updateDatabase( - com.google.firestore.admin.v1.UpdateDatabaseRequest request, + public void updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDatabaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateDatabaseMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -1206,9 +940,9 @@ public void updateDatabase(
    * service `google.longrunning.Operations`.
    * 
*/ - public static final class FirestoreAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private FirestoreAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class FirestoreAdminBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private FirestoreAdminBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1219,75 +953,58 @@ protected FirestoreAdminBlockingStub build( } /** - * - * *
      * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
      * which may be used to track the status of the creation. The metadata for
      * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
      * 
*/ - public com.google.longrunning.Operation createIndex( - com.google.firestore.admin.v1.CreateIndexRequest request) { + public com.google.longrunning.Operation createIndex(com.google.firestore.admin.v1.CreateIndexRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateIndexMethod(), getCallOptions(), request); } /** - * - * *
      * Lists composite indexes.
      * 
*/ - public com.google.firestore.admin.v1.ListIndexesResponse listIndexes( - com.google.firestore.admin.v1.ListIndexesRequest request) { + public com.google.firestore.admin.v1.ListIndexesResponse listIndexes(com.google.firestore.admin.v1.ListIndexesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListIndexesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a composite index.
      * 
*/ - public com.google.firestore.admin.v1.Index getIndex( - com.google.firestore.admin.v1.GetIndexRequest request) { + public com.google.firestore.admin.v1.Index getIndex(com.google.firestore.admin.v1.GetIndexRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetIndexMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a composite index.
      * 
*/ - public com.google.protobuf.Empty deleteIndex( - com.google.firestore.admin.v1.DeleteIndexRequest request) { + public com.google.protobuf.Empty deleteIndex(com.google.firestore.admin.v1.DeleteIndexRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteIndexMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the metadata and configuration for a Field.
      * 
*/ - public com.google.firestore.admin.v1.Field getField( - com.google.firestore.admin.v1.GetFieldRequest request) { + public com.google.firestore.admin.v1.Field getField(com.google.firestore.admin.v1.GetFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetFieldMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a field configuration. Currently, field updates apply only to
      * single field index configuration. However, calls to
@@ -1302,15 +1019,12 @@ public com.google.firestore.admin.v1.Field getField(
      * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
      * 
*/ - public com.google.longrunning.Operation updateField( - com.google.firestore.admin.v1.UpdateFieldRequest request) { + public com.google.longrunning.Operation updateField(com.google.firestore.admin.v1.UpdateFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateFieldMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the field configuration and metadata for this database.
      * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -1319,15 +1033,12 @@ public com.google.longrunning.Operation updateField(
      * `indexConfig.usesAncestorConfig:false` .
      * 
*/ - public com.google.firestore.admin.v1.ListFieldsResponse listFields( - com.google.firestore.admin.v1.ListFieldsRequest request) { + public com.google.firestore.admin.v1.ListFieldsResponse listFields(com.google.firestore.admin.v1.ListFieldsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListFieldsMethod(), getCallOptions(), request); } /** - * - * *
      * Exports a copy of all or a subset of documents from Google Cloud Firestore
      * to another storage system, such as Google Cloud Storage. Recent updates to
@@ -1341,15 +1052,12 @@ public com.google.firestore.admin.v1.ListFieldsResponse listFields(
      * https://cloud.google.com/firestore/docs/manage-data/export-import
      * 
*/ - public com.google.longrunning.Operation exportDocuments( - com.google.firestore.admin.v1.ExportDocumentsRequest request) { + public com.google.longrunning.Operation exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExportDocumentsMethod(), getCallOptions(), request); } /** - * - * *
      * Imports documents into Google Cloud Firestore. Existing documents with the
      * same name are overwritten. The import occurs in the background and its
@@ -1358,55 +1066,43 @@ public com.google.longrunning.Operation exportDocuments(
      * that a subset of the data has already been imported to Cloud Firestore.
      * 
*/ - public com.google.longrunning.Operation importDocuments( - com.google.firestore.admin.v1.ImportDocumentsRequest request) { + public com.google.longrunning.Operation importDocuments(com.google.firestore.admin.v1.ImportDocumentsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportDocumentsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets information about a database.
      * 
*/ - public com.google.firestore.admin.v1.Database getDatabase( - com.google.firestore.admin.v1.GetDatabaseRequest request) { + public com.google.firestore.admin.v1.Database getDatabase(com.google.firestore.admin.v1.GetDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetDatabaseMethod(), getCallOptions(), request); } /** - * - * *
      * List all the databases in the project.
      * 
*/ - public com.google.firestore.admin.v1.ListDatabasesResponse listDatabases( - com.google.firestore.admin.v1.ListDatabasesRequest request) { + public com.google.firestore.admin.v1.ListDatabasesResponse listDatabases(com.google.firestore.admin.v1.ListDatabasesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabasesMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a database.
      * 
*/ - public com.google.longrunning.Operation updateDatabase( - com.google.firestore.admin.v1.UpdateDatabaseRequest request) { + public com.google.longrunning.Operation updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateDatabaseMethod(), getCallOptions(), request); } } /** - * - * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -1430,9 +1126,9 @@ public com.google.longrunning.Operation updateDatabase(
    * service `google.longrunning.Operations`.
    * 
*/ - public static final class FirestoreAdminFutureStub - extends io.grpc.stub.AbstractFutureStub { - private FirestoreAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class FirestoreAdminFutureStub extends io.grpc.stub.AbstractFutureStub { + private FirestoreAdminFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1443,76 +1139,63 @@ protected FirestoreAdminFutureStub build( } /** - * - * *
      * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
      * which may be used to track the status of the creation. The metadata for
      * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createIndex(com.google.firestore.admin.v1.CreateIndexRequest request) { + public com.google.common.util.concurrent.ListenableFuture createIndex( + com.google.firestore.admin.v1.CreateIndexRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateIndexMethod(), getCallOptions()), request); } /** - * - * *
      * Lists composite indexes.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.admin.v1.ListIndexesResponse> - listIndexes(com.google.firestore.admin.v1.ListIndexesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listIndexes( + com.google.firestore.admin.v1.ListIndexesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListIndexesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a composite index.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIndex(com.google.firestore.admin.v1.GetIndexRequest request) { + public com.google.common.util.concurrent.ListenableFuture getIndex( + com.google.firestore.admin.v1.GetIndexRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIndexMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a composite index.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteIndex(com.google.firestore.admin.v1.DeleteIndexRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteIndex( + com.google.firestore.admin.v1.DeleteIndexRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the metadata and configuration for a Field.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getField(com.google.firestore.admin.v1.GetFieldRequest request) { + public com.google.common.util.concurrent.ListenableFuture getField( + com.google.firestore.admin.v1.GetFieldRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetFieldMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a field configuration. Currently, field updates apply only to
      * single field index configuration. However, calls to
@@ -1527,15 +1210,13 @@ protected FirestoreAdminFutureStub build(
      * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateField(com.google.firestore.admin.v1.UpdateFieldRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateField( + com.google.firestore.admin.v1.UpdateFieldRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateFieldMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the field configuration and metadata for this database.
      * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -1544,16 +1225,13 @@ protected FirestoreAdminFutureStub build(
      * `indexConfig.usesAncestorConfig:false` .
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.admin.v1.ListFieldsResponse> - listFields(com.google.firestore.admin.v1.ListFieldsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listFields( + com.google.firestore.admin.v1.ListFieldsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListFieldsMethod(), getCallOptions()), request); } /** - * - * *
      * Exports a copy of all or a subset of documents from Google Cloud Firestore
      * to another storage system, such as Google Cloud Storage. Recent updates to
@@ -1567,15 +1245,13 @@ protected FirestoreAdminFutureStub build(
      * https://cloud.google.com/firestore/docs/manage-data/export-import
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest request) { + public com.google.common.util.concurrent.ListenableFuture exportDocuments( + com.google.firestore.admin.v1.ExportDocumentsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExportDocumentsMethod(), getCallOptions()), request); } /** - * - * *
      * Imports documents into Google Cloud Firestore. Existing documents with the
      * same name are overwritten. The import occurs in the background and its
@@ -1584,49 +1260,41 @@ protected FirestoreAdminFutureStub build(
      * that a subset of the data has already been imported to Cloud Firestore.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - importDocuments(com.google.firestore.admin.v1.ImportDocumentsRequest request) { + public com.google.common.util.concurrent.ListenableFuture importDocuments( + com.google.firestore.admin.v1.ImportDocumentsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getImportDocumentsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets information about a database.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.admin.v1.Database> - getDatabase(com.google.firestore.admin.v1.GetDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture getDatabase( + com.google.firestore.admin.v1.GetDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), request); } /** - * - * *
      * List all the databases in the project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.admin.v1.ListDatabasesResponse> - listDatabases(com.google.firestore.admin.v1.ListDatabasesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listDatabases( + com.google.firestore.admin.v1.ListDatabasesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDatabasesMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a database.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateDatabase( + com.google.firestore.admin.v1.UpdateDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateDatabaseMethod(), getCallOptions()), request); } @@ -1645,11 +1313,11 @@ protected FirestoreAdminFutureStub build( private static final int METHODID_LIST_DATABASES = 10; private static final int METHODID_UPDATE_DATABASE = 11; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final FirestoreAdminImplBase serviceImpl; private final int methodId; @@ -1663,67 +1331,51 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_INDEX: - serviceImpl.createIndex( - (com.google.firestore.admin.v1.CreateIndexRequest) request, + serviceImpl.createIndex((com.google.firestore.admin.v1.CreateIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_INDEXES: - serviceImpl.listIndexes( - (com.google.firestore.admin.v1.ListIndexesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listIndexes((com.google.firestore.admin.v1.ListIndexesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_INDEX: - serviceImpl.getIndex( - (com.google.firestore.admin.v1.GetIndexRequest) request, + serviceImpl.getIndex((com.google.firestore.admin.v1.GetIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_INDEX: - serviceImpl.deleteIndex( - (com.google.firestore.admin.v1.DeleteIndexRequest) request, + serviceImpl.deleteIndex((com.google.firestore.admin.v1.DeleteIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_FIELD: - serviceImpl.getField( - (com.google.firestore.admin.v1.GetFieldRequest) request, + serviceImpl.getField((com.google.firestore.admin.v1.GetFieldRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_FIELD: - serviceImpl.updateField( - (com.google.firestore.admin.v1.UpdateFieldRequest) request, + serviceImpl.updateField((com.google.firestore.admin.v1.UpdateFieldRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_FIELDS: - serviceImpl.listFields( - (com.google.firestore.admin.v1.ListFieldsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listFields((com.google.firestore.admin.v1.ListFieldsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_EXPORT_DOCUMENTS: - serviceImpl.exportDocuments( - (com.google.firestore.admin.v1.ExportDocumentsRequest) request, + serviceImpl.exportDocuments((com.google.firestore.admin.v1.ExportDocumentsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_IMPORT_DOCUMENTS: - serviceImpl.importDocuments( - (com.google.firestore.admin.v1.ImportDocumentsRequest) request, + serviceImpl.importDocuments((com.google.firestore.admin.v1.ImportDocumentsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_DATABASE: - serviceImpl.getDatabase( - (com.google.firestore.admin.v1.GetDatabaseRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getDatabase((com.google.firestore.admin.v1.GetDatabaseRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_DATABASES: - serviceImpl.listDatabases( - (com.google.firestore.admin.v1.ListDatabasesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listDatabases((com.google.firestore.admin.v1.ListDatabasesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_DATABASE: - serviceImpl.updateDatabase( - (com.google.firestore.admin.v1.UpdateDatabaseRequest) request, + serviceImpl.updateDatabase((com.google.firestore.admin.v1.UpdateDatabaseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -1742,9 +1394,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class FirestoreAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class FirestoreAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { FirestoreAdminBaseDescriptorSupplier() {} @java.lang.Override @@ -1786,23 +1437,21 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (FirestoreAdminGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new FirestoreAdminFileDescriptorSupplier()) - .addMethod(getCreateIndexMethod()) - .addMethod(getListIndexesMethod()) - .addMethod(getGetIndexMethod()) - .addMethod(getDeleteIndexMethod()) - .addMethod(getGetFieldMethod()) - .addMethod(getUpdateFieldMethod()) - .addMethod(getListFieldsMethod()) - .addMethod(getExportDocumentsMethod()) - .addMethod(getImportDocumentsMethod()) - .addMethod(getGetDatabaseMethod()) - .addMethod(getListDatabasesMethod()) - .addMethod(getUpdateDatabaseMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new FirestoreAdminFileDescriptorSupplier()) + .addMethod(getCreateIndexMethod()) + .addMethod(getListIndexesMethod()) + .addMethod(getGetIndexMethod()) + .addMethod(getDeleteIndexMethod()) + .addMethod(getGetFieldMethod()) + .addMethod(getUpdateFieldMethod()) + .addMethod(getListFieldsMethod()) + .addMethod(getExportDocumentsMethod()) + .addMethod(getImportDocumentsMethod()) + .addMethod(getGetDatabaseMethod()) + .addMethod(getListDatabasesMethod()) + .addMethod(getUpdateDatabaseMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java new file mode 100644 index 0000000000..f473d91f40 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java @@ -0,0 +1,1611 @@ +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 (GCP) 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 (GCP) accelerate
+   * building truly serverless apps.
+   * 
+ */ + public static abstract class FirestoreImplBase implements io.grpc.BindableService { + + /** + *
+     * Gets a single document.
+     * 
+ */ + public void getDocument(com.google.firestore.v1.GetDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDocumentMethod(), responseObserver); + } + + /** + *
+     * Lists documents.
+     * 
+ */ + public 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.
+     * 
+ */ + public void updateDocument(com.google.firestore.v1.UpdateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDocumentMethod(), responseObserver); + } + + /** + *
+     * Deletes a document.
+     * 
+ */ + public 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.
+     * 
+ */ + public void batchGetDocuments(com.google.firestore.v1.BatchGetDocumentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetDocumentsMethod(), responseObserver); + } + + /** + *
+     * Starts a new transaction.
+     * 
+ */ + public 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.
+     * 
+ */ + public void commit(com.google.firestore.v1.CommitRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitMethod(), responseObserver); + } + + /** + *
+     * Rolls back a transaction.
+     * 
+ */ + public void rollback(com.google.firestore.v1.RollbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackMethod(), responseObserver); + } + + /** + *
+     * Runs a query.
+     * 
+ */ + public 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 );
+     * ```
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public io.grpc.stub.StreamObserver write( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getWriteMethod(), responseObserver); + } + + /** + *
+     * Listens to changes.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void batchWrite(com.google.firestore.v1.BatchWriteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchWriteMethod(), responseObserver); + } + + /** + *
+     * Creates a new document.
+     * 
+ */ + public void createDocument(com.google.firestore.v1.CreateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDocumentMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, METHODID_GET_DOCUMENT))) + .addMethod( + getListDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.ListDocumentsRequest, + com.google.firestore.v1.ListDocumentsResponse>( + this, METHODID_LIST_DOCUMENTS))) + .addMethod( + getUpdateDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.UpdateDocumentRequest, + com.google.firestore.v1.Document>( + this, METHODID_UPDATE_DOCUMENT))) + .addMethod( + getDeleteDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.DeleteDocumentRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DOCUMENT))) + .addMethod( + getBatchGetDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.BatchGetDocumentsRequest, + com.google.firestore.v1.BatchGetDocumentsResponse>( + this, METHODID_BATCH_GET_DOCUMENTS))) + .addMethod( + getBeginTransactionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.BeginTransactionRequest, + com.google.firestore.v1.BeginTransactionResponse>( + this, METHODID_BEGIN_TRANSACTION))) + .addMethod( + getCommitMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitResponse>( + this, METHODID_COMMIT))) + .addMethod( + getRollbackMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.RollbackRequest, + com.google.protobuf.Empty>( + this, METHODID_ROLLBACK))) + .addMethod( + getRunQueryMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.RunQueryRequest, + com.google.firestore.v1.RunQueryResponse>( + this, METHODID_RUN_QUERY))) + .addMethod( + getRunAggregationQueryMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.RunAggregationQueryRequest, + com.google.firestore.v1.RunAggregationQueryResponse>( + this, METHODID_RUN_AGGREGATION_QUERY))) + .addMethod( + getPartitionQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.PartitionQueryRequest, + com.google.firestore.v1.PartitionQueryResponse>( + this, METHODID_PARTITION_QUERY))) + .addMethod( + getWriteMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.firestore.v1.WriteRequest, + com.google.firestore.v1.WriteResponse>( + this, METHODID_WRITE))) + .addMethod( + getListenMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.firestore.v1.ListenRequest, + com.google.firestore.v1.ListenResponse>( + this, METHODID_LISTEN))) + .addMethod( + getListCollectionIdsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.ListCollectionIdsRequest, + com.google.firestore.v1.ListCollectionIdsResponse>( + this, METHODID_LIST_COLLECTION_IDS))) + .addMethod( + getBatchWriteMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.BatchWriteRequest, + com.google.firestore.v1.BatchWriteResponse>( + this, METHODID_BATCH_WRITE))) + .addMethod( + getCreateDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.CreateDocumentRequest, + com.google.firestore.v1.Document>( + this, METHODID_CREATE_DOCUMENT))) + .build(); + } + } + + /** + *
+   * 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 (GCP) 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.
+     * 
+ */ + 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.
+     * 
+ */ + 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); + } + } + + /** + *
+   * 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 (GCP) 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); + } + } + + /** + *
+   * 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 (GCP) 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 FirestoreImplBase serviceImpl; + private final int methodId; + + MethodHandlers(FirestoreImplBase 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(); + } + } + } + + private static abstract class FirestoreBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + FirestoreBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.firestore.v1.FirestoreProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Firestore"); + } + } + + private static final class FirestoreFileDescriptorSupplier + extends FirestoreBaseDescriptorSupplier { + FirestoreFileDescriptorSupplier() {} + } + + private static final class FirestoreMethodDescriptorSupplier + extends FirestoreBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + FirestoreMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (FirestoreGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new FirestoreFileDescriptorSupplier()) + .addMethod(getGetDocumentMethod()) + .addMethod(getListDocumentsMethod()) + .addMethod(getUpdateDocumentMethod()) + .addMethod(getDeleteDocumentMethod()) + .addMethod(getBatchGetDocumentsMethod()) + .addMethod(getBeginTransactionMethod()) + .addMethod(getCommitMethod()) + .addMethod(getRollbackMethod()) + .addMethod(getRunQueryMethod()) + .addMethod(getRunAggregationQueryMethod()) + .addMethod(getPartitionQueryMethod()) + .addMethod(getWriteMethod()) + .addMethod(getListenMethod()) + .addMethod(getListCollectionIdsMethod()) + .addMethod(getBatchWriteMethod()) + .addMethod(getCreateDocumentMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java similarity index 100% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java similarity index 60% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java index 16ddc4ff41..07768276b8 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java @@ -1,148 +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; /** - * - * *
  * The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
  * 
* * Protobuf type {@code google.firestore.admin.v1.CreateIndexRequest} */ -public final class CreateIndexRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateIndexRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.CreateIndexRequest) CreateIndexRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateIndexRequest.newBuilder() to construct. private CreateIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateIndexRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateIndexRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private CreateIndexRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - com.google.firestore.admin.v1.Index.Builder subBuilder = null; - if (index_ != null) { - subBuilder = index_.toBuilder(); - } - index_ = - input.readMessage( - com.google.firestore.admin.v1.Index.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(index_); - index_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -151,32 +65,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -187,15 +99,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INDEX_FIELD_NUMBER = 2; private com.google.firestore.admin.v1.Index index_; /** - * - * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the index field is set. */ @java.lang.Override @@ -203,15 +111,11 @@ public boolean hasIndex() { return index_ != null; } /** - * - * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The index. */ @java.lang.Override @@ -219,14 +123,11 @@ public com.google.firestore.admin.v1.Index getIndex() { return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; } /** - * - * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { @@ -234,7 +135,6 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,14 +146,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (index_ != null) { output.writeMessage(2, getIndex()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -266,9 +167,10 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -276,20 +178,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -306,148 +209,135 @@ public int hashCode() { hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -463,9 +353,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; } @java.lang.Override @@ -484,8 +374,7 @@ 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); + com.google.firestore.admin.v1.CreateIndexRequest result = new com.google.firestore.admin.v1.CreateIndexRequest(this); result.parent_ = parent_; if (indexBuilder_ == null) { result.index_ = index_; @@ -500,39 +389,38 @@ public com.google.firestore.admin.v1.CreateIndexRequest 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.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; @@ -540,8 +428,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.CreateIndexRequest other) { - if (other == com.google.firestore.admin.v1.CreateIndexRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.CreateIndexRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -549,7 +436,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.CreateIndexRequest other) if (other.hasIndex()) { mergeIndex(other.getIndex()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -564,39 +451,60 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.CreateIndexRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getIndexFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = (com.google.firestore.admin.v1.CreateIndexRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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; @@ -605,24 +513,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -630,70 +535,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -701,35 +593,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.firestore.admin.v1.Index index_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder> - indexBuilder_; + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> indexBuilder_; /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the index field is set. */ public boolean hasIndex() { return indexBuilder_ != null || 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. */ public com.google.firestore.admin.v1.Index getIndex() { @@ -740,14 +621,11 @@ public com.google.firestore.admin.v1.Index getIndex() { } } /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setIndex(com.google.firestore.admin.v1.Index value) { if (indexBuilder_ == null) { @@ -763,16 +641,14 @@ public Builder setIndex(com.google.firestore.admin.v1.Index value) { return this; } /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setIndex(com.google.firestore.admin.v1.Index.Builder builderForValue) { + public Builder setIndex( + com.google.firestore.admin.v1.Index.Builder builderForValue) { if (indexBuilder_ == null) { index_ = builderForValue.build(); onChanged(); @@ -783,22 +659,17 @@ public Builder setIndex(com.google.firestore.admin.v1.Index.Builder builderForVa return this; } /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { if (indexBuilder_ == null) { if (index_ != null) { index_ = - com.google.firestore.admin.v1.Index.newBuilder(index_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.admin.v1.Index.newBuilder(index_).mergeFrom(value).buildPartial(); } else { index_ = value; } @@ -810,14 +681,11 @@ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { return this; } /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearIndex() { if (indexBuilder_ == null) { @@ -831,66 +699,55 @@ 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() { - + onChanged(); 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); } @@ -900,12 +757,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(); } @@ -914,16 +771,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 { - return new CreateIndexRequest(input, extensionRegistry); - } - }; + 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; @@ -938,4 +806,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.CreateIndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java index 664eb18a50..619b76deae 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface CreateIndexRequestOrBuilder - extends +public interface CreateIndexRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.CreateIndexRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the index field is set. */ boolean hasIndex(); /** - * - * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The index. */ com.google.firestore.admin.v1.Index getIndex(); /** - * - * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java similarity index 71% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java index 51d336d9f5..e3b1b39d5b 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/database.proto package com.google.firestore.admin.v1; /** - * - * *
  * A Cloud Firestore Database.
  * Currently only one database is allowed per cloud project; this database
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Database}
  */
-public final class Database extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Database extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Database)
     DatabaseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Database.newBuilder() to construct.
   private Database(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Database() {
     name_ = "";
     locationId_ = "";
@@ -51,121 +33,30 @@ private Database() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Database();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private Database(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              name_ = s;
-              break;
-            }
-          case 74:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              locationId_ = s;
-              break;
-            }
-          case 80:
-            {
-              int rawValue = input.readEnum();
-
-              type_ = rawValue;
-              break;
-            }
-          case 120:
-            {
-              int rawValue = input.readEnum();
-
-              concurrencyMode_ = rawValue;
-              break;
-            }
-          case 152:
-            {
-              int rawValue = input.readEnum();
-
-              appEngineIntegrationMode_ = rawValue;
-              break;
-            }
-          case 162:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              keyPrefix_ = s;
-              break;
-            }
-          case 794:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              etag_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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
@@ -175,10 +66,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.firestore.admin.v1.Database.DatabaseType}
    */
-  public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DatabaseType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The default value. This value is used if the database type is omitted.
      * 
@@ -187,8 +77,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ DATABASE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Firestore Native Mode
      * 
@@ -197,8 +85,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ FIRESTORE_NATIVE(1), /** - * - * *
      * Firestore in Datastore Mode.
      * 
@@ -210,8 +96,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The default value. This value is used if the database type is omitted.
      * 
@@ -220,8 +104,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATABASE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Firestore Native Mode
      * 
@@ -230,8 +112,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FIRESTORE_NATIVE_VALUE = 1; /** - * - * *
      * Firestore in Datastore Mode.
      * 
@@ -240,6 +120,7 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATASTORE_MODE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -264,49 +145,49 @@ public static DatabaseType valueOf(int value) { */ public static DatabaseType forNumber(int value) { switch (value) { - case 0: - return DATABASE_TYPE_UNSPECIFIED; - case 1: - return FIRESTORE_NATIVE; - case 2: - return DATASTORE_MODE; - default: - return null; + case 0: return DATABASE_TYPE_UNSPECIFIED; + case 1: return FIRESTORE_NATIVE; + case 2: return DATASTORE_MODE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + DatabaseType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DatabaseType findValueByNumber(int number) { + return DatabaseType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DatabaseType findValueByNumber(int number) { - return DatabaseType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.firestore.admin.v1.Database.getDescriptor().getEnumTypes().get(0); } private static final DatabaseType[] VALUES = values(); - public static DatabaseType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -324,18 +205,15 @@ private DatabaseType(int value) { } /** - * - * *
    * The type of concurrency control mode for transactions.
    * 
* * Protobuf enum {@code google.firestore.admin.v1.Database.ConcurrencyMode} */ - public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { + public enum ConcurrencyMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -344,8 +222,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { */ CONCURRENCY_MODE_UNSPECIFIED(0), /** - * - * *
      * Use optimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -355,8 +231,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     OPTIMISTIC(1),
     /**
-     *
-     *
      * 
      * Use pessimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -367,8 +241,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     PESSIMISTIC(2),
     /**
-     *
-     *
      * 
      * Use optimistic concurrency control with entity groups by default.
      * This is the only available mode for Cloud Datastore.
@@ -383,8 +255,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not used.
      * 
@@ -393,8 +263,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONCURRENCY_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Use optimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -404,8 +272,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int OPTIMISTIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * Use pessimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -416,8 +282,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PESSIMISTIC_VALUE = 2;
     /**
-     *
-     *
      * 
      * Use optimistic concurrency control with entity groups by default.
      * This is the only available mode for Cloud Datastore.
@@ -429,6 +293,7 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int OPTIMISTIC_WITH_ENTITY_GROUPS_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -453,44 +318,40 @@ public static ConcurrencyMode valueOf(int value) {
      */
     public static ConcurrencyMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return CONCURRENCY_MODE_UNSPECIFIED;
-        case 1:
-          return OPTIMISTIC;
-        case 2:
-          return PESSIMISTIC;
-        case 3:
-          return OPTIMISTIC_WITH_ENTITY_GROUPS;
-        default:
-          return null;
+        case 0: return CONCURRENCY_MODE_UNSPECIFIED;
+        case 1: return OPTIMISTIC;
+        case 2: return PESSIMISTIC;
+        case 3: return OPTIMISTIC_WITH_ENTITY_GROUPS;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        ConcurrencyMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ConcurrencyMode findValueByNumber(int number) {
+              return ConcurrencyMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ConcurrencyMode findValueByNumber(int number) {
-                return ConcurrencyMode.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.firestore.admin.v1.Database.getDescriptor().getEnumTypes().get(1);
     }
 
@@ -499,7 +360,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static ConcurrencyMode valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -517,18 +379,15 @@ private ConcurrencyMode(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The type of App Engine integration mode.
    * 
* * Protobuf enum {@code google.firestore.admin.v1.Database.AppEngineIntegrationMode} */ - public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMessageEnum { + public enum AppEngineIntegrationMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -537,8 +396,6 @@ public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMess */ APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED(0), /** - * - * *
      * If an App Engine application exists in the same region as this database,
      * App Engine configuration will impact this database. This includes
@@ -550,8 +407,6 @@ public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMess
      */
     ENABLED(1),
     /**
-     *
-     *
      * 
      * Appengine has no affect on the ability of this database to serve
      * requests.
@@ -564,8 +419,6 @@ public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMess
     ;
 
     /**
-     *
-     *
      * 
      * Not used.
      * 
@@ -574,8 +427,6 @@ public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMess */ public static final int APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * If an App Engine application exists in the same region as this database,
      * App Engine configuration will impact this database. This includes
@@ -587,8 +438,6 @@ public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMess
      */
     public static final int ENABLED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Appengine has no affect on the ability of this database to serve
      * requests.
@@ -598,6 +447,7 @@ public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMess
      */
     public static final int DISABLED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -622,14 +472,10 @@ public static AppEngineIntegrationMode valueOf(int value) {
      */
     public static AppEngineIntegrationMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED;
-        case 1:
-          return ENABLED;
-        case 2:
-          return DISABLED;
-        default:
-          return null;
+        case 0: return APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED;
+        case 1: return ENABLED;
+        case 2: return DISABLED;
+        default: return null;
       }
     }
 
@@ -637,28 +483,28 @@ public static AppEngineIntegrationMode forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        AppEngineIntegrationMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public AppEngineIntegrationMode findValueByNumber(int number) {
+              return AppEngineIntegrationMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public AppEngineIntegrationMode findValueByNumber(int number) {
-                return AppEngineIntegrationMode.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.firestore.admin.v1.Database.getDescriptor().getEnumTypes().get(2);
     }
 
@@ -667,7 +513,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static AppEngineIntegrationMode valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -687,15 +534,12 @@ private AppEngineIntegrationMode(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   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 @@ -704,30 +548,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 { @@ -738,15 +582,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 9; 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 @@ -755,30 +596,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 { @@ -789,8 +630,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { public static final int TYPE_FIELD_NUMBER = 10; private int type_; /** - * - * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -798,16 +637,12 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -815,106 +650,71 @@ public int getTypeValue() {
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @return The type. */ - @java.lang.Override - public com.google.firestore.admin.v1.Database.DatabaseType getType() { + @java.lang.Override public com.google.firestore.admin.v1.Database.DatabaseType getType() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Database.DatabaseType result = - com.google.firestore.admin.v1.Database.DatabaseType.valueOf(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.valueOf(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_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.firestore.admin.v1.Database.ConcurrencyMode getConcurrencyMode() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Database.ConcurrencyMode result = - com.google.firestore.admin.v1.Database.ConcurrencyMode.valueOf(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.valueOf(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_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.firestore.admin.v1.Database.AppEngineIntegrationMode getAppEngineIntegrationMode() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = - com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.valueOf( - appEngineIntegrationMode_); - return result == null - ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED - : result; + com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.valueOf(appEngineIntegrationMode_); + return result == null ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED : result; } public static final int KEY_PREFIX_FIELD_NUMBER = 20; 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
@@ -925,7 +725,6 @@ public int getAppEngineIntegrationModeValue() {
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The keyPrefix. */ @java.lang.Override @@ -934,15 +733,14 @@ public java.lang.String getKeyPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyPrefix_ = s; return s; } } /** - * - * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -953,15 +751,16 @@ public java.lang.String getKeyPrefix() {
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for keyPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyPrefixBytes() { + public com.google.protobuf.ByteString + getKeyPrefixBytes() { java.lang.Object ref = keyPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keyPrefix_ = b; return b; } else { @@ -972,8 +771,6 @@ public com.google.protobuf.ByteString getKeyPrefixBytes() { public static final int ETAG_FIELD_NUMBER = 99; 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
@@ -981,7 +778,6 @@ public com.google.protobuf.ByteString getKeyPrefixBytes() {
    * 
* * string etag = 99; - * * @return The etag. */ @java.lang.Override @@ -990,15 +786,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -1006,15 +801,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 99; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -1023,7 +819,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1035,27 +830,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, locationId_); } - if (type_ - != com.google.firestore.admin.v1.Database.DatabaseType.DATABASE_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.firestore.admin.v1.Database.DatabaseType.DATABASE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(10, type_); } - if (concurrencyMode_ - != com.google.firestore.admin.v1.Database.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED - .getNumber()) { + if (concurrencyMode_ != com.google.firestore.admin.v1.Database.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(15, concurrencyMode_); } - if (appEngineIntegrationMode_ - != com.google.firestore.admin.v1.Database.AppEngineIntegrationMode - .APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED - .getNumber()) { + if (appEngineIntegrationMode_ != com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(19, appEngineIntegrationMode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyPrefix_)) { @@ -1064,7 +853,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 99, etag_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -1079,21 +868,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, locationId_); } - if (type_ - != com.google.firestore.admin.v1.Database.DatabaseType.DATABASE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, type_); + if (type_ != com.google.firestore.admin.v1.Database.DatabaseType.DATABASE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, type_); } - if (concurrencyMode_ - != com.google.firestore.admin.v1.Database.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, concurrencyMode_); + if (concurrencyMode_ != com.google.firestore.admin.v1.Database.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(15, concurrencyMode_); } - if (appEngineIntegrationMode_ - != com.google.firestore.admin.v1.Database.AppEngineIntegrationMode - .APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(19, appEngineIntegrationMode_); + if (appEngineIntegrationMode_ != com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(19, appEngineIntegrationMode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, keyPrefix_); @@ -1101,7 +886,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(99, etag_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -1109,21 +894,25 @@ public int getSerializedSize() { @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 (!unknownFields.equals(other.unknownFields)) 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; } @@ -1148,109 +937,102 @@ public int hashCode() { hash = (53 * hash) + getKeyPrefix().hashCode(); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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
@@ -1259,39 +1041,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.Database}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Database)
       com.google.firestore.admin.v1.DatabaseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.DatabaseProto
-          .internal_static_google_firestore_admin_v1_Database_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.DatabaseProto
-          .internal_static_google_firestore_admin_v1_Database_fieldAccessorTable
+      return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Database.class,
-              com.google.firestore.admin.v1.Database.Builder.class);
+              com.google.firestore.admin.v1.Database.class, com.google.firestore.admin.v1.Database.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.Database.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1313,9 +1089,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
@@ -1334,8 +1110,7 @@ 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);
+      com.google.firestore.admin.v1.Database result = new com.google.firestore.admin.v1.Database(this);
       result.name_ = name_;
       result.locationId_ = locationId_;
       result.type_ = type_;
@@ -1351,39 +1126,38 @@ public com.google.firestore.admin.v1.Database 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.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;
@@ -1417,7 +1191,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.Database other) {
         etag_ = other.etag_;
         onChanged();
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -1432,37 +1206,83 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.admin.v1.Database parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 74: {
+              locationId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            case 80: {
+              type_ = input.readEnum();
+
+              break;
+            } // case 80
+            case 120: {
+              concurrencyMode_ = input.readEnum();
+
+              break;
+            } // case 120
+            case 152: {
+              appEngineIntegrationMode_ = input.readEnum();
+
+              break;
+            } // case 152
+            case 162: {
+              keyPrefix_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 162
+            case 794: {
+              etag_ = input.readStringRequireUtf8();
+
+              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) {
-        parsedMessage = (com.google.firestore.admin.v1.Database) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // finally
       return this;
     }
 
     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; @@ -1471,22 +1291,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the Database.
      * Format: `projects/{project}/databases/{database}`
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1494,64 +1313,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the Database.
      * Format: `projects/{project}/databases/{database}`
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1559,21 +1371,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * The location of the database. Available databases are listed at
      * https://cloud.google.com/firestore/docs/locations.
      * 
* * string location_id = 9; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1582,22 +1392,21 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * The location of the database. Available databases are listed at
      * https://cloud.google.com/firestore/docs/locations.
      * 
* * string location_id = 9; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1605,64 +1414,57 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * The location of the database. Available databases are listed at
      * https://cloud.google.com/firestore/docs/locations.
      * 
* * string location_id = 9; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; 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() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); 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) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = value; onChanged(); return this; @@ -1670,8 +1472,6 @@ public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1679,16 +1479,12 @@ public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1696,19 +1492,16 @@ public int getTypeValue() {
      * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1716,21 +1509,15 @@ 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Database.DatabaseType result = - com.google.firestore.admin.v1.Database.DatabaseType.valueOf(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.valueOf(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
@@ -1738,7 +1525,6 @@ public com.google.firestore.admin.v1.Database.DatabaseType getType() {
      * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1746,14 +1532,12 @@ public Builder setType(com.google.firestore.admin.v1.Database.DatabaseType value if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1761,11 +1545,10 @@ 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() { - + type_ = 0; onChanged(); return this; @@ -1773,93 +1556,73 @@ 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. */ public Builder setConcurrencyModeValue(int value) { - + concurrencyMode_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Database.ConcurrencyMode result = - com.google.firestore.admin.v1.Database.ConcurrencyMode.valueOf(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.valueOf(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(); } - + concurrencyMode_ = value.getNumber(); onChanged(); 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() { - + concurrencyMode_ = 0; onChanged(); return this; @@ -1867,105 +1630,73 @@ 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. */ public Builder setAppEngineIntegrationModeValue(int value) { - + appEngineIntegrationMode_ = value; onChanged(); 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() { + public com.google.firestore.admin.v1.Database.AppEngineIntegrationMode getAppEngineIntegrationMode() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = - com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.valueOf( - appEngineIntegrationMode_); - return result == null - ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED - : result; + com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.valueOf(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(); } - + appEngineIntegrationMode_ = value.getNumber(); onChanged(); 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() { - + appEngineIntegrationMode_ = 0; onChanged(); return this; @@ -1973,8 +1704,6 @@ public Builder clearAppEngineIntegrationMode() { private java.lang.Object keyPrefix_ = ""; /** - * - * *
      * Output only. The key_prefix for this database. This key_prefix is used, in combination
      * with the project id ("<key prefix>~<project id>") to construct the
@@ -1985,13 +1714,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; @@ -2000,8 +1729,6 @@ public java.lang.String getKeyPrefix() { } } /** - * - * *
      * Output only. The key_prefix for this database. This key_prefix is used, in combination
      * with the project id ("<key prefix>~<project id>") to construct the
@@ -2012,14 +1739,15 @@ public java.lang.String getKeyPrefix() {
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for keyPrefix. */ - public com.google.protobuf.ByteString getKeyPrefixBytes() { + public com.google.protobuf.ByteString + getKeyPrefixBytes() { java.lang.Object ref = keyPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keyPrefix_ = b; return b; } else { @@ -2027,8 +1755,6 @@ public com.google.protobuf.ByteString getKeyPrefixBytes() { } } /** - * - * *
      * Output only. The key_prefix for this database. This key_prefix is used, in combination
      * with the project id ("<key prefix>~<project id>") to construct the
@@ -2039,22 +1765,20 @@ public com.google.protobuf.ByteString getKeyPrefixBytes() {
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The keyPrefix to set. * @return This builder for chaining. */ - public Builder setKeyPrefix(java.lang.String value) { + public Builder setKeyPrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyPrefix_ = value; 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
@@ -2065,18 +1789,15 @@ public Builder setKeyPrefix(java.lang.String value) {
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearKeyPrefix() { - + keyPrefix_ = getDefaultInstance().getKeyPrefix(); 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
@@ -2087,16 +1808,16 @@ 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) { + public Builder setKeyPrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyPrefix_ = value; onChanged(); return this; @@ -2104,8 +1825,6 @@ public Builder setKeyPrefixBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2113,13 +1832,13 @@ public Builder setKeyPrefixBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 99; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -2128,8 +1847,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2137,14 +1854,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 99; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -2152,8 +1870,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2161,22 +1877,20 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 99; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; 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
@@ -2184,18 +1898,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 99; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); 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
@@ -2203,23 +1914,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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2229,12 +1940,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Database) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Database) private static final com.google.firestore.admin.v1.Database DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Database(); } @@ -2243,16 +1954,27 @@ public static com.google.firestore.admin.v1.Database getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Database parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Database(input, extensionRegistry); - } - }; + 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; @@ -2267,4 +1989,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Database getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java similarity index 100% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java similarity index 78% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java index c47da06ff4..a564e80d6b 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java @@ -1,85 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/database.proto package com.google.firestore.admin.v1; -public interface DatabaseOrBuilder - extends +public interface DatabaseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Database) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the Database.
    * Format: `projects/{project}/databases/{database}`
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the Database.
    * Format: `projects/{project}/databases/{database}`
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The location of the database. Available databases are listed at
    * https://cloud.google.com/firestore/docs/locations.
    * 
* * string location_id = 9; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * The location of the database. Available databases are listed at
    * https://cloud.google.com/firestore/docs/locations.
    * 
* * string location_id = 9; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); /** - * - * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -87,13 +59,10 @@ public interface DatabaseOrBuilder
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -101,68 +70,49 @@ public interface DatabaseOrBuilder
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @return The type. */ com.google.firestore.admin.v1.Database.DatabaseType getType(); /** - * - * *
    * The concurrency control mode to use for this database.
    * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; - * * @return The enum numeric value on the wire for concurrencyMode. */ int getConcurrencyModeValue(); /** - * - * *
    * The concurrency control mode to use for this database.
    * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; - * * @return The concurrencyMode. */ com.google.firestore.admin.v1.Database.ConcurrencyMode getConcurrencyMode(); /** - * - * *
    * The App Engine integration mode to use for this database.
    * 
* - * - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; - * - * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; * @return The enum numeric value on the wire for appEngineIntegrationMode. */ int getAppEngineIntegrationModeValue(); /** - * - * *
    * The App Engine integration mode to use for this database.
    * 
* - * - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; - * - * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; * @return The appEngineIntegrationMode. */ com.google.firestore.admin.v1.Database.AppEngineIntegrationMode getAppEngineIntegrationMode(); /** - * - * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -173,13 +123,10 @@ public interface DatabaseOrBuilder
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The keyPrefix. */ java.lang.String getKeyPrefix(); /** - * - * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -190,14 +137,12 @@ public interface DatabaseOrBuilder
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for keyPrefix. */ - com.google.protobuf.ByteString getKeyPrefixBytes(); + com.google.protobuf.ByteString + getKeyPrefixBytes(); /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -205,13 +150,10 @@ public interface DatabaseOrBuilder
    * 
* * string etag = 99; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -219,8 +161,8 @@ public interface DatabaseOrBuilder
    * 
* * string etag = 99; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java new file mode 100644 index 0000000000..93bf6bdb0e --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java @@ -0,0 +1,83 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/database.proto + +package com.google.firestore.admin.v1; + +public final class DatabaseProto { + private DatabaseProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Database_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Database_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/firestore/admin/v1/database.pro" + + "to\022\031google.firestore.admin.v1\032\037google/ap" + + "i/field_behavior.proto\032\031google/api/resou" + + "rce.proto\"\320\005\n\010Database\022\014\n\004name\030\001 \001(\t\022\023\n\013" + + "location_id\030\t \001(\t\022>\n\004type\030\n \001(\01620.google" + + ".firestore.admin.v1.Database.DatabaseTyp" + + "e\022M\n\020concurrency_mode\030\017 \001(\01623.google.fir" + + "estore.admin.v1.Database.ConcurrencyMode" + + "\022a\n\033app_engine_integration_mode\030\023 \001(\0162<." + + "google.firestore.admin.v1.Database.AppEn" + + "gineIntegrationMode\022\027\n\nkey_prefix\030\024 \001(\tB" + + "\003\340A\003\022\014\n\004etag\030c \001(\t\"W\n\014DatabaseType\022\035\n\031DA" + + "TABASE_TYPE_UNSPECIFIED\020\000\022\024\n\020FIRESTORE_N" + + "ATIVE\020\001\022\022\n\016DATASTORE_MODE\020\002\"w\n\017Concurren" + + "cyMode\022 \n\034CONCURRENCY_MODE_UNSPECIFIED\020\000" + + "\022\016\n\nOPTIMISTIC\020\001\022\017\n\013PESSIMISTIC\020\002\022!\n\035OPT" + + "IMISTIC_WITH_ENTITY_GROUPS\020\003\"b\n\030AppEngin" + + "eIntegrationMode\022+\n\'APP_ENGINE_INTEGRATI" + + "ON_MODE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DI" + + "SABLED\020\002:R\352AO\n!firestore.googleapis.com/" + + "Database\022\'projects/{project}/databases/{" + + "database}R\001\001B\341\001\n\035com.google.firestore.ad" + + "min.v1B\rDatabaseProtoP\001Z>google.golang.o" + + "rg/genproto/googleapis/firestore/admin/v" + + "1;admin\242\002\004GCFS\252\002\037Google.Cloud.Firestore." + + "Admin.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\" + + "V1\352\002#Google::Cloud::Firestore::Admin::V1" + + "b\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(), + }); + internal_static_google_firestore_admin_v1_Database_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_admin_v1_Database_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Database_descriptor, + new java.lang.String[] { "Name", "LocationId", "Type", "ConcurrencyMode", "AppEngineIntegrationMode", "KeyPrefix", "Etag", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java similarity index 58% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java index 609450d80b..0a65c0ed1d 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java @@ -1,132 +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; /** - * - * *
  * The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex].
  * 
* * Protobuf type {@code google.firestore.admin.v1.DeleteIndexRequest} */ -public final class DeleteIndexRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteIndexRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.DeleteIndexRequest) DeleteIndexRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteIndexRequest.newBuilder() to construct. private DeleteIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteIndexRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteIndexRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private DeleteIndexRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -135,32 +65,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,11 +108,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_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -197,7 +125,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -205,16 +133,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -227,148 +155,135 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +293,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 @@ -399,8 +314,7 @@ 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); + com.google.firestore.admin.v1.DeleteIndexRequest result = new com.google.firestore.admin.v1.DeleteIndexRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +324,38 @@ public com.google.firestore.admin.v1.DeleteIndexRequest 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.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; @@ -450,13 +363,12 @@ 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_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -471,39 +383,53 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.DeleteIndexRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = (com.google.firestore.admin.v1.DeleteIndexRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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; @@ -512,24 +438,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +460,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +527,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(); } @@ -631,16 +541,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 { - return new DeleteIndexRequest(input, extensionRegistry); - } - }; + 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; @@ -655,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.DeleteIndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java new file mode 100644 index 0000000000..0509378e28 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface DeleteIndexRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.DeleteIndexRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java similarity index 70% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java index 23565e678c..4321f7038c 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** - * - * *
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsMetadata}
  */
-public final class ExportDocumentsMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExportDocumentsMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ExportDocumentsMetadata)
     ExportDocumentsMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExportDocumentsMetadata.newBuilder() to construct.
   private ExportDocumentsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExportDocumentsMetadata() {
     operationState_ = 0;
     collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -46,170 +28,37 @@ private ExportDocumentsMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExportDocumentsMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private ExportDocumentsMetadata(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    int mutable_bitField0_ = 0;
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
-              }
-              endTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
-
-              operationState_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              com.google.firestore.admin.v1.Progress.Builder subBuilder = null;
-              if (progressDocuments_ != null) {
-                subBuilder = progressDocuments_.toBuilder();
-              }
-              progressDocuments_ =
-                  input.readMessage(
-                      com.google.firestore.admin.v1.Progress.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(progressDocuments_);
-                progressDocuments_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 42:
-            {
-              com.google.firestore.admin.v1.Progress.Builder subBuilder = null;
-              if (progressBytes_ != null) {
-                subBuilder = progressBytes_.toBuilder();
-              }
-              progressBytes_ =
-                  input.readMessage(
-                      com.google.firestore.admin.v1.Progress.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(progressBytes_);
-                progressBytes_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                collectionIds_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              collectionIds_.add(s);
-              break;
-            }
-          case 58:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              outputUriPrefix_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        collectionIds_ = collectionIds_.getUnmodifiableView();
-      }
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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 @@ -217,14 +66,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -232,8 +78,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time this operation started.
    * 
@@ -248,15 +92,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -264,15 +105,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -280,8 +118,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -297,50 +133,38 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int OPERATION_STATE_FIELD_NUMBER = 3;
   private int operationState_;
   /**
-   *
-   *
    * 
    * 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() { + @java.lang.Override public com.google.firestore.admin.v1.OperationState getOperationState() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.valueOf(operationState_); + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(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 @@ -348,25 +172,18 @@ public boolean hasProgressDocuments() { return progressDocuments_ != null; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return The progressDocuments. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressDocuments() { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -381,14 +198,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui 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 @@ -396,25 +210,18 @@ public boolean hasProgressBytes() { return progressBytes_ != null; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return The progressBytes. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -429,42 +236,34 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder public static final int COLLECTION_IDS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList collectionIds_; /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_; } /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -472,32 +271,27 @@ 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; private volatile java.lang.Object outputUriPrefix_; /** - * - * *
    * Where the entities are being exported to.
    * 
* * string output_uri_prefix = 7; - * * @return The outputUriPrefix. */ @java.lang.Override @@ -506,29 +300,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 { @@ -537,7 +331,6 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -549,15 +342,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) { @@ -572,7 +365,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUriPrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, outputUriPrefix_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -582,20 +375,24 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } - if (operationState_ - != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operationState_); + if (operationState_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, operationState_); } if (progressDocuments_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProgressDocuments()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getProgressDocuments()); } if (progressBytes_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getProgressBytes()); } { int dataSize = 0; @@ -608,7 +405,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUriPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, outputUriPrefix_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -616,34 +413,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.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 (!getCollectionIdsList().equals(other.getCollectionIdsList())) return false; - if (!getOutputUriPrefix().equals(other.getOutputUriPrefix())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getProgressBytes() + .equals(other.getProgressBytes())) 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; } @@ -678,110 +480,102 @@ public int hashCode() { } hash = (37 * hash) + OUTPUT_URI_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getOutputUriPrefix().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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].
@@ -789,39 +583,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ExportDocumentsMetadata)
       com.google.firestore.admin.v1.ExportDocumentsMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.ExportDocumentsMetadata.class,
-              com.google.firestore.admin.v1.ExportDocumentsMetadata.Builder.class);
+              com.google.firestore.admin.v1.ExportDocumentsMetadata.class, com.google.firestore.admin.v1.ExportDocumentsMetadata.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.ExportDocumentsMetadata.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -859,9 +647,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -880,8 +668,7 @@ public com.google.firestore.admin.v1.ExportDocumentsMetadata build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.ExportDocumentsMetadata buildPartial() {
-      com.google.firestore.admin.v1.ExportDocumentsMetadata result =
-          new com.google.firestore.admin.v1.ExportDocumentsMetadata(this);
+      com.google.firestore.admin.v1.ExportDocumentsMetadata result = new com.google.firestore.admin.v1.ExportDocumentsMetadata(this);
       int from_bitField0_ = bitField0_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -918,39 +705,38 @@ public com.google.firestore.admin.v1.ExportDocumentsMetadata 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.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;
@@ -958,8 +744,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.admin.v1.ExportDocumentsMetadata other) {
-      if (other == com.google.firestore.admin.v1.ExportDocumentsMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.admin.v1.ExportDocumentsMetadata.getDefaultInstance()) return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -989,7 +774,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ExportDocumentsMetadata o
         outputUriPrefix_ = other.outputUriPrefix_;
         onChanged();
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -1004,52 +789,98 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.admin.v1.ExportDocumentsMetadata parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 24: {
+              operationState_ = input.readEnum();
+
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getProgressDocumentsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getProgressBytesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureCollectionIdsIsMutable();
+              collectionIds_.add(s);
+              break;
+            } // case 50
+            case 58: {
+              outputUriPrefix_ = input.readStringRequireUtf8();
+
+              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) {
-        parsedMessage =
-            (com.google.firestore.admin.v1.ExportDocumentsMetadata) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // 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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1060,8 +891,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time this operation started.
      * 
@@ -1082,15 +911,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -1101,8 +929,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1113,7 +939,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -1125,8 +951,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1145,8 +969,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1154,13 +976,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time this operation started.
      * 
@@ -1171,12 +991,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time this operation started.
      * 
@@ -1184,17 +1003,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1202,35 +1018,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * 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() { @@ -1241,8 +1048,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1264,8 +1069,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1273,7 +1076,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1284,8 +1088,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1297,7 +1099,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1309,8 +1111,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1330,8 +1130,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1340,13 +1138,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1358,12 +1154,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1372,17 +1167,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1390,65 +1182,51 @@ 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. */ public Builder setOperationStateValue(int value) { - + operationState_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.valueOf(operationState_); + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(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. */ @@ -1456,24 +1234,21 @@ public Builder setOperationState(com.google.firestore.admin.v1.OperationState va if (value == null) { throw new NullPointerException(); } - + operationState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of the export operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return This builder for chaining. */ public Builder clearOperationState() { - + operationState_ = 0; onChanged(); return this; @@ -1481,47 +1256,34 @@ public Builder clearOperationState() { private com.google.firestore.admin.v1.Progress progressDocuments_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressDocumentsBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressDocumentsBuilder_; /** - * - * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return Whether the progressDocuments field is set. */ public boolean hasProgressDocuments() { return progressDocumentsBuilder_ != null || progressDocuments_ != null; } /** - * - * *
      * 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.
      * 
@@ -1542,8 +1304,6 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1562,8 +1322,6 @@ public Builder setProgressDocuments( return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1574,9 +1332,7 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val if (progressDocumentsBuilder_ == null) { if (progressDocuments_ != null) { progressDocuments_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_).mergeFrom(value).buildPartial(); } else { progressDocuments_ = value; } @@ -1588,8 +1344,6 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1608,8 +1362,6 @@ public Builder clearProgressDocuments() { return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1617,13 +1369,11 @@ public Builder clearProgressDocuments() { * .google.firestore.admin.v1.Progress progress_documents = 4; */ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilder() { - + onChanged(); return getProgressDocumentsFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1634,14 +1384,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui if (progressDocumentsBuilder_ != null) { return progressDocumentsBuilder_.getMessageOrBuilder(); } else { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1649,17 +1396,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui * .google.firestore.admin.v1.Progress progress_documents = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressDocumentsFieldBuilder() { if (progressDocumentsBuilder_ == null) { - progressDocumentsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressDocuments(), getParentForChildren(), isClean()); + progressDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressDocuments(), + getParentForChildren(), + isClean()); progressDocuments_ = null; } return progressDocumentsBuilder_; @@ -1667,47 +1411,34 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui private com.google.firestore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressBytesBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; /** - * - * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return progressBytesBuilder_ != null || progressBytes_ != null; } /** - * - * *
      * 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.
      * 
@@ -1728,8 +1459,6 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1748,8 +1477,6 @@ public Builder setProgressBytes( return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1760,9 +1487,7 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) if (progressBytesBuilder_ == null) { if (progressBytes_ != null) { progressBytes_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_).mergeFrom(value).buildPartial(); } else { progressBytes_ = value; } @@ -1774,8 +1499,6 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1794,8 +1517,6 @@ public Builder clearProgressBytes() { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1803,13 +1524,11 @@ public Builder clearProgressBytes() { * .google.firestore.admin.v1.Progress progress_bytes = 5; */ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() { - + onChanged(); return getProgressBytesFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1820,14 +1539,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1835,68 +1551,55 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), getParentForChildren(), isClean()); + progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), + getParentForChildren(), + isClean()); progressBytes_ = null; } return progressBytesBuilder_; } - private com.google.protobuf.LazyStringList collectionIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -1904,90 +1607,80 @@ 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) { + public Builder setCollectionIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds(java.lang.String value) { + public Builder addCollectionIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds(java.lang.Iterable values) { + public Builder addAllCollectionIds( + java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, collectionIds_); onChanged(); return this; } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -1997,22 +1690,20 @@ public Builder clearCollectionIds() { return this; } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { + public Builder addCollectionIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); @@ -2021,20 +1712,18 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object outputUriPrefix_ = ""; /** - * - * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; - * * @return The outputUriPrefix. */ public java.lang.String getOutputUriPrefix() { java.lang.Object ref = outputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; @@ -2043,21 +1732,20 @@ public java.lang.String getOutputUriPrefix() { } } /** - * - * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; - * * @return The bytes for outputUriPrefix. */ - public com.google.protobuf.ByteString getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -2065,68 +1753,61 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() { } } /** - * - * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; - * * @param value The outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefix(java.lang.String value) { + public Builder setOutputUriPrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputUriPrefix_ = value; onChanged(); return this; } /** - * - * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; - * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { - + outputUriPrefix_ = getDefaultInstance().getOutputUriPrefix(); onChanged(); 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) { + public Builder setOutputUriPrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputUriPrefix_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2136,12 +1817,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(); } @@ -2150,16 +1831,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 { - return new ExportDocumentsMetadata(input, extensionRegistry); - } - }; + 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; @@ -2174,4 +1866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ExportDocumentsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java similarity index 81% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java index 6668efc0dd..86ee7df28e 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface ExportDocumentsMetadataOrBuilder - extends +public interface ExportDocumentsMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ExportDocumentsMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time this operation started.
    * 
@@ -59,34 +35,26 @@ public interface ExportDocumentsMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -97,57 +65,43 @@ public interface ExportDocumentsMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The state of the export operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The enum numeric value on the wire for operationState. */ int getOperationStateValue(); /** - * - * *
    * The state of the export operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The operationState. */ com.google.firestore.admin.v1.OperationState getOperationState(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return Whether the progressDocuments field is set. */ boolean hasProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return The progressDocuments. */ com.google.firestore.admin.v1.Progress getProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -157,32 +111,24 @@ public interface ExportDocumentsMetadataOrBuilder com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return The progressBytes. */ com.google.firestore.admin.v1.Progress getProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -192,78 +138,63 @@ public interface ExportDocumentsMetadataOrBuilder com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder(); /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @return A list containing the collectionIds. */ - java.util.List getCollectionIdsList(); + java.util.List + getCollectionIdsList(); /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString getCollectionIdsBytes(int index); + com.google.protobuf.ByteString + getCollectionIdsBytes(int index); /** - * - * *
    * Where the entities are being exported to.
    * 
* * string output_uri_prefix = 7; - * * @return The outputUriPrefix. */ java.lang.String getOutputUriPrefix(); /** - * - * *
    * Where the entities are being exported to.
    * 
* * string output_uri_prefix = 7; - * * @return The bytes for outputUriPrefix. */ - com.google.protobuf.ByteString getOutputUriPrefixBytes(); + com.google.protobuf.ByteString + getOutputUriPrefixBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java similarity index 68% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java index a626f3304b..e011ed2f48 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsRequest} */ -public final class ExportDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportDocumentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ExportDocumentsRequest) ExportDocumentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportDocumentsRequest.newBuilder() to construct. private ExportDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportDocumentsRequest() { name_ = ""; collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -45,111 +27,38 @@ private ExportDocumentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportDocumentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ExportDocumentsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - collectionIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - collectionIds_.add(s); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - outputUriPrefix_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - collectionIds_ = collectionIds_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -158,32 +67,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -194,42 +101,34 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int COLLECTION_IDS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList collectionIds_; /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_; } /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -237,26 +136,22 @@ 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; 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
@@ -269,7 +164,6 @@ public com.google.protobuf.ByteString getCollectionIdsBytes(int index) {
    * 
* * string output_uri_prefix = 3; - * * @return The outputUriPrefix. */ @java.lang.Override @@ -278,15 +172,14 @@ public java.lang.String getOutputUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; } } /** - * - * *
    * The output URI. Currently only supports Google Cloud Storage URIs of the
    * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -299,15 +192,16 @@ public java.lang.String getOutputUriPrefix() {
    * 
* * string output_uri_prefix = 3; - * * @return The bytes for outputUriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -316,7 +210,6 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -338,7 +232,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUriPrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, outputUriPrefix_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -361,7 +255,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUriPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, outputUriPrefix_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -369,18 +263,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.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; - if (!unknownFields.equals(other.unknownFields)) 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; } @@ -399,148 +295,135 @@ public int hashCode() { } hash = (37 * hash) + OUTPUT_URI_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getOutputUriPrefix().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_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 @@ -575,8 +458,7 @@ public com.google.firestore.admin.v1.ExportDocumentsRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ExportDocumentsRequest buildPartial() { - com.google.firestore.admin.v1.ExportDocumentsRequest result = - new com.google.firestore.admin.v1.ExportDocumentsRequest(this); + com.google.firestore.admin.v1.ExportDocumentsRequest result = new com.google.firestore.admin.v1.ExportDocumentsRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { @@ -593,39 +475,38 @@ public com.google.firestore.admin.v1.ExportDocumentsRequest 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.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; @@ -633,8 +514,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ExportDocumentsRequest other) { - if (other == com.google.firestore.admin.v1.ExportDocumentsRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ExportDocumentsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -653,7 +533,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ExportDocumentsRequest ot outputUriPrefix_ = other.outputUriPrefix_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -668,42 +548,65 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.ExportDocumentsRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCollectionIdsIsMutable(); + collectionIds_.add(s); + break; + } // case 18 + case 26: { + outputUriPrefix_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = - (com.google.firestore.admin.v1.ExportDocumentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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; @@ -712,24 +615,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Database to export. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -737,121 +637,98 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Database to export. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList collectionIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -859,90 +736,80 @@ 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) { + public Builder setCollectionIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds(java.lang.String value) { + public Builder addCollectionIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds(java.lang.Iterable values) { + public Builder addAllCollectionIds( + java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, collectionIds_); onChanged(); return this; } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -952,22 +819,20 @@ public Builder clearCollectionIds() { return this; } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { + public Builder addCollectionIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); @@ -976,8 +841,6 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object outputUriPrefix_ = ""; /** - * - * *
      * The output URI. Currently only supports Google Cloud Storage URIs of the
      * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -990,13 +853,13 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) {
      * 
* * string output_uri_prefix = 3; - * * @return The outputUriPrefix. */ public java.lang.String getOutputUriPrefix() { java.lang.Object ref = outputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; @@ -1005,8 +868,6 @@ public java.lang.String getOutputUriPrefix() { } } /** - * - * *
      * The output URI. Currently only supports Google Cloud Storage URIs of the
      * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -1019,14 +880,15 @@ public java.lang.String getOutputUriPrefix() {
      * 
* * string output_uri_prefix = 3; - * * @return The bytes for outputUriPrefix. */ - public com.google.protobuf.ByteString getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -1034,8 +896,6 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() { } } /** - * - * *
      * The output URI. Currently only supports Google Cloud Storage URIs of the
      * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -1048,22 +908,20 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() {
      * 
* * string output_uri_prefix = 3; - * * @param value The outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefix(java.lang.String value) { + public Builder setOutputUriPrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputUriPrefix_ = value; 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
@@ -1076,18 +934,15 @@ public Builder setOutputUriPrefix(java.lang.String value) {
      * 
* * string output_uri_prefix = 3; - * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { - + outputUriPrefix_ = getDefaultInstance().getOutputUriPrefix(); 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
@@ -1100,23 +955,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) { + public Builder setOutputUriPrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputUriPrefix_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1126,12 +981,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(); } @@ -1140,16 +995,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 { - return new ExportDocumentsRequest(input, extensionRegistry); - } - }; + 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; @@ -1164,4 +1030,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ExportDocumentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java index bafc4a0895..c26d90150a 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java @@ -1,113 +1,76 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ExportDocumentsRequestOrBuilder - extends +public interface ExportDocumentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ExportDocumentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Database to export. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Database to export. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @return A list containing the collectionIds. */ - java.util.List getCollectionIdsList(); + java.util.List + getCollectionIdsList(); /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString getCollectionIdsBytes(int index); + com.google.protobuf.ByteString + getCollectionIdsBytes(int index); /** - * - * *
    * The output URI. Currently only supports Google Cloud Storage URIs of the
    * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -120,13 +83,10 @@ public interface ExportDocumentsRequestOrBuilder
    * 
* * string output_uri_prefix = 3; - * * @return The outputUriPrefix. */ java.lang.String getOutputUriPrefix(); /** - * - * *
    * The output URI. Currently only supports Google Cloud Storage URIs of the
    * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -139,8 +99,8 @@ public interface ExportDocumentsRequestOrBuilder
    * 
* * string output_uri_prefix = 3; - * * @return The bytes for outputUriPrefix. */ - com.google.protobuf.ByteString getOutputUriPrefixBytes(); + com.google.protobuf.ByteString + getOutputUriPrefixBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java similarity index 62% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java index 5faf54c256..17bb018522 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java @@ -1,123 +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/operation.proto package com.google.firestore.admin.v1; /** - * - * *
  * Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field.
  * 
* * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsResponse} */ -public final class ExportDocumentsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportDocumentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ExportDocumentsResponse) ExportDocumentsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportDocumentsResponse.newBuilder() to construct. private ExportDocumentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportDocumentsResponse() { outputUriPrefix_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportDocumentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ExportDocumentsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - outputUriPrefix_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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
@@ -125,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string output_uri_prefix = 1; - * * @return The outputUriPrefix. */ @java.lang.Override @@ -134,15 +66,14 @@ public java.lang.String getOutputUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; } } /** - * - * *
    * Location of the output files. This can be used to begin an import
    * into Cloud Firestore (this project or another project) after the operation
@@ -150,15 +81,16 @@ public java.lang.String getOutputUriPrefix() {
    * 
* * string output_uri_prefix = 1; - * * @return The bytes for outputUriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -167,7 +99,6 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,11 +110,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(outputUriPrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outputUriPrefix_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -195,7 +127,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUriPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outputUriPrefix_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -203,16 +135,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getOutputUriPrefix() + .equals(other.getOutputUriPrefix())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -225,149 +157,135 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + OUTPUT_URI_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getOutputUriPrefix().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +295,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 @@ -398,8 +316,7 @@ 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); + com.google.firestore.admin.v1.ExportDocumentsResponse result = new com.google.firestore.admin.v1.ExportDocumentsResponse(this); result.outputUriPrefix_ = outputUriPrefix_; onBuilt(); return result; @@ -409,39 +326,38 @@ public com.google.firestore.admin.v1.ExportDocumentsResponse 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.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; @@ -449,13 +365,12 @@ 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_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -470,25 +385,40 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.ExportDocumentsResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + outputUriPrefix_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = - (com.google.firestore.admin.v1.ExportDocumentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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
@@ -496,13 +426,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; @@ -511,8 +441,6 @@ public java.lang.String getOutputUriPrefix() { } } /** - * - * *
      * Location of the output files. This can be used to begin an import
      * into Cloud Firestore (this project or another project) after the operation
@@ -520,14 +448,15 @@ public java.lang.String getOutputUriPrefix() {
      * 
* * string output_uri_prefix = 1; - * * @return The bytes for outputUriPrefix. */ - public com.google.protobuf.ByteString getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -535,8 +464,6 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() { } } /** - * - * *
      * Location of the output files. This can be used to begin an import
      * into Cloud Firestore (this project or another project) after the operation
@@ -544,22 +471,20 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() {
      * 
* * string output_uri_prefix = 1; - * * @param value The outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefix(java.lang.String value) { + public Builder setOutputUriPrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputUriPrefix_ = value; 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
@@ -567,18 +492,15 @@ public Builder setOutputUriPrefix(java.lang.String value) {
      * 
* * string output_uri_prefix = 1; - * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { - + outputUriPrefix_ = getDefaultInstance().getOutputUriPrefix(); 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
@@ -586,23 +508,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) { + public Builder setOutputUriPrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputUriPrefix_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +534,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(); } @@ -626,16 +548,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 { - return new ExportDocumentsResponse(input, extensionRegistry); - } - }; + 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; @@ -650,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ExportDocumentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java similarity index 56% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java index e4588c346f..86ce311b5d 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface ExportDocumentsResponseOrBuilder - extends +public interface ExportDocumentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ExportDocumentsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Location of the output files. This can be used to begin an import
    * into Cloud Firestore (this project or another project) after the operation
@@ -33,13 +15,10 @@ public interface ExportDocumentsResponseOrBuilder
    * 
* * string output_uri_prefix = 1; - * * @return The outputUriPrefix. */ java.lang.String getOutputUriPrefix(); /** - * - * *
    * Location of the output files. This can be used to begin an import
    * into Cloud Firestore (this project or another project) after the operation
@@ -47,8 +26,8 @@ public interface ExportDocumentsResponseOrBuilder
    * 
* * string output_uri_prefix = 1; - * * @return The bytes for outputUriPrefix. */ - com.google.protobuf.ByteString getOutputUriPrefixBytes(); + com.google.protobuf.ByteString + getOutputUriPrefixBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java similarity index 73% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java index c9451f52b8..c98be46ccc 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/field.proto package com.google.firestore.admin.v1; /** - * - * *
  * Represents a single field in the database.
  * Fields are grouped by their "Collection Group", which represent all
@@ -29,142 +12,58 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Field}
  */
-public final class Field extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Field extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Field)
     FieldOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Field.newBuilder() to construct.
   private Field(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Field() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Field();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private Field(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              com.google.firestore.admin.v1.Field.IndexConfig.Builder subBuilder = null;
-              if (indexConfig_ != null) {
-                subBuilder = indexConfig_.toBuilder();
-              }
-              indexConfig_ =
-                  input.readMessage(
-                      com.google.firestore.admin.v1.Field.IndexConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(indexConfig_);
-                indexConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 26:
-            {
-              com.google.firestore.admin.v1.Field.TtlConfig.Builder subBuilder = null;
-              if (ttlConfig_ != null) {
-                subBuilder = ttlConfig_.toBuilder();
-              }
-              ttlConfig_ =
-                  input.readMessage(
-                      com.google.firestore.admin.v1.Field.TtlConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(ttlConfig_);
-                ttlConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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.
      * 
@@ -173,8 +72,6 @@ public interface IndexConfigOrBuilder */ com.google.firestore.admin.v1.Index getIndexes(int index); /** - * - * *
      * The indexes supported for this field.
      * 
@@ -183,30 +80,25 @@ public interface IndexConfigOrBuilder */ int getIndexesCount(); /** - * - * *
      * The indexes supported for this field.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - java.util.List + java.util.List getIndexesOrBuilderList(); /** - * - * *
      * The indexes supported for this field.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index); + com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( + int index); /** - * - * *
      * Output only. When true, the `Field`'s index configuration is set from the
      * configuration specified by the `ancestor_field`.
@@ -214,14 +106,11 @@ public interface IndexConfigOrBuilder
      * 
* * bool uses_ancestor_config = 2; - * * @return The usesAncestorConfig. */ boolean getUsesAncestorConfig(); /** - * - * *
      * Output only. Specifies the resource name of the `Field` from which this field's
      * index configuration is set (when `uses_ancestor_config` is true),
@@ -230,13 +119,10 @@ public interface IndexConfigOrBuilder
      * 
* * string ancestor_field = 3; - * * @return The ancestorField. */ java.lang.String getAncestorField(); /** - * - * *
      * Output only. Specifies the resource name of the `Field` from which this field's
      * index configuration is set (when `uses_ancestor_config` is true),
@@ -245,14 +131,12 @@ public interface IndexConfigOrBuilder
      * 
* * string ancestor_field = 3; - * * @return The bytes for ancestorField. */ - com.google.protobuf.ByteString getAncestorFieldBytes(); + com.google.protobuf.ByteString + getAncestorFieldBytes(); /** - * - * *
      * Output only
      * When true, the `Field`'s index configuration is in the process of being
@@ -262,30 +146,26 @@ public interface IndexConfigOrBuilder
      * 
* * bool reverting = 4; - * * @return The reverting. */ boolean getReverting(); } /** - * - * *
    * The index configuration for this field.
    * 
* * Protobuf type {@code google.firestore.admin.v1.Field.IndexConfig} */ - public static final class IndexConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IndexConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Field.IndexConfig) IndexConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IndexConfig.newBuilder() to construct. private IndexConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IndexConfig() { indexes_ = java.util.Collections.emptyList(); ancestorField_ = ""; @@ -293,106 +173,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private IndexConfig( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - indexes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - indexes_.add( - input.readMessage( - com.google.firestore.admin.v1.Index.parser(), extensionRegistry)); - break; - } - case 16: - { - usesAncestorConfig_ = input.readBool(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - ancestorField_ = s; - break; - } - case 32: - { - reverting_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - indexes_ = java.util.Collections.unmodifiableList(indexes_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private java.util.List indexes_; /** - * - * *
      * The indexes supported for this field.
      * 
@@ -404,8 +210,6 @@ public java.util.List getIndexesList() { return indexes_; } /** - * - * *
      * The indexes supported for this field.
      * 
@@ -413,13 +217,11 @@ public java.util.List getIndexesList() { * repeated .google.firestore.admin.v1.Index indexes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getIndexesOrBuilderList() { return indexes_; } /** - * - * *
      * The indexes supported for this field.
      * 
@@ -431,8 +233,6 @@ public int getIndexesCount() { return indexes_.size(); } /** - * - * *
      * The indexes supported for this field.
      * 
@@ -444,8 +244,6 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { return indexes_.get(index); } /** - * - * *
      * The indexes supported for this field.
      * 
@@ -453,15 +251,14 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { * repeated .google.firestore.admin.v1.Index indexes = 1; */ @java.lang.Override - public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { + public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( + int index) { return indexes_.get(index); } public static final int USES_ANCESTOR_CONFIG_FIELD_NUMBER = 2; private boolean usesAncestorConfig_; /** - * - * *
      * Output only. When true, the `Field`'s index configuration is set from the
      * configuration specified by the `ancestor_field`.
@@ -469,7 +266,6 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int inde
      * 
* * bool uses_ancestor_config = 2; - * * @return The usesAncestorConfig. */ @java.lang.Override @@ -480,8 +276,6 @@ public boolean getUsesAncestorConfig() { public static final int ANCESTOR_FIELD_FIELD_NUMBER = 3; 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),
@@ -490,7 +284,6 @@ public boolean getUsesAncestorConfig() {
      * 
* * string ancestor_field = 3; - * * @return The ancestorField. */ @java.lang.Override @@ -499,15 +292,14 @@ public java.lang.String getAncestorField() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ancestorField_ = s; return s; } } /** - * - * *
      * Output only. Specifies the resource name of the `Field` from which this field's
      * index configuration is set (when `uses_ancestor_config` is true),
@@ -516,15 +308,16 @@ public java.lang.String getAncestorField() {
      * 
* * string ancestor_field = 3; - * * @return The bytes for ancestorField. */ @java.lang.Override - public com.google.protobuf.ByteString getAncestorFieldBytes() { + public com.google.protobuf.ByteString + getAncestorFieldBytes() { java.lang.Object ref = ancestorField_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ancestorField_ = b; return b; } else { @@ -535,8 +328,6 @@ public com.google.protobuf.ByteString getAncestorFieldBytes() { public static final int REVERTING_FIELD_NUMBER = 4; private boolean reverting_; /** - * - * *
      * Output only
      * When true, the `Field`'s index configuration is in the process of being
@@ -546,7 +337,6 @@ public com.google.protobuf.ByteString getAncestorFieldBytes() {
      * 
* * bool reverting = 4; - * * @return The reverting. */ @java.lang.Override @@ -555,7 +345,6 @@ public boolean getReverting() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -567,7 +356,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < indexes_.size(); i++) { output.writeMessage(1, indexes_.get(i)); } @@ -580,7 +370,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (reverting_ != false) { output.writeBool(4, reverting_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -590,18 +380,21 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -609,19 +402,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.Field.IndexConfig)) { return super.equals(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 (!unknownFields.equals(other.unknownFields)) return false; + 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -637,104 +433,100 @@ public int hashCode() { hash = (53 * hash) + getIndexesList().hashCode(); } hash = (37 * hash) + USES_ANCESTOR_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUsesAncestorConfig()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUsesAncestorConfig()); hash = (37 * hash) + ANCESTOR_FIELD_FIELD_NUMBER; hash = (53 * hash) + getAncestorField().hashCode(); hash = (37 * hash) + REVERTING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReverting()); - hash = (29 * hash) + unknownFields.hashCode(); + 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 @@ -744,59 +536,49 @@ 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getIndexesFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); if (indexesBuilder_ == null) { indexes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + indexes_ = null; indexesBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); usesAncestorConfig_ = false; ancestorField_ = ""; @@ -807,9 +589,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FieldProto - .internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; } @java.lang.Override @@ -828,8 +610,7 @@ 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); int from_bitField0_ = bitField0_; if (indexesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -851,41 +632,38 @@ public com.google.firestore.admin.v1.Field.IndexConfig 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -893,8 +671,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.Field.IndexConfig other) { - if (other == com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()) return this; if (indexesBuilder_ == null) { if (!other.indexes_.isEmpty()) { if (indexes_.isEmpty()) { @@ -913,10 +690,9 @@ public Builder mergeFrom(com.google.firestore.admin.v1.Field.IndexConfig other) indexesBuilder_ = null; indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000001); - indexesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIndexesFieldBuilder() - : null; + indexesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIndexesFieldBuilder() : null; } else { indexesBuilder_.addAllMessages(other.indexes_); } @@ -932,7 +708,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.Field.IndexConfig other) if (other.getReverting() != false) { setReverting(other.getReverting()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -947,42 +723,75 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.Field.IndexConfig parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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(); + + break; + } // case 16 + case 26: { + ancestorField_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 32: { + reverting_ = input.readBool(); + + 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) { - parsedMessage = - (com.google.firestore.admin.v1.Field.IndexConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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.
        * 
@@ -997,8 +806,6 @@ public java.util.List getIndexesList() { } } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1013,8 +820,6 @@ public int getIndexesCount() { } } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1029,15 +834,14 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { } } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder setIndexes(int index, com.google.firestore.admin.v1.Index value) { + public Builder setIndexes( + int index, com.google.firestore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1051,8 +855,6 @@ public Builder setIndexes(int index, com.google.firestore.admin.v1.Index value) return this; } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1071,8 +873,6 @@ public Builder setIndexes( return this; } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1093,15 +893,14 @@ public Builder addIndexes(com.google.firestore.admin.v1.Index value) { return this; } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder addIndexes(int index, com.google.firestore.admin.v1.Index value) { + public Builder addIndexes( + int index, com.google.firestore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1115,15 +914,14 @@ public Builder addIndexes(int index, com.google.firestore.admin.v1.Index value) return this; } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder addIndexes(com.google.firestore.admin.v1.Index.Builder builderForValue) { + public Builder addIndexes( + com.google.firestore.admin.v1.Index.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(builderForValue.build()); @@ -1134,8 +932,6 @@ public Builder addIndexes(com.google.firestore.admin.v1.Index.Builder builderFor return this; } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1154,8 +950,6 @@ public Builder addIndexes( return this; } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1166,7 +960,8 @@ public Builder addAllIndexes( java.lang.Iterable values) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, indexes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, indexes_); onChanged(); } else { indexesBuilder_.addAllMessages(values); @@ -1174,8 +969,6 @@ public Builder addAllIndexes( return this; } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1193,8 +986,6 @@ public Builder clearIndexes() { return this; } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1212,44 +1003,39 @@ public Builder removeIndexes(int index) { return this; } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.Index.Builder getIndexesBuilder(int index) { + public com.google.firestore.admin.v1.Index.Builder getIndexesBuilder( + int index) { return getIndexesFieldBuilder().getBuilder(index); } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { + public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( + int index) { if (indexesBuilder_ == null) { - return indexes_.get(index); - } else { + return indexes_.get(index); } else { return indexesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public java.util.List - getIndexesOrBuilderList() { + public java.util.List + getIndexesOrBuilderList() { if (indexesBuilder_ != null) { return indexesBuilder_.getMessageOrBuilderList(); } else { @@ -1257,8 +1043,6 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int inde } } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1266,56 +1050,49 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int inde * repeated .google.firestore.admin.v1.Index indexes = 1; */ public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder() { - return getIndexesFieldBuilder() - .addBuilder(com.google.firestore.admin.v1.Index.getDefaultInstance()); + return getIndexesFieldBuilder().addBuilder( + com.google.firestore.admin.v1.Index.getDefaultInstance()); } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder(int index) { - return getIndexesFieldBuilder() - .addBuilder(index, com.google.firestore.admin.v1.Index.getDefaultInstance()); + public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder( + int index) { + return getIndexesFieldBuilder().addBuilder( + index, com.google.firestore.admin.v1.Index.getDefaultInstance()); } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public java.util.List getIndexesBuilderList() { + public java.util.List + getIndexesBuilderList() { return getIndexesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder> + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> getIndexesFieldBuilder() { if (indexesBuilder_ == null) { - indexesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder>( - indexes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + indexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder>( + indexes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); indexes_ = null; } return indexesBuilder_; } - private boolean usesAncestorConfig_; + private boolean usesAncestorConfig_ ; /** - * - * *
        * Output only. When true, the `Field`'s index configuration is set from the
        * configuration specified by the `ancestor_field`.
@@ -1323,7 +1100,6 @@ public java.util.List getIndexesBui
        * 
* * bool uses_ancestor_config = 2; - * * @return The usesAncestorConfig. */ @java.lang.Override @@ -1331,8 +1107,6 @@ public boolean getUsesAncestorConfig() { return usesAncestorConfig_; } /** - * - * *
        * Output only. When true, the `Field`'s index configuration is set from the
        * configuration specified by the `ancestor_field`.
@@ -1340,19 +1114,16 @@ public boolean getUsesAncestorConfig() {
        * 
* * bool uses_ancestor_config = 2; - * * @param value The usesAncestorConfig to set. * @return This builder for chaining. */ public Builder setUsesAncestorConfig(boolean value) { - + usesAncestorConfig_ = value; onChanged(); return this; } /** - * - * *
        * Output only. When true, the `Field`'s index configuration is set from the
        * configuration specified by the `ancestor_field`.
@@ -1360,11 +1131,10 @@ public Builder setUsesAncestorConfig(boolean value) {
        * 
* * bool uses_ancestor_config = 2; - * * @return This builder for chaining. */ public Builder clearUsesAncestorConfig() { - + usesAncestorConfig_ = false; onChanged(); return this; @@ -1372,8 +1142,6 @@ public Builder clearUsesAncestorConfig() { private java.lang.Object ancestorField_ = ""; /** - * - * *
        * Output only. Specifies the resource name of the `Field` from which this field's
        * index configuration is set (when `uses_ancestor_config` is true),
@@ -1382,13 +1150,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; @@ -1397,8 +1165,6 @@ public java.lang.String getAncestorField() { } } /** - * - * *
        * Output only. Specifies the resource name of the `Field` from which this field's
        * index configuration is set (when `uses_ancestor_config` is true),
@@ -1407,14 +1173,15 @@ public java.lang.String getAncestorField() {
        * 
* * string ancestor_field = 3; - * * @return The bytes for ancestorField. */ - public com.google.protobuf.ByteString getAncestorFieldBytes() { + public com.google.protobuf.ByteString + getAncestorFieldBytes() { java.lang.Object ref = ancestorField_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ancestorField_ = b; return b; } else { @@ -1422,8 +1189,6 @@ public com.google.protobuf.ByteString getAncestorFieldBytes() { } } /** - * - * *
        * Output only. Specifies the resource name of the `Field` from which this field's
        * index configuration is set (when `uses_ancestor_config` is true),
@@ -1432,22 +1197,20 @@ public com.google.protobuf.ByteString getAncestorFieldBytes() {
        * 
* * string ancestor_field = 3; - * * @param value The ancestorField to set. * @return This builder for chaining. */ - public Builder setAncestorField(java.lang.String value) { + public Builder setAncestorField( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ancestorField_ = value; 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),
@@ -1456,18 +1219,15 @@ public Builder setAncestorField(java.lang.String value) {
        * 
* * string ancestor_field = 3; - * * @return This builder for chaining. */ public Builder clearAncestorField() { - + ancestorField_ = getDefaultInstance().getAncestorField(); 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),
@@ -1476,25 +1236,23 @@ 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) { + public Builder setAncestorFieldBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ancestorField_ = value; onChanged(); return this; } - private boolean reverting_; + private boolean reverting_ ; /** - * - * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1504,7 +1262,6 @@ public Builder setAncestorFieldBytes(com.google.protobuf.ByteString value) {
        * 
* * bool reverting = 4; - * * @return The reverting. */ @java.lang.Override @@ -1512,8 +1269,6 @@ public boolean getReverting() { return reverting_; } /** - * - * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1523,19 +1278,16 @@ public boolean getReverting() {
        * 
* * bool reverting = 4; - * * @param value The reverting to set. * @return This builder for chaining. */ public Builder setReverting(boolean value) { - + reverting_ = value; onChanged(); return this; } /** - * - * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1545,16 +1297,14 @@ public Builder setReverting(boolean value) {
        * 
* * bool reverting = 4; - * * @return This builder for chaining. */ public Builder clearReverting() { - + reverting_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1567,12 +1317,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(); } @@ -1581,16 +1331,27 @@ public static com.google.firestore.admin.v1.Field.IndexConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndexConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IndexConfig(input, extensionRegistry); - } - }; + 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; @@ -1605,45 +1366,33 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Field.IndexConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TtlConfigOrBuilder - extends + public interface TtlConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Field.TtlConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. The state of the TTL configuration.
      * 
* - * - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * Output only. The state of the TTL configuration.
      * 
* - * - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.firestore.admin.v1.Field.TtlConfig.State getState(); } /** - * - * *
    * The TTL (time-to-live) configuration for documents that have this `Field`
    * set.
@@ -1654,105 +1403,54 @@ public interface TtlConfigOrBuilder
    *
    * Protobuf type {@code google.firestore.admin.v1.Field.TtlConfig}
    */
-  public static final class TtlConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class TtlConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Field.TtlConfig)
       TtlConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use TtlConfig.newBuilder() to construct.
     private TtlConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private TtlConfig() {
       state_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new TtlConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    private TtlConfig(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      this();
-      if (extensionRegistry == null) {
-        throw new java.lang.NullPointerException();
-      }
-      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-          com.google.protobuf.UnknownFieldSet.newBuilder();
-      try {
-        boolean done = false;
-        while (!done) {
-          int tag = input.readTag();
-          switch (tag) {
-            case 0:
-              done = true;
-              break;
-            case 8:
-              {
-                int rawValue = input.readEnum();
-
-                state_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
-              }
-          }
-        }
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(this);
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-      } finally {
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-
-    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.
        * 
@@ -1761,8 +1459,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
        * The TTL is being applied. There is an active long-running operation to
        * track the change. Newly written documents will have TTLs applied as
@@ -1775,8 +1471,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       CREATING(1),
       /**
-       *
-       *
        * 
        * The TTL is active for all documents.
        * 
@@ -1785,8 +1479,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(2), /** - * - * *
        * The TTL configuration could not be enabled for all existing documents.
        * Newly written documents will continue to have their TTL applied.
@@ -1801,8 +1493,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * The state is unspecified or unknown.
        * 
@@ -1811,8 +1501,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The TTL is being applied. There is an active long-running operation to
        * track the change. Newly written documents will have TTLs applied as
@@ -1825,8 +1513,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int CREATING_VALUE = 1;
       /**
-       *
-       *
        * 
        * The TTL is active for all documents.
        * 
@@ -1835,8 +1521,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 2; /** - * - * *
        * The TTL configuration could not be enabled for all existing documents.
        * Newly written documents will continue to have their TTL applied.
@@ -1848,6 +1532,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NEEDS_REPAIR_VALUE = 3;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1872,51 +1557,50 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0:
-            return STATE_UNSPECIFIED;
-          case 1:
-            return CREATING;
-          case 2:
-            return ACTIVE;
-          case 3:
-            return NEEDS_REPAIR;
-          default:
-            return null;
+          case 0: return STATE_UNSPECIFIED;
+          case 1: return CREATING;
+          case 2: return ACTIVE;
+          case 3: return NEEDS_REPAIR;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
-      }
-
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
+      }
+      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() {
+      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;
@@ -1936,47 +1620,31 @@ private State(int value) {
     public static final int STATE_FIELD_NUMBER = 1;
     private int 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 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() { + @java.lang.Override public com.google.firestore.admin.v1.Field.TtlConfig.State getState() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Field.TtlConfig.State result = - com.google.firestore.admin.v1.Field.TtlConfig.State.valueOf(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.valueOf(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; @@ -1988,12 +1656,12 @@ 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_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -2002,11 +1670,11 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -2014,16 +1682,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2036,99 +1703,93 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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 @@ -2138,8 +1799,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The TTL (time-to-live) configuration for documents that have this `Field`
      * set.
@@ -2150,40 +1809,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() {
-        maybeForceBuilderInitialization();
+
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-        maybeForceBuilderInitialization();
-      }
 
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2193,9 +1845,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
@@ -2214,8 +1866,7 @@ 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);
+        com.google.firestore.admin.v1.Field.TtlConfig result = new com.google.firestore.admin.v1.Field.TtlConfig(this);
         result.state_ = state_;
         onBuilt();
         return result;
@@ -2225,41 +1876,38 @@ public com.google.firestore.admin.v1.Field.TtlConfig 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) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.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;
@@ -2267,12 +1915,11 @@ 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());
         }
-        this.mergeUnknownFields(other.unknownFields);
+        this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
         return this;
       }
@@ -2287,91 +1934,85 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.firestore.admin.v1.Field.TtlConfig parsedMessage = null;
+        if (extensionRegistry == null) {
+          throw new java.lang.NullPointerException();
+        }
         try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+          boolean done = false;
+          while (!done) {
+            int tag = input.readTag();
+            switch (tag) {
+              case 0:
+                done = true;
+                break;
+              case 8: {
+                state_ = input.readEnum();
+
+                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) {
-          parsedMessage = (com.google.firestore.admin.v1.Field.TtlConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
+          onChanged();
+        } // finally
         return this;
       }
 
       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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Field.TtlConfig.State result = - com.google.firestore.admin.v1.Field.TtlConfig.State.valueOf(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.valueOf(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. */ @@ -2379,31 +2020,25 @@ public Builder setState(com.google.firestore.admin.v1.Field.TtlConfig.State valu if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2416,12 +2051,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(); } @@ -2430,16 +2065,27 @@ public static com.google.firestore.admin.v1.Field.TtlConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TtlConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TtlConfig(input, extensionRegistry); - } - }; + 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; @@ -2454,13 +2100,12 @@ 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; 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}`
@@ -2487,7 +2132,6 @@ public com.google.firestore.admin.v1.Field.TtlConfig getDefaultInstanceForType()
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -2496,15 +2140,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. A field name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -2531,15 +2174,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2550,8 +2194,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INDEX_CONFIG_FIELD_NUMBER = 2; private com.google.firestore.admin.v1.Field.IndexConfig indexConfig_; /** - * - * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -2560,7 +2202,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; - * * @return Whether the indexConfig field is set. */ @java.lang.Override @@ -2568,8 +2209,6 @@ public boolean hasIndexConfig() { return indexConfig_ != null; } /** - * - * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -2578,18 +2217,13 @@ public boolean hasIndexConfig() {
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; - * * @return The indexConfig. */ @java.lang.Override public com.google.firestore.admin.v1.Field.IndexConfig getIndexConfig() { - return indexConfig_ == null - ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() - : indexConfig_; + return indexConfig_ == null ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() : indexConfig_; } /** - * - * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -2607,8 +2241,6 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
   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
@@ -2616,7 +2248,6 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; - * * @return Whether the ttlConfig field is set. */ @java.lang.Override @@ -2624,8 +2255,6 @@ public boolean hasTtlConfig() { return ttlConfig_ != null; } /** - * - * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -2633,18 +2262,13 @@ public boolean hasTtlConfig() {
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; - * * @return The ttlConfig. */ @java.lang.Override public com.google.firestore.admin.v1.Field.TtlConfig getTtlConfig() { - return ttlConfig_ == null - ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() - : ttlConfig_; + return ttlConfig_ == null ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() : ttlConfig_; } /** - * - * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -2659,7 +2283,6 @@ public com.google.firestore.admin.v1.Field.TtlConfigOrBuilder getTtlConfigOrBuil
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2671,7 +2294,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -2681,7 +2305,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (ttlConfig_ != null) {
       output.writeMessage(3, getTtlConfig());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -2694,12 +2318,14 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -2707,23 +2333,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.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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -2744,108 +2373,102 @@ public int hashCode() {
       hash = (37 * hash) + TTL_CONFIG_FIELD_NUMBER;
       hash = (53 * hash) + getTtlConfig().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     return hash;
   }
 
-  public static com.google.firestore.admin.v1.Field parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.admin.v1.Field parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.admin.v1.Field parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.firestore.admin.v1.Field parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.admin.v1.Field parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.admin.v1.Field parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.admin.v1.Field prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Represents a single field in the database.
    * Fields are grouped by their "Collection Group", which represent all
@@ -2854,39 +2477,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.Field}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Field)
       com.google.firestore.admin.v1.FieldOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.FieldProto
-          .internal_static_google_firestore_admin_v1_Field_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.FieldProto
-          .internal_static_google_firestore_admin_v1_Field_fieldAccessorTable
+      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Field.class,
-              com.google.firestore.admin.v1.Field.Builder.class);
+              com.google.firestore.admin.v1.Field.class, com.google.firestore.admin.v1.Field.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.Field.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2908,9 +2525,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
@@ -2949,39 +2566,38 @@ public com.google.firestore.admin.v1.Field 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.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;
@@ -3000,7 +2616,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.Field other) {
       if (other.hasTtlConfig()) {
         mergeTtlConfig(other.getTtlConfig());
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -3015,24 +2631,54 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.admin.v1.Field parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getIndexConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getTtlConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
-        parsedMessage = (com.google.firestore.admin.v1.Field) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // finally
       return this;
     }
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -3059,13 +2705,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; @@ -3074,8 +2720,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -3102,14 +2746,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3117,8 +2762,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -3145,22 +2788,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -3187,18 +2828,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -3225,16 +2863,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3242,13 +2880,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.firestore.admin.v1.Field.IndexConfig indexConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Field.IndexConfig, - com.google.firestore.admin.v1.Field.IndexConfig.Builder, - com.google.firestore.admin.v1.Field.IndexConfigOrBuilder> - indexConfigBuilder_; + com.google.firestore.admin.v1.Field.IndexConfig, com.google.firestore.admin.v1.Field.IndexConfig.Builder, com.google.firestore.admin.v1.Field.IndexConfigOrBuilder> indexConfigBuilder_; /** - * - * *
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3257,15 +2890,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; - * * @return Whether the indexConfig field is set. */ public boolean hasIndexConfig() { return indexConfigBuilder_ != null || indexConfig_ != null; } /** - * - * *
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3274,21 +2904,16 @@ public boolean hasIndexConfig() {
      * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; - * * @return The indexConfig. */ public com.google.firestore.admin.v1.Field.IndexConfig getIndexConfig() { if (indexConfigBuilder_ == null) { - return indexConfig_ == null - ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() - : indexConfig_; + return indexConfig_ == null ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() : indexConfig_; } else { return indexConfigBuilder_.getMessage(); } } /** - * - * *
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3312,8 +2937,6 @@ public Builder setIndexConfig(com.google.firestore.admin.v1.Field.IndexConfig va
       return this;
     }
     /**
-     *
-     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3335,8 +2958,6 @@ public Builder setIndexConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3350,9 +2971,7 @@ public Builder mergeIndexConfig(com.google.firestore.admin.v1.Field.IndexConfig
       if (indexConfigBuilder_ == null) {
         if (indexConfig_ != null) {
           indexConfig_ =
-              com.google.firestore.admin.v1.Field.IndexConfig.newBuilder(indexConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.admin.v1.Field.IndexConfig.newBuilder(indexConfig_).mergeFrom(value).buildPartial();
         } else {
           indexConfig_ = value;
         }
@@ -3364,8 +2983,6 @@ public Builder mergeIndexConfig(com.google.firestore.admin.v1.Field.IndexConfig
       return this;
     }
     /**
-     *
-     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3387,8 +3004,6 @@ public Builder clearIndexConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3399,13 +3014,11 @@ public Builder clearIndexConfig() {
      * .google.firestore.admin.v1.Field.IndexConfig index_config = 2;
      */
     public com.google.firestore.admin.v1.Field.IndexConfig.Builder getIndexConfigBuilder() {
-
+      
       onChanged();
       return getIndexConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3419,14 +3032,11 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
       if (indexConfigBuilder_ != null) {
         return indexConfigBuilder_.getMessageOrBuilder();
       } else {
-        return indexConfig_ == null
-            ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()
-            : indexConfig_;
+        return indexConfig_ == null ?
+            com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() : indexConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3437,17 +3047,14 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
      * .google.firestore.admin.v1.Field.IndexConfig index_config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.admin.v1.Field.IndexConfig,
-            com.google.firestore.admin.v1.Field.IndexConfig.Builder,
-            com.google.firestore.admin.v1.Field.IndexConfigOrBuilder>
+        com.google.firestore.admin.v1.Field.IndexConfig, com.google.firestore.admin.v1.Field.IndexConfig.Builder, com.google.firestore.admin.v1.Field.IndexConfigOrBuilder> 
         getIndexConfigFieldBuilder() {
       if (indexConfigBuilder_ == null) {
-        indexConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.admin.v1.Field.IndexConfig,
-                com.google.firestore.admin.v1.Field.IndexConfig.Builder,
-                com.google.firestore.admin.v1.Field.IndexConfigOrBuilder>(
-                getIndexConfig(), getParentForChildren(), isClean());
+        indexConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.admin.v1.Field.IndexConfig, com.google.firestore.admin.v1.Field.IndexConfig.Builder, com.google.firestore.admin.v1.Field.IndexConfigOrBuilder>(
+                getIndexConfig(),
+                getParentForChildren(),
+                isClean());
         indexConfig_ = null;
       }
       return indexConfigBuilder_;
@@ -3455,13 +3062,8 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
 
     private com.google.firestore.admin.v1.Field.TtlConfig ttlConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.admin.v1.Field.TtlConfig,
-            com.google.firestore.admin.v1.Field.TtlConfig.Builder,
-            com.google.firestore.admin.v1.Field.TtlConfigOrBuilder>
-        ttlConfigBuilder_;
+        com.google.firestore.admin.v1.Field.TtlConfig, com.google.firestore.admin.v1.Field.TtlConfig.Builder, com.google.firestore.admin.v1.Field.TtlConfigOrBuilder> ttlConfigBuilder_;
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3469,15 +3071,12 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
      * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; - * * @return Whether the ttlConfig field is set. */ public boolean hasTtlConfig() { return ttlConfigBuilder_ != null || ttlConfig_ != null; } /** - * - * *
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3485,21 +3084,16 @@ public boolean hasTtlConfig() {
      * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; - * * @return The ttlConfig. */ public com.google.firestore.admin.v1.Field.TtlConfig getTtlConfig() { if (ttlConfigBuilder_ == null) { - return ttlConfig_ == null - ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() - : ttlConfig_; + return ttlConfig_ == null ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() : ttlConfig_; } else { return ttlConfigBuilder_.getMessage(); } } /** - * - * *
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3522,8 +3116,6 @@ public Builder setTtlConfig(com.google.firestore.admin.v1.Field.TtlConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3544,8 +3136,6 @@ public Builder setTtlConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3558,9 +3148,7 @@ public Builder mergeTtlConfig(com.google.firestore.admin.v1.Field.TtlConfig valu
       if (ttlConfigBuilder_ == null) {
         if (ttlConfig_ != null) {
           ttlConfig_ =
-              com.google.firestore.admin.v1.Field.TtlConfig.newBuilder(ttlConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.admin.v1.Field.TtlConfig.newBuilder(ttlConfig_).mergeFrom(value).buildPartial();
         } else {
           ttlConfig_ = value;
         }
@@ -3572,8 +3160,6 @@ public Builder mergeTtlConfig(com.google.firestore.admin.v1.Field.TtlConfig valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3594,8 +3180,6 @@ public Builder clearTtlConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3605,13 +3189,11 @@ public Builder clearTtlConfig() {
      * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3;
      */
     public com.google.firestore.admin.v1.Field.TtlConfig.Builder getTtlConfigBuilder() {
-
+      
       onChanged();
       return getTtlConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3624,14 +3206,11 @@ public com.google.firestore.admin.v1.Field.TtlConfigOrBuilder getTtlConfigOrBuil
       if (ttlConfigBuilder_ != null) {
         return ttlConfigBuilder_.getMessageOrBuilder();
       } else {
-        return ttlConfig_ == null
-            ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance()
-            : ttlConfig_;
+        return ttlConfig_ == null ?
+            com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() : ttlConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3641,24 +3220,21 @@ public com.google.firestore.admin.v1.Field.TtlConfigOrBuilder getTtlConfigOrBuil
      * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.admin.v1.Field.TtlConfig,
-            com.google.firestore.admin.v1.Field.TtlConfig.Builder,
-            com.google.firestore.admin.v1.Field.TtlConfigOrBuilder>
+        com.google.firestore.admin.v1.Field.TtlConfig, com.google.firestore.admin.v1.Field.TtlConfig.Builder, com.google.firestore.admin.v1.Field.TtlConfigOrBuilder> 
         getTtlConfigFieldBuilder() {
       if (ttlConfigBuilder_ == null) {
-        ttlConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.admin.v1.Field.TtlConfig,
-                com.google.firestore.admin.v1.Field.TtlConfig.Builder,
-                com.google.firestore.admin.v1.Field.TtlConfigOrBuilder>(
-                getTtlConfig(), getParentForChildren(), isClean());
+        ttlConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.admin.v1.Field.TtlConfig, com.google.firestore.admin.v1.Field.TtlConfig.Builder, com.google.firestore.admin.v1.Field.TtlConfigOrBuilder>(
+                getTtlConfig(),
+                getParentForChildren(),
+                isClean());
         ttlConfig_ = null;
       }
       return ttlConfigBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3668,12 +3244,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();
   }
@@ -3682,16 +3258,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 {
-          return new Field(input, extensionRegistry);
-        }
-      };
+  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;
@@ -3706,4 +3293,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.admin.v1.Field getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
similarity index 64%
rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
index bad3d033d0..79f03d99a7 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/admin/v1/operation.proto
 
 package com.google.firestore.admin.v1;
 
 /**
- *
- *
  * 
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata}
  */
-public final class FieldOperationMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FieldOperationMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.FieldOperationMetadata)
     FieldOperationMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FieldOperationMetadata.newBuilder() to construct.
   private FieldOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private FieldOperationMetadata() {
     field_ = "";
     indexConfigDeltas_ = java.util.Collections.emptyList();
@@ -46,244 +28,71 @@ private FieldOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FieldOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private FieldOperationMetadata(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    int mutable_bitField0_ = 0;
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
-              }
-              endTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              field_ = s;
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                indexConfigDeltas_ =
-                    new java.util.ArrayList<
-                        com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              indexConfigDeltas_.add(
-                  input.readMessage(
-                      com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta
-                          .parser(),
-                      extensionRegistry));
-              break;
-            }
-          case 40:
-            {
-              int rawValue = input.readEnum();
-
-              state_ = rawValue;
-              break;
-            }
-          case 50:
-            {
-              com.google.firestore.admin.v1.Progress.Builder subBuilder = null;
-              if (progressDocuments_ != null) {
-                subBuilder = progressDocuments_.toBuilder();
-              }
-              progressDocuments_ =
-                  input.readMessage(
-                      com.google.firestore.admin.v1.Progress.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(progressDocuments_);
-                progressDocuments_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 58:
-            {
-              com.google.firestore.admin.v1.Progress.Builder subBuilder = null;
-              if (progressBytes_ != null) {
-                subBuilder = progressBytes_.toBuilder();
-              }
-              progressBytes_ =
-                  input.readMessage(
-                      com.google.firestore.admin.v1.Progress.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(progressBytes_);
-                progressBytes_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 66:
-            {
-              com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder
-                  subBuilder = null;
-              if (ttlConfigDelta_ != null) {
-                subBuilder = ttlConfigDelta_.toBuilder();
-              }
-              ttlConfigDelta_ =
-                  input.readMessage(
-                      com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(ttlConfigDelta_);
-                ttlConfigDelta_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        indexConfigDeltas_ = java.util.Collections.unmodifiableList(indexConfigDeltas_);
-      }
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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.
      * 
@@ -293,130 +102,60 @@ public interface IndexConfigDeltaOrBuilder com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder(); } /** - * - * *
    * Information about an index configuration change.
    * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta} */ - public static final class IndexConfigDelta extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IndexConfigDelta extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) IndexConfigDeltaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IndexConfigDelta.newBuilder() to construct. private IndexConfigDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IndexConfigDelta() { changeType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IndexConfigDelta(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private IndexConfigDelta( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - int rawValue = input.readEnum(); - - changeType_ = rawValue; - break; - } - case 18: - { - com.google.firestore.admin.v1.Index.Builder subBuilder = null; - if (index_ != null) { - subBuilder = index_.toBuilder(); - } - index_ = - input.readMessage( - com.google.firestore.admin.v1.Index.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(index_); - index_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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.
        * 
@@ -425,8 +164,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ CHANGE_TYPE_UNSPECIFIED(0), /** - * - * *
        * The single field index is being added.
        * 
@@ -435,8 +172,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ ADD(1), /** - * - * *
        * The single field index is being removed.
        * 
@@ -448,8 +183,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The type of change is not specified or known.
        * 
@@ -458,8 +191,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The single field index is being added.
        * 
@@ -468,8 +199,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADD_VALUE = 1; /** - * - * *
        * The single field index is being removed.
        * 
@@ -478,6 +207,7 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REMOVE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -502,51 +232,49 @@ public static ChangeType valueOf(int value) { */ public static ChangeType forNumber(int value) { switch (value) { - case 0: - return CHANGE_TYPE_UNSPECIFIED; - case 1: - return ADD; - case 2: - return REMOVE; - default: - return null; + case 0: return CHANGE_TYPE_UNSPECIFIED; + case 1: return ADD; + case 2: return REMOVE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ChangeType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChangeType findValueByNumber(int number) { + return ChangeType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeType findValueByNumber(int number) { - return ChangeType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDescriptor().getEnumTypes().get(0); } private static final ChangeType[] VALUES = values(); - public static ChangeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ChangeType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -566,59 +294,38 @@ private ChangeType(int value) { public static final int CHANGE_TYPE_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType getChangeType() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.valueOf( - changeType_); - return result == null - ? com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType - .UNRECOGNIZED - : result; + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.valueOf(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 @@ -626,14 +333,11 @@ public boolean hasIndex() { return index_ != null; } /** - * - * *
      * The index being changed.
      * 
* * .google.firestore.admin.v1.Index index = 2; - * * @return The index. */ @java.lang.Override @@ -641,8 +345,6 @@ public com.google.firestore.admin.v1.Index getIndex() { return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; } /** - * - * *
      * The index being changed.
      * 
@@ -655,7 +357,6 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -667,17 +368,15 @@ 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) { output.writeMessage(2, getIndex()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -686,16 +385,15 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -703,20 +401,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -733,101 +431,93 @@ public int hashCode() { hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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 @@ -837,50 +527,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Information about an index configuration change.
      * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.class, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - .class); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.class, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder.class); } - // Construct using - // com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.newBuilder() + // Construct using com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.newBuilder() private Builder() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -896,22 +575,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; } @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - getDefaultInstanceForType() { - return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - .getDefaultInstance(); + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getDefaultInstanceForType() { + return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDefaultInstance(); } @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta build() { - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result = - buildPartial(); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -920,8 +596,7 @@ 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); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result = new com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta(this); result.changeType_ = changeType_; if (indexBuilder_ == null) { result.index_ = index_; @@ -936,61 +611,53 @@ public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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()); } if (other.hasIndex()) { mergeIndex(other.getIndex()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -1005,124 +672,114 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + changeType_ = input.readEnum(); + + break; + } // case 8 + case 18: { + input.readMessage( + getIndexFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = - (com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) - e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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. */ public Builder setChangeTypeValue(int value) { - + changeType_ = value; onChanged(); 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() { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType getChangeType() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType - .valueOf(changeType_); - return result == null - ? com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType - .UNRECOGNIZED - : result; + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.valueOf(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(); } - + changeType_ = value.getNumber(); onChanged(); 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() { - + changeType_ = 0; onChanged(); return this; @@ -1130,33 +787,24 @@ public Builder clearChangeType() { private com.google.firestore.admin.v1.Index index_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder> - indexBuilder_; + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> indexBuilder_; /** - * - * *
        * The index being changed.
        * 
* * .google.firestore.admin.v1.Index index = 2; - * * @return Whether the index field is set. */ public boolean hasIndex() { return indexBuilder_ != null || index_ != null; } /** - * - * *
        * The index being changed.
        * 
* * .google.firestore.admin.v1.Index index = 2; - * * @return The index. */ public com.google.firestore.admin.v1.Index getIndex() { @@ -1167,8 +815,6 @@ public com.google.firestore.admin.v1.Index getIndex() { } } /** - * - * *
        * The index being changed.
        * 
@@ -1189,15 +835,14 @@ public Builder setIndex(com.google.firestore.admin.v1.Index value) { return this; } /** - * - * *
        * The index being changed.
        * 
* * .google.firestore.admin.v1.Index index = 2; */ - public Builder setIndex(com.google.firestore.admin.v1.Index.Builder builderForValue) { + public Builder setIndex( + com.google.firestore.admin.v1.Index.Builder builderForValue) { if (indexBuilder_ == null) { index_ = builderForValue.build(); onChanged(); @@ -1208,8 +853,6 @@ public Builder setIndex(com.google.firestore.admin.v1.Index.Builder builderForVa return this; } /** - * - * *
        * The index being changed.
        * 
@@ -1220,9 +863,7 @@ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { if (indexBuilder_ == null) { if (index_ != null) { index_ = - com.google.firestore.admin.v1.Index.newBuilder(index_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.admin.v1.Index.newBuilder(index_).mergeFrom(value).buildPartial(); } else { index_ = value; } @@ -1234,8 +875,6 @@ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { return this; } /** - * - * *
        * The index being changed.
        * 
@@ -1254,8 +893,6 @@ public Builder clearIndex() { return this; } /** - * - * *
        * The index being changed.
        * 
@@ -1263,13 +900,11 @@ public Builder clearIndex() { * .google.firestore.admin.v1.Index index = 2; */ public com.google.firestore.admin.v1.Index.Builder getIndexBuilder() { - + onChanged(); return getIndexFieldBuilder().getBuilder(); } /** - * - * *
        * The index being changed.
        * 
@@ -1280,12 +915,11 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { if (indexBuilder_ != null) { return indexBuilder_.getMessageOrBuilder(); } else { - return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; + return index_ == null ? + com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; } } /** - * - * *
        * The index being changed.
        * 
@@ -1293,22 +927,18 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { * .google.firestore.admin.v1.Index index = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder> + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> getIndexFieldBuilder() { if (indexBuilder_ == null) { - indexBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder>( - getIndex(), getParentForChildren(), isClean()); + indexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder>( + getIndex(), + getParentForChildren(), + isClean()); index_ = null; } return indexBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1321,33 +951,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) - private static final com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - DEFAULT_INSTANCE; - + private static final com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta(); + DEFAULT_INSTANCE = new com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta(); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - getDefaultInstance() { + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndexConfigDelta parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IndexConfigDelta(input, extensionRegistry); - } - }; + 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; @@ -1359,155 +997,90 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - getDefaultInstanceForType() { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TtlConfigDeltaOrBuilder - extends + public interface TtlConfigDeltaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Specifies how the TTL configuration is changing.
      * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; * @return The enum numeric value on the wire for changeType. */ int getChangeTypeValue(); /** - * - * *
      * Specifies how the TTL configuration is changing.
      * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; * @return The changeType. */ com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType getChangeType(); } /** - * - * *
    * Information about an TTL configuration change.
    * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta} */ - public static final class TtlConfigDelta extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TtlConfigDelta extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) TtlConfigDeltaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TtlConfigDelta.newBuilder() to construct. private TtlConfigDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TtlConfigDelta() { changeType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TtlConfigDelta(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private TtlConfigDelta( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - int rawValue = input.readEnum(); - - changeType_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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.
        * 
@@ -1516,8 +1089,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ CHANGE_TYPE_UNSPECIFIED(0), /** - * - * *
        * The TTL config is being added.
        * 
@@ -1526,8 +1097,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ ADD(1), /** - * - * *
        * The TTL config is being removed.
        * 
@@ -1539,8 +1108,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The type of change is not specified or known.
        * 
@@ -1549,8 +1116,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The TTL config is being added.
        * 
@@ -1559,8 +1124,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADD_VALUE = 1; /** - * - * *
        * The TTL config is being removed.
        * 
@@ -1569,6 +1132,7 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REMOVE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1593,51 +1157,49 @@ public static ChangeType valueOf(int value) { */ public static ChangeType forNumber(int value) { switch (value) { - case 0: - return CHANGE_TYPE_UNSPECIFIED; - case 1: - return ADD; - case 2: - return REMOVE; - default: - return null; + case 0: return CHANGE_TYPE_UNSPECIFIED; + case 1: return ADD; + case 2: return REMOVE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ChangeType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChangeType findValueByNumber(int number) { + return ChangeType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeType findValueByNumber(int number) { - return ChangeType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDescriptor().getEnumTypes().get(0); } private static final ChangeType[] VALUES = values(); - public static ChangeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ChangeType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1657,50 +1219,31 @@ private ChangeType(int value) { public static final int CHANGE_TYPE_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType getChangeType() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.valueOf( - changeType_); - return result == null - ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType - .UNRECOGNIZED - : result; + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.valueOf(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; @@ -1712,14 +1255,12 @@ 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_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -1728,13 +1269,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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -1742,16 +1281,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1764,101 +1302,93 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CHANGE_TYPE_FIELD_NUMBER; hash = (53 * hash) + changeType_; - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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 @@ -1868,49 +1398,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Information about an TTL configuration change.
      * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.class, - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder.class); + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.class, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder.class); } - // Construct using - // com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.newBuilder() + // Construct using com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.newBuilder() private Builder() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -1920,16 +1440,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; } @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - getDefaultInstanceForType() { - return com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - .getDefaultInstance(); + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getDefaultInstanceForType() { + return com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance(); } @java.lang.Override @@ -1943,8 +1461,7 @@ 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); + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta result = new com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta(this); result.changeType_ = changeType_; onBuilt(); return result; @@ -1954,57 +1471,50 @@ public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -2019,129 +1529,111 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + changeType_ = input.readEnum(); + + 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) { - parsedMessage = - (com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) - e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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. */ public Builder setChangeTypeValue(int value) { - + changeType_ = value; onChanged(); 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() { + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType getChangeType() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.valueOf( - changeType_); - return result == null - ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType - .UNRECOGNIZED - : result; + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.valueOf(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(); } - + changeType_ = value.getNumber(); onChanged(); 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() { - + changeType_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2154,32 +1646,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) - private static final com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - DEFAULT_INSTANCE; - + private static final com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta(); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - getDefaultInstance() { + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TtlConfigDelta parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TtlConfigDelta(input, extensionRegistry); - } - }; + 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; @@ -2191,23 +1692,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - getDefaultInstanceForType() { + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -2215,14 +1713,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -2230,8 +1725,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time this operation started.
    * 
@@ -2246,15 +1739,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -2262,15 +1752,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -2278,8 +1765,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -2295,15 +1780,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int FIELD_FIELD_NUMBER = 3;
   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 @@ -2312,30 +1794,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 { @@ -2344,141 +1826,105 @@ public com.google.protobuf.ByteString getFieldBytes() { } public static final int INDEX_CONFIG_DELTAS_FIELD_NUMBER = 4; - private java.util.List - indexConfigDeltas_; + private java.util.List indexConfigDeltas_; /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ @java.lang.Override - public java.util.List - getIndexConfigDeltasList() { + public java.util.List getIndexConfigDeltasList() { return indexConfigDeltas_; } /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ @java.lang.Override - public java.util.List< - ? extends com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> + public java.util.List getIndexConfigDeltasOrBuilderList() { return indexConfigDeltas_; } /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ @java.lang.Override public int getIndexConfigDeltasCount() { return indexConfigDeltas_.size(); } /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas( - int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas(int index) { return indexConfigDeltas_.get(index); } /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder - getIndexConfigDeltasOrBuilder(int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder getIndexConfigDeltasOrBuilder( + int index) { return indexConfigDeltas_.get(index); } public static final int STATE_FIELD_NUMBER = 5; private int state_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.firestore.admin.v1.OperationState getState() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.valueOf(state_); + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(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 @@ -2486,25 +1932,18 @@ public boolean hasProgressDocuments() { return progressDocuments_ != null; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; - * * @return The progressDocuments. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressDocuments() { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -2519,14 +1958,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui 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 @@ -2534,25 +1970,18 @@ public boolean hasProgressBytes() { return progressBytes_ != null; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; - * * @return The progressBytes. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -2567,15 +1996,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder 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 @@ -2583,41 +2008,30 @@ public boolean hasTtlConfigDelta() { return ttlConfigDelta_ != null; } /** - * - * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; * @return The ttlConfigDelta. */ @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getTtlConfigDelta() { - return ttlConfigDelta_ == null - ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() - : ttlConfigDelta_; + return ttlConfigDelta_ == null ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() : ttlConfigDelta_; } /** - * - * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder - getTtlConfigDeltaOrBuilder() { + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder getTtlConfigDeltaOrBuilder() { return getTtlConfigDelta(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2629,7 +2043,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -2642,8 +2057,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < indexConfigDeltas_.size(); i++) { output.writeMessage(4, indexConfigDeltas_.get(i)); } - if (state_ - != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(5, state_); } if (progressDocuments_ != null) { @@ -2655,7 +2069,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (ttlConfigDelta_ != null) { output.writeMessage(8, getTtlConfigDelta()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -2665,32 +2079,37 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -2698,38 +2117,44 @@ public int getSerializedSize() { @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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2768,109 +2193,102 @@ public int hashCode() { hash = (37 * hash) + TTL_CONFIG_DELTA_FIELD_NUMBER; hash = (53 * hash) + getTtlConfigDelta().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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(); - } - + 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].
@@ -2878,41 +2296,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.FieldOperationMetadata)
       com.google.firestore.admin.v1.FieldOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.FieldOperationMetadata.class,
-              com.google.firestore.admin.v1.FieldOperationMetadata.Builder.class);
+              com.google.firestore.admin.v1.FieldOperationMetadata.class, com.google.firestore.admin.v1.FieldOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.FieldOperationMetadata.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
-        getIndexConfigDeltasFieldBuilder();
-      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2932,10 +2342,11 @@ public Builder clear() {
 
       if (indexConfigDeltasBuilder_ == null) {
         indexConfigDeltas_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000001);
       } else {
+        indexConfigDeltas_ = null;
         indexConfigDeltasBuilder_.clear();
       }
+      bitField0_ = (bitField0_ & ~0x00000001);
       state_ = 0;
 
       if (progressDocumentsBuilder_ == null) {
@@ -2960,9 +2371,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
@@ -2981,8 +2392,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -3028,39 +2438,38 @@ public com.google.firestore.admin.v1.FieldOperationMetadata 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.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;
@@ -3068,8 +2477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.admin.v1.FieldOperationMetadata other) {
-      if (other == com.google.firestore.admin.v1.FieldOperationMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.admin.v1.FieldOperationMetadata.getDefaultInstance()) return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -3098,10 +2506,9 @@ public Builder mergeFrom(com.google.firestore.admin.v1.FieldOperationMetadata ot
             indexConfigDeltasBuilder_ = null;
             indexConfigDeltas_ = other.indexConfigDeltas_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            indexConfigDeltasBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getIndexConfigDeltasFieldBuilder()
-                    : null;
+            indexConfigDeltasBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getIndexConfigDeltasFieldBuilder() : null;
           } else {
             indexConfigDeltasBuilder_.addAllMessages(other.indexConfigDeltas_);
           }
@@ -3119,7 +2526,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.FieldOperationMetadata ot
       if (other.hasTtlConfigDelta()) {
         mergeTtlConfigDelta(other.getTtlConfigDelta());
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -3134,52 +2541,112 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.admin.v1.FieldOperationMetadata parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 26: {
+              field_ = input.readStringRequireUtf8();
+
+              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();
+
+              break;
+            } // case 40
+            case 50: {
+              input.readMessage(
+                  getProgressDocumentsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getProgressBytesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getTtlConfigDeltaFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
-        parsedMessage =
-            (com.google.firestore.admin.v1.FieldOperationMetadata) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // 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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -3190,8 +2657,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time this operation started.
      * 
@@ -3212,15 +2677,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -3231,8 +2695,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -3243,7 +2705,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -3255,8 +2717,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -3275,8 +2735,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -3284,13 +2742,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time this operation started.
      * 
@@ -3301,12 +2757,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time this operation started.
      * 
@@ -3314,17 +2769,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -3332,35 +2784,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * 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() { @@ -3371,8 +2814,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3394,8 +2835,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3403,7 +2842,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -3414,8 +2854,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3427,7 +2865,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -3439,8 +2877,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3460,8 +2896,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3470,13 +2904,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3488,12 +2920,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3502,17 +2933,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -3520,21 +2948,19 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private java.lang.Object field_ = "";
     /**
-     *
-     *
      * 
      * The field resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
      * 
* * string field = 3; - * * @return The field. */ public java.lang.String getField() { java.lang.Object ref = field_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; @@ -3543,22 +2969,21 @@ public java.lang.String getField() { } } /** - * - * *
      * The field resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
      * 
* * string field = 3; - * * @return The bytes for field. */ - public com.google.protobuf.ByteString getFieldBytes() { + public com.google.protobuf.ByteString + getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); field_ = b; return b; } else { @@ -3566,102 +2991,83 @@ public com.google.protobuf.ByteString getFieldBytes() { } } /** - * - * *
      * The field resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
      * 
* * string field = 3; - * * @param value The field to set. * @return This builder for chaining. */ - public Builder setField(java.lang.String value) { + public Builder setField( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + field_ = value; 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() { - + field_ = getDefaultInstance().getField(); 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; - * * @param value The bytes for field to set. * @return This builder for chaining. */ - public Builder setFieldBytes(com.google.protobuf.ByteString value) { + public Builder setFieldBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + field_ = value; onChanged(); 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_ & 0x00000001) != 0)) { - indexConfigDeltas_ = - new java.util.ArrayList< - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta>( - indexConfigDeltas_); + indexConfigDeltas_ = new java.util.ArrayList(indexConfigDeltas_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -3669,16 +3075,12 @@ private void ensureIndexConfigDeltasIsMutable() { } } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public int getIndexConfigDeltasCount() { if (indexConfigDeltasBuilder_ == null) { @@ -3688,19 +3090,14 @@ public int getIndexConfigDeltasCount() { } } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - getIndexConfigDeltas(int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas(int index) { if (indexConfigDeltasBuilder_ == null) { return indexConfigDeltas_.get(index); } else { @@ -3708,16 +3105,12 @@ public int getIndexConfigDeltasCount() { } } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder setIndexConfigDeltas( int index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta value) { @@ -3734,21 +3127,15 @@ public Builder setIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder setIndexConfigDeltas( - int index, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - builderForValue) { + int index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder builderForValue) { if (indexConfigDeltasBuilder_ == null) { ensureIndexConfigDeltasIsMutable(); indexConfigDeltas_.set(index, builderForValue.build()); @@ -3759,19 +3146,14 @@ public Builder setIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public Builder addIndexConfigDeltas( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta value) { + public Builder addIndexConfigDeltas(com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta value) { if (indexConfigDeltasBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3785,16 +3167,12 @@ public Builder addIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder addIndexConfigDeltas( int index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta value) { @@ -3811,20 +3189,15 @@ public Builder addIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder addIndexConfigDeltas( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - builderForValue) { + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder builderForValue) { if (indexConfigDeltasBuilder_ == null) { ensureIndexConfigDeltasIsMutable(); indexConfigDeltas_.add(builderForValue.build()); @@ -3835,21 +3208,15 @@ public Builder addIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder addIndexConfigDeltas( - int index, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - builderForValue) { + int index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder builderForValue) { if (indexConfigDeltasBuilder_ == null) { ensureIndexConfigDeltasIsMutable(); indexConfigDeltas_.add(index, builderForValue.build()); @@ -3860,24 +3227,19 @@ public Builder addIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder addAllIndexConfigDeltas( - java.lang.Iterable< - ? extends com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta> - values) { + java.lang.Iterable values) { if (indexConfigDeltasBuilder_ == null) { ensureIndexConfigDeltasIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, indexConfigDeltas_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, indexConfigDeltas_); onChanged(); } else { indexConfigDeltasBuilder_.addAllMessages(values); @@ -3885,16 +3247,12 @@ public Builder addAllIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder clearIndexConfigDeltas() { if (indexConfigDeltasBuilder_ == null) { @@ -3907,16 +3265,12 @@ public Builder clearIndexConfigDeltas() { return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder removeIndexConfigDeltas(int index) { if (indexConfigDeltasBuilder_ == null) { @@ -3929,57 +3283,42 @@ public Builder removeIndexConfigDeltas(int index) { return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - getIndexConfigDeltasBuilder(int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder getIndexConfigDeltasBuilder( + int index) { return getIndexConfigDeltasFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder - getIndexConfigDeltasOrBuilder(int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder getIndexConfigDeltasOrBuilder( + int index) { if (indexConfigDeltasBuilder_ == null) { - return indexConfigDeltas_.get(index); - } else { + return indexConfigDeltas_.get(index); } else { return indexConfigDeltasBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public java.util.List< - ? extends - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> - getIndexConfigDeltasOrBuilderList() { + public java.util.List + getIndexConfigDeltasOrBuilderList() { if (indexConfigDeltasBuilder_ != null) { return indexConfigDeltasBuilder_.getMessageOrBuilderList(); } else { @@ -3987,73 +3326,48 @@ public Builder removeIndexConfigDeltas(int index) { } } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - addIndexConfigDeltasBuilder() { - return getIndexConfigDeltasFieldBuilder() - .addBuilder( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - .getDefaultInstance()); + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder addIndexConfigDeltasBuilder() { + return getIndexConfigDeltasFieldBuilder().addBuilder( + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDefaultInstance()); } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - addIndexConfigDeltasBuilder(int index) { - return getIndexConfigDeltasFieldBuilder() - .addBuilder( - index, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - .getDefaultInstance()); + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder addIndexConfigDeltasBuilder( + int index) { + return getIndexConfigDeltasFieldBuilder().addBuilder( + index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDefaultInstance()); } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public java.util.List< - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder> - getIndexConfigDeltasBuilderList() { + public java.util.List + getIndexConfigDeltasBuilderList() { return getIndexConfigDeltasFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> getIndexConfigDeltasFieldBuilder() { if (indexConfigDeltasBuilder_ == null) { - indexConfigDeltasBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder>( + indexConfigDeltasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder>( indexConfigDeltas_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4065,65 +3379,51 @@ public Builder removeIndexConfigDeltas(int index) { private int state_ = 0; /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.valueOf(state_); + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(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. */ @@ -4131,24 +3431,21 @@ public Builder setState(com.google.firestore.admin.v1.OperationState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -4156,47 +3453,34 @@ public Builder clearState() { private com.google.firestore.admin.v1.Progress progressDocuments_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressDocumentsBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressDocumentsBuilder_; /** - * - * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; - * * @return Whether the progressDocuments field is set. */ public boolean hasProgressDocuments() { return progressDocumentsBuilder_ != null || progressDocuments_ != null; } /** - * - * *
      * 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.
      * 
@@ -4217,8 +3501,6 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -4237,8 +3519,6 @@ public Builder setProgressDocuments( return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -4249,9 +3529,7 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val if (progressDocumentsBuilder_ == null) { if (progressDocuments_ != null) { progressDocuments_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_).mergeFrom(value).buildPartial(); } else { progressDocuments_ = value; } @@ -4263,8 +3541,6 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -4283,8 +3559,6 @@ public Builder clearProgressDocuments() { return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -4292,13 +3566,11 @@ public Builder clearProgressDocuments() { * .google.firestore.admin.v1.Progress progress_documents = 6; */ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilder() { - + onChanged(); return getProgressDocumentsFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -4309,14 +3581,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui if (progressDocumentsBuilder_ != null) { return progressDocumentsBuilder_.getMessageOrBuilder(); } else { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -4324,17 +3593,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui * .google.firestore.admin.v1.Progress progress_documents = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressDocumentsFieldBuilder() { if (progressDocumentsBuilder_ == null) { - progressDocumentsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressDocuments(), getParentForChildren(), isClean()); + progressDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressDocuments(), + getParentForChildren(), + isClean()); progressDocuments_ = null; } return progressDocumentsBuilder_; @@ -4342,47 +3608,34 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui private com.google.firestore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressBytesBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; /** - * - * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; - * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return progressBytesBuilder_ != null || progressBytes_ != null; } /** - * - * *
      * 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.
      * 
@@ -4403,8 +3656,6 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -4423,8 +3674,6 @@ public Builder setProgressBytes( return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -4435,9 +3684,7 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) if (progressBytesBuilder_ == null) { if (progressBytes_ != null) { progressBytes_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_).mergeFrom(value).buildPartial(); } else { progressBytes_ = value; } @@ -4449,8 +3696,6 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -4469,8 +3714,6 @@ public Builder clearProgressBytes() { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -4478,13 +3721,11 @@ public Builder clearProgressBytes() { * .google.firestore.admin.v1.Progress progress_bytes = 7; */ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() { - + onChanged(); return getProgressBytesFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -4495,14 +3736,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -4510,17 +3748,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), getParentForChildren(), isClean()); + progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), + getParentForChildren(), + isClean()); progressBytes_ = null; } return progressBytesBuilder_; @@ -4528,59 +3763,41 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder private com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttlConfigDelta_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder> - ttlConfigDeltaBuilder_; + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder> ttlConfigDeltaBuilder_; /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; * @return Whether the ttlConfigDelta field is set. */ public boolean hasTtlConfigDelta() { return ttlConfigDeltaBuilder_ != null || 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. */ 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(); @@ -4594,18 +3811,14 @@ public Builder setTtlConfigDelta( return this; } /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ public Builder setTtlConfigDelta( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder - builderForValue) { + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder builderForValue) { if (ttlConfigDeltaBuilder_ == null) { ttlConfigDelta_ = builderForValue.build(); onChanged(); @@ -4616,24 +3829,17 @@ public Builder setTtlConfigDelta( return this; } /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ - public Builder mergeTtlConfigDelta( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta value) { + public Builder mergeTtlConfigDelta(com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta value) { if (ttlConfigDeltaBuilder_ == null) { if (ttlConfigDelta_ != null) { ttlConfigDelta_ = - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.newBuilder( - ttlConfigDelta_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.newBuilder(ttlConfigDelta_).mergeFrom(value).buildPartial(); } else { ttlConfigDelta_ = value; } @@ -4645,14 +3851,11 @@ public Builder mergeTtlConfigDelta( return this; } /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ public Builder clearTtlConfigDelta() { if (ttlConfigDeltaBuilder_ == null) { @@ -4666,71 +3869,55 @@ public Builder clearTtlConfigDelta() { return this; } /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder - getTtlConfigDeltaBuilder() { - + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder getTtlConfigDeltaBuilder() { + 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); } @@ -4740,12 +3927,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(); } @@ -4754,16 +3941,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 { - return new FieldOperationMetadata(input, extensionRegistry); - } - }; + 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; @@ -4778,4 +3976,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.FieldOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java similarity index 75% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java index 0af1212352..474eb64f91 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface FieldOperationMetadataOrBuilder - extends +public interface FieldOperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.FieldOperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time this operation started.
    * 
@@ -59,34 +35,26 @@ public interface FieldOperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -97,155 +65,114 @@ public interface FieldOperationMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The field resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
    * 
* * string field = 3; - * * @return The field. */ java.lang.String getField(); /** - * - * *
    * The field resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
    * 
* * string field = 3; - * * @return The bytes for field. */ - com.google.protobuf.ByteString getFieldBytes(); + com.google.protobuf.ByteString + getFieldBytes(); /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - java.util.List + java.util.List getIndexConfigDeltasList(); /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas( - int index); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas(int index); /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ int getIndexConfigDeltasCount(); /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - java.util.List< - ? extends com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> + java.util.List getIndexConfigDeltasOrBuilderList(); /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder - getIndexConfigDeltasOrBuilder(int index); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder getIndexConfigDeltasOrBuilder( + int index); /** - * - * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @return The state. */ com.google.firestore.admin.v1.OperationState getState(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; - * * @return Whether the progressDocuments field is set. */ boolean hasProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; - * * @return The progressDocuments. */ com.google.firestore.admin.v1.Progress getProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -255,32 +182,24 @@ com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexCo com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; - * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; - * * @return The progressBytes. */ com.google.firestore.admin.v1.Progress getProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -290,41 +209,29 @@ com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexCo com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder(); /** - * - * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; * @return Whether the ttlConfigDelta field is set. */ boolean hasTtlConfigDelta(); /** - * - * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; * @return The ttlConfigDelta. */ com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getTtlConfigDelta(); /** - * - * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder - getTtlConfigDeltaOrBuilder(); + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder getTtlConfigDeltaOrBuilder(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java similarity index 87% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java index 10f8556585..24cf894a45 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/field.proto package com.google.firestore.admin.v1; -public interface FieldOrBuilder - extends +public interface FieldOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Field) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A field name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -52,13 +34,10 @@ public interface FieldOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. A field name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -85,14 +64,12 @@ public interface FieldOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -101,13 +78,10 @@ public interface FieldOrBuilder
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; - * * @return Whether the indexConfig field is set. */ boolean hasIndexConfig(); /** - * - * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -116,13 +90,10 @@ public interface FieldOrBuilder
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; - * * @return The indexConfig. */ com.google.firestore.admin.v1.Field.IndexConfig getIndexConfig(); /** - * - * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -135,8 +106,6 @@ public interface FieldOrBuilder
   com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -144,13 +113,10 @@ public interface FieldOrBuilder
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; - * * @return Whether the ttlConfig field is set. */ boolean hasTtlConfig(); /** - * - * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -158,13 +124,10 @@ public interface FieldOrBuilder
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; - * * @return The ttlConfig. */ com.google.firestore.admin.v1.Field.TtlConfig getTtlConfig(); /** - * - * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java
new file mode 100644
index 0000000000..feff7049a4
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java
@@ -0,0 +1,104 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/admin/v1/field.proto
+
+package com.google.firestore.admin.v1;
+
+public final class FieldProto {
+  private FieldProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_Field_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_Field_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n%google/firestore/admin/v1/field.proto\022" +
+      "\031google.firestore.admin.v1\032\037google/api/f" +
+      "ield_behavior.proto\032\031google/api/resource" +
+      ".proto\032%google/firestore/admin/v1/index." +
+      "proto\"\305\004\n\005Field\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\014in" +
+      "dex_config\030\002 \001(\0132,.google.firestore.admi" +
+      "n.v1.Field.IndexConfig\022>\n\nttl_config\030\003 \001" +
+      "(\0132*.google.firestore.admin.v1.Field.Ttl" +
+      "Config\032\211\001\n\013IndexConfig\0221\n\007indexes\030\001 \003(\0132" +
+      " .google.firestore.admin.v1.Index\022\034\n\024use" +
+      "s_ancestor_config\030\002 \001(\010\022\026\n\016ancestor_fiel" +
+      "d\030\003 \001(\t\022\021\n\treverting\030\004 \001(\010\032\235\001\n\tTtlConfig" +
+      "\022D\n\005state\030\001 \001(\01620.google.firestore.admin" +
+      ".v1.Field.TtlConfig.StateB\003\340A\003\"J\n\005State\022" +
+      "\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006" +
+      "ACTIVE\020\002\022\020\n\014NEEDS_REPAIR\020\003:y\352Av\n\036firesto" +
+      "re.googleapis.com/Field\022Tprojects/{proje" +
+      "ct}/databases/{database}/collectionGroup" +
+      "s/{collection}/fields/{field}B\336\001\n\035com.go" +
+      "ogle.firestore.admin.v1B\nFieldProtoP\001Z>g" +
+      "oogle.golang.org/genproto/googleapis/fir" +
+      "estore/admin/v1;admin\242\002\004GCFS\252\002\037Google.Cl" +
+      "oud.Firestore.Admin.V1\312\002\037Google\\Cloud\\Fi" +
+      "restore\\Admin\\V1\352\002#Google::Cloud::Firest" +
+      "ore::Admin::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.firestore.admin.v1.IndexProto.getDescriptor(),
+        });
+    internal_static_google_firestore_admin_v1_Field_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_admin_v1_Field_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_Field_descriptor,
+        new java.lang.String[] { "Name", "IndexConfig", "TtlConfig", });
+    internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor =
+      internal_static_google_firestore_admin_v1_Field_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor,
+        new java.lang.String[] { "Indexes", "UsesAncestorConfig", "AncestorField", "Reverting", });
+    internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor =
+      internal_static_google_firestore_admin_v1_Field_descriptor.getNestedTypes().get(1);
+    internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor,
+        new java.lang.String[] { "State", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.firestore.admin.v1.IndexProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java
new file mode 100644
index 0000000000..9df694d3b8
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java
@@ -0,0 +1,366 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/admin/v1/firestore_admin.proto
+
+package com.google.firestore.admin.v1;
+
+public final class FirestoreAdminProto {
+  private FirestoreAdminProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n/google/firestore/admin/v1/firestore_ad" +
+      "min.proto\022\031google.firestore.admin.v1\032\034go" +
+      "ogle/api/annotations.proto\032\027google/api/c" +
+      "lient.proto\032\037google/api/field_behavior.p" +
+      "roto\032\031google/api/resource.proto\032(google/" +
+      "firestore/admin/v1/database.proto\032%googl" +
+      "e/firestore/admin/v1/field.proto\032%google" +
+      "/firestore/admin/v1/index.proto\032#google/" +
+      "longrunning/operations.proto\032\033google/pro" +
+      "tobuf/empty.proto\032 google/protobuf/field" +
+      "_mask.proto\"Q\n\024ListDatabasesRequest\0229\n\006p" +
+      "arent\030\001 \001(\tB)\340A\002\372A#\022!firestore.googleapi" +
+      "s.com/Database\"O\n\025ListDatabasesResponse\022" +
+      "6\n\tdatabases\030\001 \003(\0132#.google.firestore.ad" +
+      "min.v1.Database\"M\n\022GetDatabaseRequest\0227\n" +
+      "\004name\030\001 \001(\tB)\340A\002\372A#\n!firestore.googleapi" +
+      "s.com/Database\"\204\001\n\025UpdateDatabaseRequest" +
+      "\022:\n\010database\030\001 \001(\0132#.google.firestore.ad" +
+      "min.v1.DatabaseB\003\340A\002\022/\n\013update_mask\030\002 \001(" +
+      "\0132\032.google.protobuf.FieldMask\"\030\n\026UpdateD" +
+      "atabaseMetadata\"\214\001\n\022CreateIndexRequest\022@" +
+      "\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(firestore.google" +
+      "apis.com/CollectionGroup\0224\n\005index\030\002 \001(\0132" +
+      " .google.firestore.admin.v1.IndexB\003\340A\002\"\215" +
+      "\001\n\022ListIndexesRequest\022@\n\006parent\030\001 \001(\tB0\340" +
+      "A\002\372A*\n(firestore.googleapis.com/Collecti" +
+      "onGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001" +
+      "(\005\022\022\n\npage_token\030\004 \001(\t\"a\n\023ListIndexesRes" +
+      "ponse\0221\n\007indexes\030\001 \003(\0132 .google.firestor" +
+      "e.admin.v1.Index\022\027\n\017next_page_token\030\002 \001(" +
+      "\t\"G\n\017GetIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" +
+      "A \n\036firestore.googleapis.com/Index\"J\n\022De" +
+      "leteIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036" +
+      "firestore.googleapis.com/Index\"{\n\022Update" +
+      "FieldRequest\0224\n\005field\030\001 \001(\0132 .google.fir" +
+      "estore.admin.v1.FieldB\003\340A\002\022/\n\013update_mas" +
+      "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"G\n\017G" +
+      "etFieldRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036fi" +
+      "restore.googleapis.com/Field\"\214\001\n\021ListFie" +
+      "ldsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(fire" +
+      "store.googleapis.com/CollectionGroup\022\016\n\006" +
+      "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_" +
+      "token\030\004 \001(\t\"_\n\022ListFieldsResponse\0220\n\006fie" +
+      "lds\030\001 \003(\0132 .google.firestore.admin.v1.Fi" +
+      "eld\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\026ExportD" +
+      "ocumentsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!f" +
+      "irestore.googleapis.com/Database\022\026\n\016coll" +
+      "ection_ids\030\002 \003(\t\022\031\n\021output_uri_prefix\030\003 " +
+      "\001(\t\"\203\001\n\026ImportDocumentsRequest\0227\n\004name\030\001" +
+      " \001(\tB)\340A\002\372A#\n!firestore.googleapis.com/D" +
+      "atabase\022\026\n\016collection_ids\030\002 \003(\t\022\030\n\020input" +
+      "_uri_prefix\030\003 \001(\t2\222\023\n\016FirestoreAdmin\022\333\001\n" +
+      "\013CreateIndex\022-.google.firestore.admin.v1" +
+      ".CreateIndexRequest\032\035.google.longrunning" +
+      ".Operation\"~\202\323\344\223\002G\">/v1/{parent=projects" +
+      "/*/databases/*/collectionGroups/*}/index" +
+      "es:\005index\332A\014parent,index\312A\037\n\005Index\022\026Inde" +
+      "xOperationMetadata\022\275\001\n\013ListIndexes\022-.goo" +
+      "gle.firestore.admin.v1.ListIndexesReques" +
+      "t\032..google.firestore.admin.v1.ListIndexe" +
+      "sResponse\"O\202\323\344\223\002@\022>/v1/{parent=projects/" +
+      "*/databases/*/collectionGroups/*}/indexe" +
+      "s\332A\006parent\022\247\001\n\010GetIndex\022*.google.firesto" +
+      "re.admin.v1.GetIndexRequest\032 .google.fir" +
+      "estore.admin.v1.Index\"M\202\323\344\223\002@\022>/v1/{name" +
+      "=projects/*/databases/*/collectionGroups" +
+      "/*/indexes/*}\332A\004name\022\243\001\n\013DeleteIndex\022-.g" +
+      "oogle.firestore.admin.v1.DeleteIndexRequ" +
+      "est\032\026.google.protobuf.Empty\"M\202\323\344\223\002@*>/v1" +
+      "/{name=projects/*/databases/*/collection" +
+      "Groups/*/indexes/*}\332A\004name\022\246\001\n\010GetField\022" +
+      "*.google.firestore.admin.v1.GetFieldRequ" +
+      "est\032 .google.firestore.admin.v1.Field\"L\202" +
+      "\323\344\223\002?\022=/v1/{name=projects/*/databases/*/" +
+      "collectionGroups/*/fields/*}\332A\004name\022\331\001\n\013" +
+      "UpdateField\022-.google.firestore.admin.v1." +
+      "UpdateFieldRequest\032\035.google.longrunning." +
+      "Operation\"|\202\323\344\223\002L2C/v1/{field.name=proje" +
+      "cts/*/databases/*/collectionGroups/*/fie" +
+      "lds/*}:\005field\332A\005field\312A\037\n\005Field\022\026FieldOp" +
+      "erationMetadata\022\271\001\n\nListFields\022,.google." +
+      "firestore.admin.v1.ListFieldsRequest\032-.g" +
+      "oogle.firestore.admin.v1.ListFieldsRespo" +
+      "nse\"N\202\323\344\223\002?\022=/v1/{parent=projects/*/data" +
+      "bases/*/collectionGroups/*}/fields\332A\006par" +
+      "ent\022\335\001\n\017ExportDocuments\0221.google.firesto" +
+      "re.admin.v1.ExportDocumentsRequest\032\035.goo" +
+      "gle.longrunning.Operation\"x\202\323\344\223\0026\"1/v1/{" +
+      "name=projects/*/databases/*}:exportDocum" +
+      "ents:\001*\332A\004name\312A2\n\027ExportDocumentsRespon" +
+      "se\022\027ExportDocumentsMetadata\022\333\001\n\017ImportDo" +
+      "cuments\0221.google.firestore.admin.v1.Impo" +
+      "rtDocumentsRequest\032\035.google.longrunning." +
+      "Operation\"v\202\323\344\223\0026\"1/v1/{name=projects/*/" +
+      "databases/*}:importDocuments:\001*\332A\004name\312A" +
+      "0\n\025google.protobuf.Empty\022\027ImportDocument" +
+      "sMetadata\022\223\001\n\013GetDatabase\022-.google.fires" +
+      "tore.admin.v1.GetDatabaseRequest\032#.googl" +
+      "e.firestore.admin.v1.Database\"0\202\323\344\223\002#\022!/" +
+      "v1/{name=projects/*/databases/*}\332A\004name\022" +
+      "\246\001\n\rListDatabases\022/.google.firestore.adm" +
+      "in.v1.ListDatabasesRequest\0320.google.fire" +
+      "store.admin.v1.ListDatabasesResponse\"2\202\323" +
+      "\344\223\002#\022!/v1/{parent=projects/*}/databases\332" +
+      "A\006parent\022\333\001\n\016UpdateDatabase\0220.google.fir" +
+      "estore.admin.v1.UpdateDatabaseRequest\032\035." +
+      "google.longrunning.Operation\"x\202\323\344\223\00262*/v" +
+      "1/{database.name=projects/*/databases/*}" +
+      ":\010database\332A\024database,update_mask\312A\"\n\010Da" +
+      "tabase\022\026UpdateDatabaseMetadata\032v\312A\030fires" +
+      "tore.googleapis.com\322AXhttps://www.google" +
+      "apis.com/auth/cloud-platform,https://www" +
+      ".googleapis.com/auth/datastoreB\252\003\n\035com.g" +
+      "oogle.firestore.admin.v1B\023FirestoreAdmin" +
+      "ProtoP\001Z>google.golang.org/genproto/goog" +
+      "leapis/firestore/admin/v1;admin\242\002\004GCFS\252\002" +
+      "\037Google.Cloud.Firestore.Admin.V1\312\002\037Googl" +
+      "e\\Cloud\\Firestore\\Admin\\V1\352\002#Google::Clo" +
+      "ud::Firestore::Admin::V1\352AL\n!firestore.g" +
+      "oogleapis.com/Location\022\'projects/{projec" +
+      "t}/locations/{location}\352Aq\n(firestore.go" +
+      "ogleapis.com/CollectionGroup\022Eprojects/{" +
+      "project}/databases/{database}/collection" +
+      "Groups/{collection}b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.ClientProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.firestore.admin.v1.DatabaseProto.getDescriptor(),
+          com.google.firestore.admin.v1.FieldProto.getDescriptor(),
+          com.google.firestore.admin.v1.IndexProto.getDescriptor(),
+          com.google.longrunning.OperationsProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+        });
+    internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor,
+        new java.lang.String[] { "Parent", });
+    internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor,
+        new java.lang.String[] { "Databases", });
+    internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor,
+        new java.lang.String[] { "Database", "UpdateMask", });
+    internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor,
+        new java.lang.String[] { });
+    internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor,
+        new java.lang.String[] { "Parent", "Index", });
+    internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor,
+        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", });
+    internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor,
+        new java.lang.String[] { "Indexes", "NextPageToken", });
+    internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor,
+        new java.lang.String[] { "Field", "UpdateMask", });
+    internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor,
+        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", });
+    internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor,
+        new java.lang.String[] { "Fields", "NextPageToken", });
+    internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor,
+        new java.lang.String[] { "Name", "CollectionIds", "OutputUriPrefix", });
+    internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(15);
+    internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor,
+        new java.lang.String[] { "Name", "CollectionIds", "InputUriPrefix", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceDefinition);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.firestore.admin.v1.DatabaseProto.getDescriptor();
+    com.google.firestore.admin.v1.FieldProto.getDescriptor();
+    com.google.firestore.admin.v1.IndexProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
similarity index 57%
rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
index 8bb481af17..6a1cfa2b81 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
@@ -1,132 +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;
 
 /**
- *
- *
  * 
  * The request for [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase].
  * 
* * Protobuf type {@code google.firestore.admin.v1.GetDatabaseRequest} */ -public final class GetDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDatabaseRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.GetDatabaseRequest) GetDatabaseRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDatabaseRequest.newBuilder() to construct. private GetDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDatabaseRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private GetDatabaseRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -135,32 +65,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,11 +108,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_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -197,7 +125,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -205,16 +133,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -227,148 +155,135 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +293,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 @@ -399,8 +314,7 @@ 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); + com.google.firestore.admin.v1.GetDatabaseRequest result = new com.google.firestore.admin.v1.GetDatabaseRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +324,38 @@ public com.google.firestore.admin.v1.GetDatabaseRequest 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.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; @@ -450,13 +363,12 @@ 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_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -471,39 +383,53 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.GetDatabaseRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = (com.google.firestore.admin.v1.GetDatabaseRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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; @@ -512,24 +438,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +460,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +527,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(); } @@ -631,16 +541,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 { - return new GetDatabaseRequest(input, extensionRegistry); - } - }; + 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; @@ -655,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.GetDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java new file mode 100644 index 0000000000..d0d99efcac --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface GetDatabaseRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetDatabaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java similarity index 58% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java index 3f6d1d765c..04e9fea4e4 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java @@ -1,132 +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; /** - * - * *
  * The request for [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField].
  * 
* * Protobuf type {@code google.firestore.admin.v1.GetFieldRequest} */ -public final class GetFieldRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetFieldRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.GetFieldRequest) GetFieldRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetFieldRequest.newBuilder() to construct. private GetFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetFieldRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetFieldRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private GetFieldRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -135,32 +65,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,11 +108,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_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -197,7 +125,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -205,16 +133,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -227,148 +155,135 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +293,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 @@ -399,8 +314,7 @@ 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); + com.google.firestore.admin.v1.GetFieldRequest result = new com.google.firestore.admin.v1.GetFieldRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +324,38 @@ public com.google.firestore.admin.v1.GetFieldRequest 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.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; @@ -455,7 +368,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.GetFieldRequest other) { name_ = other.name_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -470,39 +383,53 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.GetFieldRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = (com.google.firestore.admin.v1.GetFieldRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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; @@ -511,24 +438,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +460,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +527,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(); } @@ -630,16 +541,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 { - return new GetFieldRequest(input, extensionRegistry); - } - }; + 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; @@ -654,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.GetFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java new file mode 100644 index 0000000000..18cbac5d7f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface GetFieldRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetFieldRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java similarity index 58% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java index 387dd30dea..0bf4f6fea9 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java @@ -1,132 +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; /** - * - * *
  * The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex].
  * 
* * Protobuf type {@code google.firestore.admin.v1.GetIndexRequest} */ -public final class GetIndexRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetIndexRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.GetIndexRequest) GetIndexRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetIndexRequest.newBuilder() to construct. private GetIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetIndexRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetIndexRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private GetIndexRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -135,32 +65,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,11 +108,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_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -197,7 +125,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -205,16 +133,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -227,148 +155,135 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +293,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 @@ -399,8 +314,7 @@ 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); + com.google.firestore.admin.v1.GetIndexRequest result = new com.google.firestore.admin.v1.GetIndexRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +324,38 @@ public com.google.firestore.admin.v1.GetIndexRequest 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.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; @@ -455,7 +368,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.GetIndexRequest other) { name_ = other.name_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -470,39 +383,53 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.GetIndexRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = (com.google.firestore.admin.v1.GetIndexRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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; @@ -511,24 +438,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +460,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +527,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(); } @@ -630,16 +541,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 { - return new GetIndexRequest(input, extensionRegistry); - } - }; + 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; @@ -654,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.GetIndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java new file mode 100644 index 0000000000..66231344e4 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface GetIndexRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetIndexRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java similarity index 70% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java index 230d8a64c2..aa96e78965 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** - * - * *
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsMetadata}
  */
-public final class ImportDocumentsMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ImportDocumentsMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ImportDocumentsMetadata)
     ImportDocumentsMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ImportDocumentsMetadata.newBuilder() to construct.
   private ImportDocumentsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ImportDocumentsMetadata() {
     operationState_ = 0;
     collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -46,170 +28,37 @@ private ImportDocumentsMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ImportDocumentsMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private ImportDocumentsMetadata(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    int mutable_bitField0_ = 0;
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
-              }
-              endTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
-
-              operationState_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              com.google.firestore.admin.v1.Progress.Builder subBuilder = null;
-              if (progressDocuments_ != null) {
-                subBuilder = progressDocuments_.toBuilder();
-              }
-              progressDocuments_ =
-                  input.readMessage(
-                      com.google.firestore.admin.v1.Progress.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(progressDocuments_);
-                progressDocuments_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 42:
-            {
-              com.google.firestore.admin.v1.Progress.Builder subBuilder = null;
-              if (progressBytes_ != null) {
-                subBuilder = progressBytes_.toBuilder();
-              }
-              progressBytes_ =
-                  input.readMessage(
-                      com.google.firestore.admin.v1.Progress.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(progressBytes_);
-                progressBytes_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                collectionIds_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              collectionIds_.add(s);
-              break;
-            }
-          case 58:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              inputUriPrefix_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        collectionIds_ = collectionIds_.getUnmodifiableView();
-      }
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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 @@ -217,14 +66,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -232,8 +78,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time this operation started.
    * 
@@ -248,15 +92,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -264,15 +105,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -280,8 +118,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -297,50 +133,38 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int OPERATION_STATE_FIELD_NUMBER = 3;
   private int operationState_;
   /**
-   *
-   *
    * 
    * 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() { + @java.lang.Override public com.google.firestore.admin.v1.OperationState getOperationState() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.valueOf(operationState_); + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(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 @@ -348,25 +172,18 @@ public boolean hasProgressDocuments() { return progressDocuments_ != null; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return The progressDocuments. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressDocuments() { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -381,14 +198,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui 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 @@ -396,25 +210,18 @@ public boolean hasProgressBytes() { return progressBytes_ != null; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return The progressBytes. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -429,42 +236,34 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder public static final int COLLECTION_IDS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList collectionIds_; /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_; } /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -472,32 +271,27 @@ 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; private volatile java.lang.Object inputUriPrefix_; /** - * - * *
    * The location of the documents being imported.
    * 
* * string input_uri_prefix = 7; - * * @return The inputUriPrefix. */ @java.lang.Override @@ -506,29 +300,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 { @@ -537,7 +331,6 @@ public com.google.protobuf.ByteString getInputUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -549,15 +342,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) { @@ -572,7 +365,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUriPrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, inputUriPrefix_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -582,20 +375,24 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } - if (operationState_ - != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operationState_); + if (operationState_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, operationState_); } if (progressDocuments_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProgressDocuments()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getProgressDocuments()); } if (progressBytes_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getProgressBytes()); } { int dataSize = 0; @@ -608,7 +405,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUriPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, inputUriPrefix_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -616,34 +413,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.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 (!getCollectionIdsList().equals(other.getCollectionIdsList())) return false; - if (!getInputUriPrefix().equals(other.getInputUriPrefix())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getProgressBytes() + .equals(other.getProgressBytes())) 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; } @@ -678,110 +480,102 @@ public int hashCode() { } hash = (37 * hash) + INPUT_URI_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getInputUriPrefix().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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].
@@ -789,39 +583,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ImportDocumentsMetadata)
       com.google.firestore.admin.v1.ImportDocumentsMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.ImportDocumentsMetadata.class,
-              com.google.firestore.admin.v1.ImportDocumentsMetadata.Builder.class);
+              com.google.firestore.admin.v1.ImportDocumentsMetadata.class, com.google.firestore.admin.v1.ImportDocumentsMetadata.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.ImportDocumentsMetadata.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -859,9 +647,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -880,8 +668,7 @@ public com.google.firestore.admin.v1.ImportDocumentsMetadata build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.ImportDocumentsMetadata buildPartial() {
-      com.google.firestore.admin.v1.ImportDocumentsMetadata result =
-          new com.google.firestore.admin.v1.ImportDocumentsMetadata(this);
+      com.google.firestore.admin.v1.ImportDocumentsMetadata result = new com.google.firestore.admin.v1.ImportDocumentsMetadata(this);
       int from_bitField0_ = bitField0_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -918,39 +705,38 @@ public com.google.firestore.admin.v1.ImportDocumentsMetadata 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.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;
@@ -958,8 +744,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.admin.v1.ImportDocumentsMetadata other) {
-      if (other == com.google.firestore.admin.v1.ImportDocumentsMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.admin.v1.ImportDocumentsMetadata.getDefaultInstance()) return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -989,7 +774,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ImportDocumentsMetadata o
         inputUriPrefix_ = other.inputUriPrefix_;
         onChanged();
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -1004,52 +789,98 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.admin.v1.ImportDocumentsMetadata parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 24: {
+              operationState_ = input.readEnum();
+
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getProgressDocumentsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getProgressBytesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureCollectionIdsIsMutable();
+              collectionIds_.add(s);
+              break;
+            } // case 50
+            case 58: {
+              inputUriPrefix_ = input.readStringRequireUtf8();
+
+              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) {
-        parsedMessage =
-            (com.google.firestore.admin.v1.ImportDocumentsMetadata) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // 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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1060,8 +891,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time this operation started.
      * 
@@ -1082,15 +911,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -1101,8 +929,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1113,7 +939,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -1125,8 +951,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1145,8 +969,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1154,13 +976,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time this operation started.
      * 
@@ -1171,12 +991,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time this operation started.
      * 
@@ -1184,17 +1003,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1202,35 +1018,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * 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() { @@ -1241,8 +1048,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1264,8 +1069,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1273,7 +1076,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1284,8 +1088,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1297,7 +1099,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1309,8 +1111,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1330,8 +1130,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1340,13 +1138,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1358,12 +1154,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1372,17 +1167,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1390,65 +1182,51 @@ 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. */ public Builder setOperationStateValue(int value) { - + operationState_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.valueOf(operationState_); + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(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. */ @@ -1456,24 +1234,21 @@ public Builder setOperationState(com.google.firestore.admin.v1.OperationState va if (value == null) { throw new NullPointerException(); } - + operationState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of the import operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return This builder for chaining. */ public Builder clearOperationState() { - + operationState_ = 0; onChanged(); return this; @@ -1481,47 +1256,34 @@ public Builder clearOperationState() { private com.google.firestore.admin.v1.Progress progressDocuments_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressDocumentsBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressDocumentsBuilder_; /** - * - * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return Whether the progressDocuments field is set. */ public boolean hasProgressDocuments() { return progressDocumentsBuilder_ != null || progressDocuments_ != null; } /** - * - * *
      * 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.
      * 
@@ -1542,8 +1304,6 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1562,8 +1322,6 @@ public Builder setProgressDocuments( return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1574,9 +1332,7 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val if (progressDocumentsBuilder_ == null) { if (progressDocuments_ != null) { progressDocuments_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_).mergeFrom(value).buildPartial(); } else { progressDocuments_ = value; } @@ -1588,8 +1344,6 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1608,8 +1362,6 @@ public Builder clearProgressDocuments() { return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1617,13 +1369,11 @@ public Builder clearProgressDocuments() { * .google.firestore.admin.v1.Progress progress_documents = 4; */ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilder() { - + onChanged(); return getProgressDocumentsFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1634,14 +1384,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui if (progressDocumentsBuilder_ != null) { return progressDocumentsBuilder_.getMessageOrBuilder(); } else { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1649,17 +1396,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui * .google.firestore.admin.v1.Progress progress_documents = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressDocumentsFieldBuilder() { if (progressDocumentsBuilder_ == null) { - progressDocumentsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressDocuments(), getParentForChildren(), isClean()); + progressDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressDocuments(), + getParentForChildren(), + isClean()); progressDocuments_ = null; } return progressDocumentsBuilder_; @@ -1667,47 +1411,34 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui private com.google.firestore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressBytesBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; /** - * - * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return progressBytesBuilder_ != null || progressBytes_ != null; } /** - * - * *
      * 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.
      * 
@@ -1728,8 +1459,6 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1748,8 +1477,6 @@ public Builder setProgressBytes( return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1760,9 +1487,7 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) if (progressBytesBuilder_ == null) { if (progressBytes_ != null) { progressBytes_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_).mergeFrom(value).buildPartial(); } else { progressBytes_ = value; } @@ -1774,8 +1499,6 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1794,8 +1517,6 @@ public Builder clearProgressBytes() { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1803,13 +1524,11 @@ public Builder clearProgressBytes() { * .google.firestore.admin.v1.Progress progress_bytes = 5; */ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() { - + onChanged(); return getProgressBytesFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1820,14 +1539,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1835,68 +1551,55 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), getParentForChildren(), isClean()); + progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), + getParentForChildren(), + isClean()); progressBytes_ = null; } return progressBytesBuilder_; } - private com.google.protobuf.LazyStringList collectionIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -1904,90 +1607,80 @@ 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) { + public Builder setCollectionIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds(java.lang.String value) { + public Builder addCollectionIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds(java.lang.Iterable values) { + public Builder addAllCollectionIds( + java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, collectionIds_); onChanged(); return this; } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -1997,22 +1690,20 @@ public Builder clearCollectionIds() { return this; } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { + public Builder addCollectionIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); @@ -2021,20 +1712,18 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object inputUriPrefix_ = ""; /** - * - * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; - * * @return The inputUriPrefix. */ public java.lang.String getInputUriPrefix() { java.lang.Object ref = inputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUriPrefix_ = s; return s; @@ -2043,21 +1732,20 @@ public java.lang.String getInputUriPrefix() { } } /** - * - * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; - * * @return The bytes for inputUriPrefix. */ - public com.google.protobuf.ByteString getInputUriPrefixBytes() { + public com.google.protobuf.ByteString + getInputUriPrefixBytes() { java.lang.Object ref = inputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputUriPrefix_ = b; return b; } else { @@ -2065,68 +1753,61 @@ public com.google.protobuf.ByteString getInputUriPrefixBytes() { } } /** - * - * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; - * * @param value The inputUriPrefix to set. * @return This builder for chaining. */ - public Builder setInputUriPrefix(java.lang.String value) { + public Builder setInputUriPrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputUriPrefix_ = value; onChanged(); return this; } /** - * - * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; - * * @return This builder for chaining. */ public Builder clearInputUriPrefix() { - + inputUriPrefix_ = getDefaultInstance().getInputUriPrefix(); onChanged(); 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) { + public Builder setInputUriPrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputUriPrefix_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2136,12 +1817,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(); } @@ -2150,16 +1831,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 { - return new ImportDocumentsMetadata(input, extensionRegistry); - } - }; + 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; @@ -2174,4 +1866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ImportDocumentsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java similarity index 81% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java index dc9f0242fb..79cbc4ceba 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface ImportDocumentsMetadataOrBuilder - extends +public interface ImportDocumentsMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ImportDocumentsMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time this operation started.
    * 
@@ -59,34 +35,26 @@ public interface ImportDocumentsMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -97,57 +65,43 @@ public interface ImportDocumentsMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The state of the import operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The enum numeric value on the wire for operationState. */ int getOperationStateValue(); /** - * - * *
    * The state of the import operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The operationState. */ com.google.firestore.admin.v1.OperationState getOperationState(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return Whether the progressDocuments field is set. */ boolean hasProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return The progressDocuments. */ com.google.firestore.admin.v1.Progress getProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -157,32 +111,24 @@ public interface ImportDocumentsMetadataOrBuilder com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return The progressBytes. */ com.google.firestore.admin.v1.Progress getProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -192,78 +138,63 @@ public interface ImportDocumentsMetadataOrBuilder com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder(); /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @return A list containing the collectionIds. */ - java.util.List getCollectionIdsList(); + java.util.List + getCollectionIdsList(); /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString getCollectionIdsBytes(int index); + com.google.protobuf.ByteString + getCollectionIdsBytes(int index); /** - * - * *
    * The location of the documents being imported.
    * 
* * string input_uri_prefix = 7; - * * @return The inputUriPrefix. */ java.lang.String getInputUriPrefix(); /** - * - * *
    * The location of the documents being imported.
    * 
* * string input_uri_prefix = 7; - * * @return The bytes for inputUriPrefix. */ - com.google.protobuf.ByteString getInputUriPrefixBytes(); + com.google.protobuf.ByteString + getInputUriPrefixBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java similarity index 67% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java index 3c929a4204..33ee84faad 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsRequest} */ -public final class ImportDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportDocumentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ImportDocumentsRequest) ImportDocumentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportDocumentsRequest.newBuilder() to construct. private ImportDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportDocumentsRequest() { name_ = ""; collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -45,111 +27,38 @@ private ImportDocumentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportDocumentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ImportDocumentsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - collectionIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - collectionIds_.add(s); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - inputUriPrefix_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - collectionIds_ = collectionIds_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -158,32 +67,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -194,45 +101,37 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int COLLECTION_IDS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList collectionIds_; /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_; } /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -240,27 +139,23 @@ 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; private volatile java.lang.Object inputUriPrefix_; /** - * - * *
    * Location of the exported files.
    * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -270,7 +165,6 @@ public com.google.protobuf.ByteString getCollectionIdsBytes(int index) {
    * 
* * string input_uri_prefix = 3; - * * @return The inputUriPrefix. */ @java.lang.Override @@ -279,15 +173,14 @@ public java.lang.String getInputUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUriPrefix_ = s; return s; } } /** - * - * *
    * Location of the exported files.
    * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -297,15 +190,16 @@ public java.lang.String getInputUriPrefix() {
    * 
* * string input_uri_prefix = 3; - * * @return The bytes for inputUriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getInputUriPrefixBytes() { + public com.google.protobuf.ByteString + getInputUriPrefixBytes() { java.lang.Object ref = inputUriPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputUriPrefix_ = b; return b; } else { @@ -314,7 +208,6 @@ public com.google.protobuf.ByteString getInputUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -336,7 +230,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUriPrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, inputUriPrefix_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -359,7 +253,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUriPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inputUriPrefix_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -367,18 +261,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.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; - if (!unknownFields.equals(other.unknownFields)) 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; } @@ -397,148 +293,135 @@ public int hashCode() { } hash = (37 * hash) + INPUT_URI_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getInputUriPrefix().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -552,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; } @java.lang.Override @@ -573,8 +456,7 @@ public com.google.firestore.admin.v1.ImportDocumentsRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ImportDocumentsRequest buildPartial() { - com.google.firestore.admin.v1.ImportDocumentsRequest result = - new com.google.firestore.admin.v1.ImportDocumentsRequest(this); + com.google.firestore.admin.v1.ImportDocumentsRequest result = new com.google.firestore.admin.v1.ImportDocumentsRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { @@ -591,39 +473,38 @@ public com.google.firestore.admin.v1.ImportDocumentsRequest 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.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; @@ -631,8 +512,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ImportDocumentsRequest other) { - if (other == com.google.firestore.admin.v1.ImportDocumentsRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ImportDocumentsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -651,7 +531,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ImportDocumentsRequest ot inputUriPrefix_ = other.inputUriPrefix_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -666,42 +546,65 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.ImportDocumentsRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCollectionIdsIsMutable(); + collectionIds_.add(s); + break; + } // case 18 + case 26: { + inputUriPrefix_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = - (com.google.firestore.admin.v1.ImportDocumentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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; @@ -710,24 +613,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Database to import into. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -735,124 +635,101 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Database to import into. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList collectionIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -860,95 +737,85 @@ 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) { + public Builder setCollectionIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds(java.lang.String value) { + public Builder addCollectionIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds(java.lang.Iterable values) { + public Builder addAllCollectionIds( + java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, collectionIds_); onChanged(); return this; } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -958,23 +825,21 @@ public Builder clearCollectionIds() { return this; } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { + public Builder addCollectionIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); @@ -983,8 +848,6 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object inputUriPrefix_ = ""; /** - * - * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -994,13 +857,13 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) {
      * 
* * string input_uri_prefix = 3; - * * @return The inputUriPrefix. */ public java.lang.String getInputUriPrefix() { java.lang.Object ref = inputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUriPrefix_ = s; return s; @@ -1009,8 +872,6 @@ public java.lang.String getInputUriPrefix() { } } /** - * - * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -1020,14 +881,15 @@ public java.lang.String getInputUriPrefix() {
      * 
* * string input_uri_prefix = 3; - * * @return The bytes for inputUriPrefix. */ - public com.google.protobuf.ByteString getInputUriPrefixBytes() { + public com.google.protobuf.ByteString + getInputUriPrefixBytes() { java.lang.Object ref = inputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputUriPrefix_ = b; return b; } else { @@ -1035,8 +897,6 @@ public com.google.protobuf.ByteString getInputUriPrefixBytes() { } } /** - * - * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -1046,22 +906,20 @@ public com.google.protobuf.ByteString getInputUriPrefixBytes() {
      * 
* * string input_uri_prefix = 3; - * * @param value The inputUriPrefix to set. * @return This builder for chaining. */ - public Builder setInputUriPrefix(java.lang.String value) { + public Builder setInputUriPrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputUriPrefix_ = value; onChanged(); return this; } /** - * - * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -1071,18 +929,15 @@ public Builder setInputUriPrefix(java.lang.String value) {
      * 
* * string input_uri_prefix = 3; - * * @return This builder for chaining. */ public Builder clearInputUriPrefix() { - + inputUriPrefix_ = getDefaultInstance().getInputUriPrefix(); onChanged(); return this; } /** - * - * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -1092,23 +947,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) { + public Builder setInputUriPrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputUriPrefix_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1118,12 +973,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(); } @@ -1132,16 +987,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 { - return new ImportDocumentsRequest(input, extensionRegistry); - } - }; + 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; @@ -1156,4 +1022,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ImportDocumentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java index 28b8df4881..6c2092a570 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java @@ -1,117 +1,80 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ImportDocumentsRequestOrBuilder - extends +public interface ImportDocumentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ImportDocumentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Database to import into. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Database to import into. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @return A list containing the collectionIds. */ - java.util.List getCollectionIdsList(); + java.util.List + getCollectionIdsList(); /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString getCollectionIdsBytes(int index); + com.google.protobuf.ByteString + getCollectionIdsBytes(int index); /** - * - * *
    * Location of the exported files.
    * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -121,13 +84,10 @@ public interface ImportDocumentsRequestOrBuilder
    * 
* * string input_uri_prefix = 3; - * * @return The inputUriPrefix. */ java.lang.String getInputUriPrefix(); /** - * - * *
    * Location of the exported files.
    * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -137,8 +97,8 @@ public interface ImportDocumentsRequestOrBuilder
    * 
* * string input_uri_prefix = 3; - * * @return The bytes for inputUriPrefix. */ - com.google.protobuf.ByteString getInputUriPrefixBytes(); + com.google.protobuf.ByteString + getInputUriPrefixBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java similarity index 77% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java index 5425c22035..74d0f6a3fe 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/index.proto package com.google.firestore.admin.v1; /** - * - * *
  * Cloud Firestore indexes enable simple and complex queries against
  * documents in a database.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Index}
  */
-public final class Index extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Index extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Index)
     IndexOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Index.newBuilder() to construct.
   private Index(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Index() {
     name_ = "";
     queryScope_ = 0;
@@ -47,108 +29,30 @@ private Index() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Index();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private Index(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    int mutable_bitField0_ = 0;
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              name_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
-
-              queryScope_ = rawValue;
-              break;
-            }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                fields_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              fields_.add(
-                  input.readMessage(
-                      com.google.firestore.admin.v1.Index.IndexField.parser(), extensionRegistry));
-              break;
-            }
-          case 32:
-            {
-              int rawValue = input.readEnum();
-
-              state_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        fields_ = java.util.Collections.unmodifiableList(fields_);
-      }
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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.
@@ -156,10 +60,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.firestore.admin.v1.Index.QueryScope}
    */
-  public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum {
+  public enum QueryScope
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The query scope is unspecified. Not a valid option.
      * 
@@ -168,8 +71,6 @@ public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum { */ QUERY_SCOPE_UNSPECIFIED(0), /** - * - * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified
@@ -180,8 +81,6 @@ public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum {
      */
     COLLECTION(1),
     /**
-     *
-     *
      * 
      * Indexes with a collection group query scope specified allow queries
      * against all collections that has the collection id specified by the
@@ -195,8 +94,6 @@ public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The query scope is unspecified. Not a valid option.
      * 
@@ -205,8 +102,6 @@ public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int QUERY_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified
@@ -217,8 +112,6 @@ public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COLLECTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * Indexes with a collection group query scope specified allow queries
      * against all collections that has the collection id specified by the
@@ -229,6 +122,7 @@ public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COLLECTION_GROUP_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -253,49 +147,49 @@ public static QueryScope valueOf(int value) {
      */
     public static QueryScope forNumber(int value) {
       switch (value) {
-        case 0:
-          return QUERY_SCOPE_UNSPECIFIED;
-        case 1:
-          return COLLECTION;
-        case 2:
-          return COLLECTION_GROUP;
-        default:
-          return null;
+        case 0: return QUERY_SCOPE_UNSPECIFIED;
+        case 1: return COLLECTION;
+        case 2: return COLLECTION_GROUP;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        QueryScope> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public QueryScope findValueByNumber(int number) {
+              return QueryScope.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public QueryScope findValueByNumber(int number) {
-            return QueryScope.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.firestore.admin.v1.Index.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final QueryScope[] VALUES = values();
 
-    public static QueryScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static QueryScope valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -313,8 +207,6 @@ private QueryScope(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The state of an index. During index creation, an index will be in the
    * `CREATING` state. If the index is created successfully, it will transition
@@ -324,10 +216,9 @@ private QueryScope(int value) {
    *
    * Protobuf enum {@code google.firestore.admin.v1.Index.State}
    */
-  public enum State implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The state is unspecified.
      * 
@@ -336,8 +227,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The index is being created.
      * There is an active long-running operation for the index.
@@ -349,8 +238,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The index is ready to be used.
      * The index is updated when writing a document.
@@ -361,8 +248,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     READY(2),
     /**
-     *
-     *
      * 
      * The index was being created, but something went wrong.
      * There is no active long-running operation for the index,
@@ -381,8 +266,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state is unspecified.
      * 
@@ -391,8 +274,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The index is being created.
      * There is an active long-running operation for the index.
@@ -404,8 +285,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The index is ready to be used.
      * The index is updated when writing a document.
@@ -416,8 +295,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READY_VALUE = 2;
     /**
-     *
-     *
      * 
      * The index was being created, but something went wrong.
      * There is no active long-running operation for the index,
@@ -433,6 +310,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NEEDS_REPAIR_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -457,51 +335,50 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return CREATING;
-        case 2:
-          return READY;
-        case 3:
-          return NEEDS_REPAIR;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return CREATING;
+        case 2: return READY;
+        case 3: return NEEDS_REPAIR;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.firestore.admin.v1.Index.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -518,14 +395,11 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.firestore.admin.v1.Index.State)
   }
 
-  public interface IndexFieldOrBuilder
-      extends
+  public interface IndexFieldOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Index.IndexField)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -533,13 +407,10 @@ public interface IndexFieldOrBuilder
      * 
* * string field_path = 1; - * * @return The fieldPath. */ java.lang.String getFieldPath(); /** - * - * *
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -547,84 +418,66 @@ public interface IndexFieldOrBuilder
      * 
* * string field_path = 1; - * * @return The bytes for fieldPath. */ - com.google.protobuf.ByteString getFieldPathBytes(); + com.google.protobuf.ByteString + getFieldPathBytes(); /** - * - * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return Whether the order field is set. */ boolean hasOrder(); /** - * - * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return The enum numeric value on the wire for order. */ int getOrderValue(); /** - * - * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return The order. */ com.google.firestore.admin.v1.Index.IndexField.Order getOrder(); /** - * - * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return Whether the arrayConfig field is set. */ boolean hasArrayConfig(); /** - * - * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return The enum numeric value on the wire for arrayConfig. */ int getArrayConfigValue(); /** - * - * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return The arrayConfig. */ com.google.firestore.admin.v1.Index.IndexField.ArrayConfig getArrayConfig(); @@ -632,8 +485,6 @@ public interface IndexFieldOrBuilder public com.google.firestore.admin.v1.Index.IndexField.ValueModeCase getValueModeCase(); } /** - * - * *
    * A field in an index.
    * The field_path describes which field is indexed, the value_mode describes
@@ -642,119 +493,54 @@ public interface IndexFieldOrBuilder
    *
    * Protobuf type {@code google.firestore.admin.v1.Index.IndexField}
    */
-  public static final class IndexField extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class IndexField extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Index.IndexField)
       IndexFieldOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use IndexField.newBuilder() to construct.
     private IndexField(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private IndexField() {
       fieldPath_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new IndexField();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    private IndexField(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      this();
-      if (extensionRegistry == null) {
-        throw new java.lang.NullPointerException();
-      }
-      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-          com.google.protobuf.UnknownFieldSet.newBuilder();
-      try {
-        boolean done = false;
-        while (!done) {
-          int tag = input.readTag();
-          switch (tag) {
-            case 0:
-              done = true;
-              break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-
-                fieldPath_ = s;
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
-                valueModeCase_ = 2;
-                valueMode_ = rawValue;
-                break;
-              }
-            case 24:
-              {
-                int rawValue = input.readEnum();
-                valueModeCase_ = 3;
-                valueMode_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
-              }
-          }
-        }
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(this);
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-      } finally {
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-
-    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.
        * 
@@ -763,8 +549,6 @@ public enum Order implements com.google.protobuf.ProtocolMessageEnum { */ ORDER_UNSPECIFIED(0), /** - * - * *
        * The field is ordered by ascending field value.
        * 
@@ -773,8 +557,6 @@ public enum Order implements com.google.protobuf.ProtocolMessageEnum { */ ASCENDING(1), /** - * - * *
        * The field is ordered by descending field value.
        * 
@@ -786,8 +568,6 @@ public enum Order implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The ordering is unspecified. Not a valid option.
        * 
@@ -796,8 +576,6 @@ public enum Order implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORDER_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The field is ordered by ascending field value.
        * 
@@ -806,8 +584,6 @@ public enum Order implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ASCENDING_VALUE = 1; /** - * - * *
        * The field is ordered by descending field value.
        * 
@@ -816,6 +592,7 @@ public enum Order implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESCENDING_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -840,49 +617,49 @@ public static Order valueOf(int value) { */ public static Order forNumber(int value) { switch (value) { - case 0: - return ORDER_UNSPECIFIED; - case 1: - return ASCENDING; - case 2: - return DESCENDING; - default: - return null; + case 0: return ORDER_UNSPECIFIED; + case 1: return ASCENDING; + case 2: return DESCENDING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Order> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Order findValueByNumber(int number) { + return Order.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Order findValueByNumber(int number) { - return Order.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.firestore.admin.v1.Index.IndexField.getDescriptor().getEnumTypes().get(0); } private static final Order[] VALUES = values(); - public static Order valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Order valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -900,18 +677,15 @@ private Order(int value) { } /** - * - * *
      * The supported array value configurations.
      * 
* * Protobuf enum {@code google.firestore.admin.v1.Index.IndexField.ArrayConfig} */ - public enum ArrayConfig implements com.google.protobuf.ProtocolMessageEnum { + public enum ArrayConfig + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The index does not support additional array queries.
        * 
@@ -920,8 +694,6 @@ public enum ArrayConfig implements com.google.protobuf.ProtocolMessageEnum { */ ARRAY_CONFIG_UNSPECIFIED(0), /** - * - * *
        * The index supports array containment queries.
        * 
@@ -933,8 +705,6 @@ public enum ArrayConfig implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The index does not support additional array queries.
        * 
@@ -943,8 +713,6 @@ public enum ArrayConfig implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRAY_CONFIG_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The index supports array containment queries.
        * 
@@ -953,6 +721,7 @@ public enum ArrayConfig implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTAINS_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -977,47 +746,48 @@ public static ArrayConfig valueOf(int value) { */ public static ArrayConfig forNumber(int value) { switch (value) { - case 0: - return ARRAY_CONFIG_UNSPECIFIED; - case 1: - return CONTAINS; - default: - return null; + case 0: return ARRAY_CONFIG_UNSPECIFIED; + case 1: return CONTAINS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ArrayConfig> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ArrayConfig findValueByNumber(int number) { + return ArrayConfig.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ArrayConfig findValueByNumber(int number) { - return ArrayConfig.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.firestore.admin.v1.Index.IndexField.getDescriptor().getEnumTypes().get(1); } private static final ArrayConfig[] VALUES = values(); - public static ArrayConfig valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ArrayConfig valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1036,16 +806,13 @@ private ArrayConfig(int value) { private int valueModeCase_ = 0; private java.lang.Object valueMode_; - public enum ValueModeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ORDER(2), ARRAY_CONFIG(3), VALUEMODE_NOT_SET(0); private final int value; - private ValueModeCase(int value) { this.value = value; } @@ -1061,31 +828,26 @@ 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; private volatile java.lang.Object fieldPath_; /** - * - * *
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -1093,7 +855,6 @@ public ValueModeCase getValueModeCase() {
      * 
* * string field_path = 1; - * * @return The fieldPath. */ @java.lang.Override @@ -1102,15 +863,14 @@ public java.lang.String getFieldPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; } } /** - * - * *
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -1118,15 +878,16 @@ public java.lang.String getFieldPath() {
      * 
* * string field_path = 1; - * * @return The bytes for fieldPath. */ @java.lang.Override - public com.google.protobuf.ByteString getFieldPathBytes() { + public com.google.protobuf.ByteString + getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -1136,30 +897,24 @@ public com.google.protobuf.ByteString getFieldPathBytes() { public static final int ORDER_FIELD_NUMBER = 2; /** - * - * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return Whether the order field is set. */ public boolean hasOrder() { return valueModeCase_ == 2; } /** - * - * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return The enum numeric value on the wire for order. */ public int getOrderValue() { @@ -1169,54 +924,42 @@ 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) { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.IndexField.Order result = - com.google.firestore.admin.v1.Index.IndexField.Order.valueOf( - (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.valueOf( + (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() { @@ -1226,31 +969,24 @@ 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) { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.IndexField.ArrayConfig result = - com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.valueOf( - (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.valueOf( + (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; @@ -1262,7 +998,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPath_); } @@ -1272,7 +1009,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (valueModeCase_ == 3) { output.writeEnum(3, ((java.lang.Integer) valueMode_)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -1285,16 +1022,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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -1302,27 +1037,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.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: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1347,99 +1084,93 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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 @@ -1449,8 +1180,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A field in an index.
      * The field_path describes which field is indexed, the value_mode describes
@@ -1459,40 +1188,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() {
-        maybeForceBuilderInitialization();
+
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-        maybeForceBuilderInitialization();
-      }
 
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1504,9 +1226,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
@@ -1525,8 +1247,7 @@ 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);
+        com.google.firestore.admin.v1.Index.IndexField result = new com.google.firestore.admin.v1.Index.IndexField(this);
         result.fieldPath_ = fieldPath_;
         if (valueModeCase_ == 2) {
           result.valueMode_ = valueMode_;
@@ -1543,41 +1264,38 @@ public com.google.firestore.admin.v1.Index.IndexField 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) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.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;
@@ -1585,29 +1303,25 @@ 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_;
           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.unknownFields);
+        this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
         return this;
       }
@@ -1622,25 +1336,55 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.firestore.admin.v1.Index.IndexField parsedMessage = null;
+        if (extensionRegistry == null) {
+          throw new java.lang.NullPointerException();
+        }
         try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+          boolean done = false;
+          while (!done) {
+            int tag = input.readTag();
+            switch (tag) {
+              case 0:
+                done = true;
+                break;
+              case 10: {
+                fieldPath_ = input.readStringRequireUtf8();
+
+                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) {
-          parsedMessage = (com.google.firestore.admin.v1.Index.IndexField) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
+          onChanged();
+        } // 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() {
@@ -1650,10 +1394,9 @@ public Builder clearValueMode() {
         return this;
       }
 
+
       private java.lang.Object fieldPath_ = "";
       /**
-       *
-       *
        * 
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1661,13 +1404,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; @@ -1676,8 +1419,6 @@ public java.lang.String getFieldPath() { } } /** - * - * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1685,14 +1426,15 @@ public java.lang.String getFieldPath() {
        * 
* * string field_path = 1; - * * @return The bytes for fieldPath. */ - public com.google.protobuf.ByteString getFieldPathBytes() { + public com.google.protobuf.ByteString + getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -1700,8 +1442,6 @@ public com.google.protobuf.ByteString getFieldPathBytes() { } } /** - * - * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1709,22 +1449,20 @@ public com.google.protobuf.ByteString getFieldPathBytes() {
        * 
* * string field_path = 1; - * * @param value The fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPath(java.lang.String value) { + public Builder setFieldPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fieldPath_ = value; onChanged(); return this; } /** - * - * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1732,18 +1470,15 @@ public Builder setFieldPath(java.lang.String value) {
        * 
* * string field_path = 1; - * * @return This builder for chaining. */ public Builder clearFieldPath() { - + fieldPath_ = getDefaultInstance().getFieldPath(); onChanged(); return this; } /** - * - * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1751,31 +1486,28 @@ 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) { + public Builder setFieldPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fieldPath_ = value; onChanged(); 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 Whether the order field is set. */ @java.lang.Override @@ -1783,15 +1515,12 @@ public boolean hasOrder() { return valueModeCase_ == 2; } /** - * - * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return The enum numeric value on the wire for order. */ @java.lang.Override @@ -1802,15 +1531,12 @@ public int getOrderValue() { return 0; } /** - * - * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @param value The enum numeric value on the wire for order to set. * @return This builder for chaining. */ @@ -1821,40 +1547,31 @@ 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) { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.IndexField.Order result = - com.google.firestore.admin.v1.Index.IndexField.Order.valueOf( - (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.valueOf( + (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. */ @@ -1868,15 +1585,12 @@ public Builder setOrder(com.google.firestore.admin.v1.Index.IndexField.Order val return this; } /** - * - * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return This builder for chaining. */ public Builder clearOrder() { @@ -1889,14 +1603,11 @@ public Builder clearOrder() { } /** - * - * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return Whether the arrayConfig field is set. */ @java.lang.Override @@ -1904,14 +1615,11 @@ public boolean hasArrayConfig() { return valueModeCase_ == 3; } /** - * - * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return The enum numeric value on the wire for arrayConfig. */ @java.lang.Override @@ -1922,14 +1630,11 @@ public int getArrayConfigValue() { return 0; } /** - * - * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @param value The enum numeric value on the wire for arrayConfig to set. * @return This builder for chaining. */ @@ -1940,43 +1645,33 @@ 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) { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.IndexField.ArrayConfig result = - com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.valueOf( - (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.valueOf( + (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(); } @@ -1986,14 +1681,11 @@ public Builder setArrayConfig( return this; } /** - * - * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return This builder for chaining. */ public Builder clearArrayConfig() { @@ -2004,7 +1696,6 @@ public Builder clearArrayConfig() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2017,12 +1708,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(); } @@ -2031,16 +1722,27 @@ public static com.google.firestore.admin.v1.Index.IndexField getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndexField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IndexField(input, extensionRegistry); - } - }; + 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; @@ -2055,13 +1757,12 @@ 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; 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:
@@ -2070,7 +1771,6 @@ public com.google.firestore.admin.v1.Index.IndexField getDefaultInstanceForType(
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2079,15 +1779,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. A server defined name for this index.
    * The form of this name for composite indexes will be:
@@ -2096,15 +1795,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2115,8 +1815,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int QUERY_SCOPE_FIELD_NUMBER = 2; private int queryScope_; /** - * - * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -2127,16 +1825,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @return The enum numeric value on the wire for queryScope. */ - @java.lang.Override - public int getQueryScopeValue() { + @java.lang.Override public int getQueryScopeValue() { return queryScope_; } /** - * - * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -2147,22 +1841,17 @@ public int getQueryScopeValue() {
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @return The queryScope. */ - @java.lang.Override - public com.google.firestore.admin.v1.Index.QueryScope getQueryScope() { + @java.lang.Override public com.google.firestore.admin.v1.Index.QueryScope getQueryScope() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.QueryScope result = - com.google.firestore.admin.v1.Index.QueryScope.valueOf(queryScope_); + com.google.firestore.admin.v1.Index.QueryScope result = com.google.firestore.admin.v1.Index.QueryScope.valueOf(queryScope_); return result == null ? com.google.firestore.admin.v1.Index.QueryScope.UNRECOGNIZED : result; } public static final int FIELDS_FIELD_NUMBER = 3; private java.util.List fields_; /** - * - * *
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -2182,8 +1871,6 @@ public java.util.List getFieldsL
     return fields_;
   }
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -2199,13 +1886,11 @@ public java.util.List getFieldsL
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFieldsOrBuilderList() {
     return fields_;
   }
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -2225,8 +1910,6 @@ public int getFieldsCount() {
     return fields_.size();
   }
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -2246,8 +1929,6 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
     return fields_.get(index);
   }
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -2263,48 +1944,39 @@ 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_;
   /**
-   *
-   *
    * 
    * 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() { + @java.lang.Override public com.google.firestore.admin.v1.Index.State getState() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.State result = - com.google.firestore.admin.v1.Index.State.valueOf(state_); + com.google.firestore.admin.v1.Index.State result = com.google.firestore.admin.v1.Index.State.valueOf(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; @@ -2316,12 +1988,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++) { @@ -2330,7 +2002,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (state_ != com.google.firestore.admin.v1.Index.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -2342,17 +2014,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (queryScope_ - != com.google.firestore.admin.v1.Index.QueryScope.QUERY_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, queryScope_); + if (queryScope_ != com.google.firestore.admin.v1.Index.QueryScope.QUERY_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, queryScope_); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, fields_.get(i)); } if (state_ != com.google.firestore.admin.v1.Index.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -2360,18 +2034,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.Index)) { return super.equals(obj); } com.google.firestore.admin.v1.Index other = (com.google.firestore.admin.v1.Index) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (queryScope_ != other.queryScope_) return false; - if (!getFieldsList().equals(other.getFieldsList())) return false; + if (!getFieldsList() + .equals(other.getFieldsList())) return false; if (state_ != other.state_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2392,108 +2068,102 @@ public int hashCode() { } hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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.
@@ -2501,41 +2171,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.Index}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Index)
       com.google.firestore.admin.v1.IndexOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.IndexProto
-          .internal_static_google_firestore_admin_v1_Index_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.IndexProto
-          .internal_static_google_firestore_admin_v1_Index_fieldAccessorTable
+      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Index.class,
-              com.google.firestore.admin.v1.Index.Builder.class);
+              com.google.firestore.admin.v1.Index.class, com.google.firestore.admin.v1.Index.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.Index.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
-        getFieldsFieldBuilder();
-      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2545,19 +2207,20 @@ public Builder clear() {
 
       if (fieldsBuilder_ == null) {
         fields_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000001);
       } else {
+        fields_ = null;
         fieldsBuilder_.clear();
       }
+      bitField0_ = (bitField0_ & ~0x00000001);
       state_ = 0;
 
       return this;
     }
 
     @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
@@ -2598,39 +2261,38 @@ public com.google.firestore.admin.v1.Index 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.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;
@@ -2664,10 +2326,9 @@ public Builder mergeFrom(com.google.firestore.admin.v1.Index 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_);
           }
@@ -2676,7 +2337,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.Index other) {
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -2691,26 +2352,64 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.admin.v1.Index parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              queryScope_ = input.readEnum();
+
+              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();
+
+              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) {
-        parsedMessage = (com.google.firestore.admin.v1.Index) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // 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:
@@ -2719,13 +2418,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; @@ -2734,8 +2433,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2744,14 +2441,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2759,8 +2457,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2769,22 +2465,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2793,18 +2487,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2813,16 +2504,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2830,8 +2521,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int queryScope_ = 0; /** - * - * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2842,16 +2531,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @return The enum numeric value on the wire for queryScope. */ - @java.lang.Override - public int getQueryScopeValue() { + @java.lang.Override public int getQueryScopeValue() { return queryScope_; } /** - * - * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2862,19 +2547,16 @@ public int getQueryScopeValue() {
      * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @param value The enum numeric value on the wire for queryScope to set. * @return This builder for chaining. */ public Builder setQueryScopeValue(int value) { - + queryScope_ = value; onChanged(); return this; } /** - * - * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2885,19 +2567,15 @@ 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.QueryScope result = - com.google.firestore.admin.v1.Index.QueryScope.valueOf(queryScope_); + com.google.firestore.admin.v1.Index.QueryScope result = com.google.firestore.admin.v1.Index.QueryScope.valueOf(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
@@ -2908,7 +2586,6 @@ public com.google.firestore.admin.v1.Index.QueryScope getQueryScope() {
      * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @param value The queryScope to set. * @return This builder for chaining. */ @@ -2916,14 +2593,12 @@ public Builder setQueryScope(com.google.firestore.admin.v1.Index.QueryScope valu if (value == null) { throw new NullPointerException(); } - + queryScope_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2934,35 +2609,28 @@ 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() { - + queryScope_ = 0; onChanged(); return this; } 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.Index.IndexField, - com.google.firestore.admin.v1.Index.IndexField.Builder, - com.google.firestore.admin.v1.Index.IndexFieldOrBuilder> - fieldsBuilder_; + com.google.firestore.admin.v1.Index.IndexField, com.google.firestore.admin.v1.Index.IndexField.Builder, com.google.firestore.admin.v1.Index.IndexFieldOrBuilder> fieldsBuilder_; /** - * - * *
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2985,8 +2653,6 @@ public java.util.List getFieldsL
       }
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3009,8 +2675,6 @@ public int getFieldsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3033,8 +2697,6 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3049,7 +2711,8 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public Builder setFields(int index, com.google.firestore.admin.v1.Index.IndexField value) {
+    public Builder setFields(
+        int index, com.google.firestore.admin.v1.Index.IndexField value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3063,8 +2726,6 @@ public Builder setFields(int index, com.google.firestore.admin.v1.Index.IndexFie
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3091,8 +2752,6 @@ public Builder setFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3121,8 +2780,6 @@ public Builder addFields(com.google.firestore.admin.v1.Index.IndexField value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3137,7 +2794,8 @@ public Builder addFields(com.google.firestore.admin.v1.Index.IndexField value) {
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public Builder addFields(int index, com.google.firestore.admin.v1.Index.IndexField value) {
+    public Builder addFields(
+        int index, com.google.firestore.admin.v1.Index.IndexField value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3151,8 +2809,6 @@ public Builder addFields(int index, com.google.firestore.admin.v1.Index.IndexFie
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3179,8 +2835,6 @@ public Builder addFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3207,8 +2861,6 @@ public Builder addFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3227,7 +2879,8 @@ public Builder addAllFields(
         java.lang.Iterable values) {
       if (fieldsBuilder_ == null) {
         ensureFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, fields_);
         onChanged();
       } else {
         fieldsBuilder_.addAllMessages(values);
@@ -3235,8 +2888,6 @@ public Builder addAllFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3262,8 +2913,6 @@ public Builder clearFields() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3289,8 +2938,6 @@ public Builder removeFields(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3305,12 +2952,11 @@ public Builder removeFields(int index) {
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public com.google.firestore.admin.v1.Index.IndexField.Builder getFieldsBuilder(int index) {
+    public com.google.firestore.admin.v1.Index.IndexField.Builder getFieldsBuilder(
+        int index) {
       return getFieldsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3325,16 +2971,14 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder getFieldsBuilder(i
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(int index) {
+    public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(
+        int index) {
       if (fieldsBuilder_ == null) {
-        return fields_.get(index);
-      } else {
+        return fields_.get(index);  } else {
         return fieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3349,8 +2993,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 {
@@ -3358,8 +3002,6 @@ public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3375,12 +3017,10 @@ public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilde
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
     public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder() {
-      return getFieldsFieldBuilder()
-          .addBuilder(com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
+      return getFieldsFieldBuilder().addBuilder(
+          com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3395,13 +3035,12 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder()
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(int index) {
-      return getFieldsFieldBuilder()
-          .addBuilder(index, com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
+    public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(
+        int index) {
+      return getFieldsFieldBuilder().addBuilder(
+          index, com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3416,23 +3055,20 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(i
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public java.util.List
-        getFieldsBuilderList() {
+    public java.util.List 
+         getFieldsBuilderList() {
       return getFieldsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.admin.v1.Index.IndexField,
-            com.google.firestore.admin.v1.Index.IndexField.Builder,
-            com.google.firestore.admin.v1.Index.IndexFieldOrBuilder>
+        com.google.firestore.admin.v1.Index.IndexField, com.google.firestore.admin.v1.Index.IndexField.Builder, com.google.firestore.admin.v1.Index.IndexFieldOrBuilder> 
         getFieldsFieldBuilder() {
       if (fieldsBuilder_ == null) {
-        fieldsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.admin.v1.Index.IndexField,
-                com.google.firestore.admin.v1.Index.IndexField.Builder,
-                com.google.firestore.admin.v1.Index.IndexFieldOrBuilder>(
-                fields_, ((bitField0_ & 0x00000001) != 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_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         fields_ = null;
       }
       return fieldsBuilder_;
@@ -3440,65 +3076,51 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(i
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The serving state of the index.
      * 
* * .google.firestore.admin.v1.Index.State state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The serving state of the index.
      * 
* * .google.firestore.admin.v1.Index.State state = 4; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.State result = - com.google.firestore.admin.v1.Index.State.valueOf(state_); + com.google.firestore.admin.v1.Index.State result = com.google.firestore.admin.v1.Index.State.valueOf(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. */ @@ -3506,31 +3128,28 @@ public Builder setState(com.google.firestore.admin.v1.Index.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; 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); } @@ -3540,12 +3159,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(); } @@ -3554,16 +3173,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 { - return new Index(input, extensionRegistry); - } - }; + 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; @@ -3578,4 +3208,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Index getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java similarity index 100% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java similarity index 70% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java index ecca29b34b..e118f548f0 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** - * - * *
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.IndexOperationMetadata}
  */
-public final class IndexOperationMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class IndexOperationMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.IndexOperationMetadata)
     IndexOperationMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use IndexOperationMetadata.newBuilder() to construct.
   private IndexOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private IndexOperationMetadata() {
     index_ = "";
     state_ = 0;
@@ -45,156 +27,37 @@ private IndexOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new IndexOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private IndexOperationMetadata(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
-              }
-              endTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              index_ = s;
-              break;
-            }
-          case 32:
-            {
-              int rawValue = input.readEnum();
-
-              state_ = rawValue;
-              break;
-            }
-          case 42:
-            {
-              com.google.firestore.admin.v1.Progress.Builder subBuilder = null;
-              if (progressDocuments_ != null) {
-                subBuilder = progressDocuments_.toBuilder();
-              }
-              progressDocuments_ =
-                  input.readMessage(
-                      com.google.firestore.admin.v1.Progress.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(progressDocuments_);
-                progressDocuments_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 50:
-            {
-              com.google.firestore.admin.v1.Progress.Builder subBuilder = null;
-              if (progressBytes_ != null) {
-                subBuilder = progressBytes_.toBuilder();
-              }
-              progressBytes_ =
-                  input.readMessage(
-                      com.google.firestore.admin.v1.Progress.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(progressBytes_);
-                progressBytes_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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 @@ -202,14 +65,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -217,8 +77,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time this operation started.
    * 
@@ -233,15 +91,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -249,15 +104,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -265,8 +117,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -282,15 +132,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int INDEX_FIELD_NUMBER = 3;
   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 @@ -299,30 +146,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 { @@ -333,50 +180,38 @@ public com.google.protobuf.ByteString getIndexBytes() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.firestore.admin.v1.OperationState getState() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.valueOf(state_); + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(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 @@ -384,25 +219,18 @@ public boolean hasProgressDocuments() { return progressDocuments_ != null; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; - * * @return The progressDocuments. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressDocuments() { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -417,14 +245,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui 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 @@ -432,25 +257,18 @@ public boolean hasProgressBytes() { return progressBytes_ != null; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; - * * @return The progressBytes. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -463,7 +281,6 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -475,7 +292,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -485,8 +303,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(index_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, index_); } - if (state_ - != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } if (progressDocuments_ != null) { @@ -495,7 +312,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (progressBytes_ != null) { output.writeMessage(6, getProgressBytes()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -505,25 +322,29 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -531,33 +352,37 @@ public int getSerializedSize() { @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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -588,109 +413,102 @@ public int hashCode() { hash = (37 * hash) + PROGRESS_BYTES_FIELD_NUMBER; hash = (53 * hash) + getProgressBytes().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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].
@@ -698,39 +516,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.IndexOperationMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.IndexOperationMetadata)
       com.google.firestore.admin.v1.IndexOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.IndexOperationMetadata.class,
-              com.google.firestore.admin.v1.IndexOperationMetadata.Builder.class);
+              com.google.firestore.admin.v1.IndexOperationMetadata.class, com.google.firestore.admin.v1.IndexOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.IndexOperationMetadata.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -766,9 +578,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
@@ -787,8 +599,7 @@ 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);
+      com.google.firestore.admin.v1.IndexOperationMetadata result = new com.google.firestore.admin.v1.IndexOperationMetadata(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -819,39 +630,38 @@ public com.google.firestore.admin.v1.IndexOperationMetadata 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.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;
@@ -859,8 +669,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.admin.v1.IndexOperationMetadata other) {
-      if (other == com.google.firestore.admin.v1.IndexOperationMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.admin.v1.IndexOperationMetadata.getDefaultInstance()) return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -880,7 +689,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.IndexOperationMetadata ot
       if (other.hasProgressBytes()) {
         mergeProgressBytes(other.getProgressBytes());
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -895,50 +704,91 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.admin.v1.IndexOperationMetadata parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 26: {
+              index_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 32: {
+              state_ = input.readEnum();
+
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getProgressDocumentsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getProgressBytesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
-        parsedMessage =
-            (com.google.firestore.admin.v1.IndexOperationMetadata) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // finally
       return this;
     }
 
     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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -949,8 +799,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time this operation started.
      * 
@@ -971,15 +819,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -990,8 +837,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1002,7 +847,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -1014,8 +859,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1034,8 +877,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1043,13 +884,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time this operation started.
      * 
@@ -1060,12 +899,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time this operation started.
      * 
@@ -1073,17 +911,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1091,35 +926,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * 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() { @@ -1130,8 +956,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1153,8 +977,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1162,7 +984,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1173,8 +996,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1186,7 +1007,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1198,8 +1019,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1219,8 +1038,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1229,13 +1046,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1247,12 +1062,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1261,17 +1075,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1279,21 +1090,19 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private java.lang.Object index_ = "";
     /**
-     *
-     *
      * 
      * The index resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* * string index = 3; - * * @return The index. */ public java.lang.String getIndex() { java.lang.Object ref = index_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; @@ -1302,22 +1111,21 @@ public java.lang.String getIndex() { } } /** - * - * *
      * The index resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* * string index = 3; - * * @return The bytes for index. */ - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -1325,64 +1133,57 @@ public com.google.protobuf.ByteString getIndexBytes() { } } /** - * - * *
      * The index resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* * string index = 3; - * * @param value The index to set. * @return This builder for chaining. */ - public Builder setIndex(java.lang.String value) { + public Builder setIndex( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + index_ = value; 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() { - + index_ = getDefaultInstance().getIndex(); 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; - * * @param value The bytes for index to set. * @return This builder for chaining. */ - public Builder setIndexBytes(com.google.protobuf.ByteString value) { + public Builder setIndexBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + index_ = value; onChanged(); return this; @@ -1390,65 +1191,51 @@ public Builder setIndexBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.valueOf(state_); + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(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. */ @@ -1456,24 +1243,21 @@ public Builder setState(com.google.firestore.admin.v1.OperationState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1481,47 +1265,34 @@ public Builder clearState() { private com.google.firestore.admin.v1.Progress progressDocuments_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressDocumentsBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressDocumentsBuilder_; /** - * - * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; - * * @return Whether the progressDocuments field is set. */ public boolean hasProgressDocuments() { return progressDocumentsBuilder_ != null || progressDocuments_ != null; } /** - * - * *
      * 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.
      * 
@@ -1542,8 +1313,6 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1562,8 +1331,6 @@ public Builder setProgressDocuments( return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1574,9 +1341,7 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val if (progressDocumentsBuilder_ == null) { if (progressDocuments_ != null) { progressDocuments_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_).mergeFrom(value).buildPartial(); } else { progressDocuments_ = value; } @@ -1588,8 +1353,6 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1608,8 +1371,6 @@ public Builder clearProgressDocuments() { return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1617,13 +1378,11 @@ public Builder clearProgressDocuments() { * .google.firestore.admin.v1.Progress progress_documents = 5; */ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilder() { - + onChanged(); return getProgressDocumentsFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1634,14 +1393,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui if (progressDocumentsBuilder_ != null) { return progressDocumentsBuilder_.getMessageOrBuilder(); } else { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1649,17 +1405,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui * .google.firestore.admin.v1.Progress progress_documents = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressDocumentsFieldBuilder() { if (progressDocumentsBuilder_ == null) { - progressDocumentsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressDocuments(), getParentForChildren(), isClean()); + progressDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressDocuments(), + getParentForChildren(), + isClean()); progressDocuments_ = null; } return progressDocumentsBuilder_; @@ -1667,47 +1420,34 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui private com.google.firestore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressBytesBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; /** - * - * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; - * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return progressBytesBuilder_ != null || progressBytes_ != null; } /** - * - * *
      * 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.
      * 
@@ -1728,8 +1468,6 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1748,8 +1486,6 @@ public Builder setProgressBytes( return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1760,9 +1496,7 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) if (progressBytesBuilder_ == null) { if (progressBytes_ != null) { progressBytes_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_).mergeFrom(value).buildPartial(); } else { progressBytes_ = value; } @@ -1774,8 +1508,6 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1794,8 +1526,6 @@ public Builder clearProgressBytes() { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1803,13 +1533,11 @@ public Builder clearProgressBytes() { * .google.firestore.admin.v1.Progress progress_bytes = 6; */ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() { - + onChanged(); return getProgressBytesFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1820,14 +1548,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1835,24 +1560,21 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), getParentForChildren(), isClean()); + progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), + getParentForChildren(), + isClean()); progressBytes_ = null; } return progressBytesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1862,12 +1584,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(); } @@ -1876,16 +1598,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 { - return new IndexOperationMetadata(input, extensionRegistry); - } - }; + 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; @@ -1900,4 +1633,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.IndexOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java similarity index 82% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java index 1a4a29da2a..ed223fcf7d 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface IndexOperationMetadataOrBuilder - extends +public interface IndexOperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.IndexOperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time this operation started.
    * 
@@ -59,34 +35,26 @@ public interface IndexOperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -97,84 +65,65 @@ public interface IndexOperationMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The index resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* * string index = 3; - * * @return The index. */ java.lang.String getIndex(); /** - * - * *
    * The index resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* * string index = 3; - * * @return The bytes for index. */ - com.google.protobuf.ByteString getIndexBytes(); + com.google.protobuf.ByteString + getIndexBytes(); /** - * - * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @return The state. */ com.google.firestore.admin.v1.OperationState getState(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; - * * @return Whether the progressDocuments field is set. */ boolean hasProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; - * * @return The progressDocuments. */ com.google.firestore.admin.v1.Progress getProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -184,32 +133,24 @@ public interface IndexOperationMetadataOrBuilder com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; - * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; - * * @return The progressBytes. */ com.google.firestore.admin.v1.Progress getProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java similarity index 88% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java index 498fa91362..82872c483f 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/index.proto package com.google.firestore.admin.v1; -public interface IndexOrBuilder - extends +public interface IndexOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Index) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. A server defined name for this index.
    * The form of this name for composite indexes will be:
@@ -34,13 +16,10 @@ public interface IndexOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. A server defined name for this index.
    * The form of this name for composite indexes will be:
@@ -49,14 +28,12 @@ public interface IndexOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -67,13 +44,10 @@ public interface IndexOrBuilder
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @return The enum numeric value on the wire for queryScope. */ int getQueryScopeValue(); /** - * - * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -84,14 +58,11 @@ public interface IndexOrBuilder
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @return The queryScope. */ com.google.firestore.admin.v1.Index.QueryScope getQueryScope(); /** - * - * *
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -106,10 +77,9 @@ public interface IndexOrBuilder
    *
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
-  java.util.List getFieldsList();
+  java.util.List 
+      getFieldsList();
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -126,8 +96,6 @@ public interface IndexOrBuilder
    */
   com.google.firestore.admin.v1.Index.IndexField getFields(int index);
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -144,8 +112,6 @@ public interface IndexOrBuilder
    */
   int getFieldsCount();
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -160,11 +126,9 @@ public interface IndexOrBuilder
    *
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
-  java.util.List
+  java.util.List 
       getFieldsOrBuilderList();
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -179,29 +143,24 @@ public interface IndexOrBuilder
    *
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
-  com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(int index);
+  com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. The serving state of the index.
    * 
* * .google.firestore.admin.v1.Index.State state = 4; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The serving state of the index.
    * 
* * .google.firestore.admin.v1.Index.State state = 4; - * * @return The state. */ com.google.firestore.admin.v1.Index.State getState(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java new file mode 100644 index 0000000000..e0e4ea362e --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java @@ -0,0 +1,92 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/index.proto + +package com.google.firestore.admin.v1; + +public final class IndexProto { + private IndexProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Index_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Index_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Index_IndexField_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n%google/firestore/admin/v1/index.proto\022" + + "\031google.firestore.admin.v1\032\031google/api/r" + + "esource.proto\"\243\006\n\005Index\022\014\n\004name\030\001 \001(\t\022@\n" + + "\013query_scope\030\002 \001(\0162+.google.firestore.ad" + + "min.v1.Index.QueryScope\022;\n\006fields\030\003 \003(\0132" + + "+.google.firestore.admin.v1.Index.IndexF" + + "ield\0225\n\005state\030\004 \001(\0162&.google.firestore.a" + + "dmin.v1.Index.State\032\275\002\n\nIndexField\022\022\n\nfi" + + "eld_path\030\001 \001(\t\022B\n\005order\030\002 \001(\01621.google.f" + + "irestore.admin.v1.Index.IndexField.Order" + + "H\000\022O\n\014array_config\030\003 \001(\01627.google.firest" + + "ore.admin.v1.Index.IndexField.ArrayConfi" + + "gH\000\"=\n\005Order\022\025\n\021ORDER_UNSPECIFIED\020\000\022\r\n\tA" + + "SCENDING\020\001\022\016\n\nDESCENDING\020\002\"9\n\013ArrayConfi" + + "g\022\034\n\030ARRAY_CONFIG_UNSPECIFIED\020\000\022\014\n\010CONTA" + + "INS\020\001B\014\n\nvalue_mode\"O\n\nQueryScope\022\033\n\027QUE" + + "RY_SCOPE_UNSPECIFIED\020\000\022\016\n\nCOLLECTION\020\001\022\024" + + "\n\020COLLECTION_GROUP\020\002\"I\n\005State\022\025\n\021STATE_U" + + "NSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\020\n" + + "\014NEEDS_REPAIR\020\003:z\352Aw\n\036firestore.googleap" + + "is.com/Index\022Uprojects/{project}/databas" + + "es/{database}/collectionGroups/{collecti" + + "on}/indexes/{index}B\336\001\n\035com.google.fires" + + "tore.admin.v1B\nIndexProtoP\001Z>google.gola" + + "ng.org/genproto/googleapis/firestore/adm" + + "in/v1;admin\242\002\004GCFS\252\002\037Google.Cloud.Firest" + + "ore.Admin.V1\312\002\037Google\\Cloud\\Firestore\\Ad" + + "min\\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.ResourceProto.getDescriptor(), + }); + internal_static_google_firestore_admin_v1_Index_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_admin_v1_Index_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Index_descriptor, + new java.lang.String[] { "Name", "QueryScope", "Fields", "State", }); + internal_static_google_firestore_admin_v1_Index_IndexField_descriptor = + internal_static_google_firestore_admin_v1_Index_descriptor.getNestedTypes().get(0); + internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Index_IndexField_descriptor, + new java.lang.String[] { "FieldPath", "Order", "ArrayConfig", "ValueMode", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java similarity index 57% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java index 17635c6f40..b721e9178c 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java @@ -1,132 +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; /** - * - * *
  * A request to list the Firestore Databases in all locations for a project.
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListDatabasesRequest} */ -public final class ListDatabasesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatabasesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListDatabasesRequest) ListDatabasesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatabasesRequest.newBuilder() to construct. private ListDatabasesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatabasesRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatabasesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ListDatabasesRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -135,32 +65,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -169,7 +97,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,11 +108,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -197,7 +125,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -205,16 +133,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -227,148 +155,135 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +293,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 @@ -399,8 +314,7 @@ 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); + com.google.firestore.admin.v1.ListDatabasesRequest result = new com.google.firestore.admin.v1.ListDatabasesRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -410,39 +324,38 @@ public com.google.firestore.admin.v1.ListDatabasesRequest 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.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; @@ -450,13 +363,12 @@ 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_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -471,40 +383,53 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.ListDatabasesRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + parent_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = - (com.google.firestore.admin.v1.ListDatabasesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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; @@ -513,24 +438,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -538,77 +460,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +527,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(); } @@ -632,16 +541,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 { - return new ListDatabasesRequest(input, extensionRegistry); - } - }; + 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; @@ -656,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListDatabasesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java new file mode 100644 index 0000000000..9d60d066a8 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface ListDatabasesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListDatabasesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. A parent name of the form
+   * `projects/{project_id}`
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. A parent name of the form
+   * `projects/{project_id}`
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java similarity index 67% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java index ada50d306e..0fd9828c09 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java @@ -1,131 +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; /** - * - * *
  * The list of databases for a project.
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListDatabasesResponse} */ -public final class ListDatabasesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatabasesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListDatabasesResponse) ListDatabasesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatabasesResponse.newBuilder() to construct. private ListDatabasesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatabasesResponse() { databases_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatabasesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ListDatabasesResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - databases_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - databases_.add( - input.readMessage( - com.google.firestore.admin.v1.Database.parser(), extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - databases_ = java.util.Collections.unmodifiableList(databases_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private java.util.List databases_; /** - * - * *
    * The databases in the project.
    * 
@@ -137,8 +62,6 @@ public java.util.List getDatabasesList() return databases_; } /** - * - * *
    * The databases in the project.
    * 
@@ -146,13 +69,11 @@ public java.util.List getDatabasesList() * repeated .google.firestore.admin.v1.Database databases = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDatabasesOrBuilderList() { return databases_; } /** - * - * *
    * The databases in the project.
    * 
@@ -164,8 +85,6 @@ public int getDatabasesCount() { return databases_.size(); } /** - * - * *
    * The databases in the project.
    * 
@@ -177,8 +96,6 @@ public com.google.firestore.admin.v1.Database getDatabases(int index) { return databases_.get(index); } /** - * - * *
    * The databases in the project.
    * 
@@ -186,12 +103,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; @@ -203,11 +120,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 { for (int i = 0; i < databases_.size(); i++) { output.writeMessage(1, databases_.get(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -217,9 +135,10 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -227,16 +146,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getDatabasesList() + .equals(other.getDatabasesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -251,166 +170,152 @@ public int hashCode() { hash = (37 * hash) + DATABASES_FIELD_NUMBER; hash = (53 * hash) + getDatabasesList().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getDatabasesFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); if (databasesBuilder_ == null) { databases_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + databases_ = null; databasesBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); 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_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 @@ -429,8 +334,7 @@ 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); int from_bitField0_ = bitField0_; if (databasesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -449,39 +353,38 @@ public com.google.firestore.admin.v1.ListDatabasesResponse 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.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; @@ -489,8 +392,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListDatabasesResponse other) { - if (other == com.google.firestore.admin.v1.ListDatabasesResponse.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ListDatabasesResponse.getDefaultInstance()) return this; if (databasesBuilder_ == null) { if (!other.databases_.isEmpty()) { if (databases_.isEmpty()) { @@ -509,16 +411,15 @@ 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_); } } } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -533,42 +434,60 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.ListDatabasesResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.firestore.admin.v1.ListDatabasesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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.
      * 
@@ -583,8 +502,6 @@ public java.util.List getDatabasesList() } } /** - * - * *
      * The databases in the project.
      * 
@@ -599,8 +516,6 @@ public int getDatabasesCount() { } } /** - * - * *
      * The databases in the project.
      * 
@@ -615,15 +530,14 @@ public com.google.firestore.admin.v1.Database getDatabases(int index) { } } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public Builder setDatabases(int index, com.google.firestore.admin.v1.Database value) { + public Builder setDatabases( + int index, com.google.firestore.admin.v1.Database value) { if (databasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -637,8 +551,6 @@ public Builder setDatabases(int index, com.google.firestore.admin.v1.Database va return this; } /** - * - * *
      * The databases in the project.
      * 
@@ -657,8 +569,6 @@ public Builder setDatabases( return this; } /** - * - * *
      * The databases in the project.
      * 
@@ -679,15 +589,14 @@ public Builder addDatabases(com.google.firestore.admin.v1.Database value) { return this; } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public Builder addDatabases(int index, com.google.firestore.admin.v1.Database value) { + public Builder addDatabases( + int index, com.google.firestore.admin.v1.Database value) { if (databasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -701,15 +610,14 @@ public Builder addDatabases(int index, com.google.firestore.admin.v1.Database va return this; } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public Builder addDatabases(com.google.firestore.admin.v1.Database.Builder builderForValue) { + public Builder addDatabases( + com.google.firestore.admin.v1.Database.Builder builderForValue) { if (databasesBuilder_ == null) { ensureDatabasesIsMutable(); databases_.add(builderForValue.build()); @@ -720,8 +628,6 @@ public Builder addDatabases(com.google.firestore.admin.v1.Database.Builder build return this; } /** - * - * *
      * The databases in the project.
      * 
@@ -740,8 +646,6 @@ public Builder addDatabases( return this; } /** - * - * *
      * The databases in the project.
      * 
@@ -752,7 +656,8 @@ public Builder addAllDatabases( java.lang.Iterable values) { if (databasesBuilder_ == null) { ensureDatabasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, databases_); onChanged(); } else { databasesBuilder_.addAllMessages(values); @@ -760,8 +665,6 @@ public Builder addAllDatabases( return this; } /** - * - * *
      * The databases in the project.
      * 
@@ -779,8 +682,6 @@ public Builder clearDatabases() { return this; } /** - * - * *
      * The databases in the project.
      * 
@@ -798,44 +699,39 @@ public Builder removeDatabases(int index) { return this; } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public com.google.firestore.admin.v1.Database.Builder getDatabasesBuilder(int index) { + public com.google.firestore.admin.v1.Database.Builder getDatabasesBuilder( + int index) { return getDatabasesFieldBuilder().getBuilder(index); } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index) { + public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder( + int index) { if (databasesBuilder_ == null) { - return databases_.get(index); - } else { + return databases_.get(index); } else { return databasesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public java.util.List - getDatabasesOrBuilderList() { + public java.util.List + getDatabasesOrBuilderList() { if (databasesBuilder_ != null) { return databasesBuilder_.getMessageOrBuilderList(); } else { @@ -843,8 +739,6 @@ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder(int } } /** - * - * *
      * The databases in the project.
      * 
@@ -852,55 +746,49 @@ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder(int * repeated .google.firestore.admin.v1.Database databases = 1; */ public com.google.firestore.admin.v1.Database.Builder addDatabasesBuilder() { - return getDatabasesFieldBuilder() - .addBuilder(com.google.firestore.admin.v1.Database.getDefaultInstance()); + return getDatabasesFieldBuilder().addBuilder( + com.google.firestore.admin.v1.Database.getDefaultInstance()); } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public com.google.firestore.admin.v1.Database.Builder addDatabasesBuilder(int index) { - return getDatabasesFieldBuilder() - .addBuilder(index, com.google.firestore.admin.v1.Database.getDefaultInstance()); + public com.google.firestore.admin.v1.Database.Builder addDatabasesBuilder( + int index) { + return getDatabasesFieldBuilder().addBuilder( + index, com.google.firestore.admin.v1.Database.getDefaultInstance()); } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public java.util.List - getDatabasesBuilderList() { + public java.util.List + getDatabasesBuilderList() { return getDatabasesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Database, - com.google.firestore.admin.v1.Database.Builder, - com.google.firestore.admin.v1.DatabaseOrBuilder> + com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder> getDatabasesFieldBuilder() { if (databasesBuilder_ == null) { - databasesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Database, - com.google.firestore.admin.v1.Database.Builder, - com.google.firestore.admin.v1.DatabaseOrBuilder>( - databases_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + databasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder>( + databases_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); databases_ = null; } return databasesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -910,12 +798,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(); } @@ -924,16 +812,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 { - return new ListDatabasesResponse(input, extensionRegistry); - } - }; + 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; @@ -948,4 +847,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListDatabasesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java similarity index 61% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java index 251d16fadf..6f8c2438d6 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListDatabasesResponseOrBuilder - extends +public interface ListDatabasesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListDatabasesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The databases in the project.
    * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - java.util.List getDatabasesList(); + java.util.List + getDatabasesList(); /** - * - * *
    * The databases in the project.
    * 
@@ -44,8 +25,6 @@ public interface ListDatabasesResponseOrBuilder */ com.google.firestore.admin.v1.Database getDatabases(int index); /** - * - * *
    * The databases in the project.
    * 
@@ -54,24 +33,21 @@ public interface ListDatabasesResponseOrBuilder */ int getDatabasesCount(); /** - * - * *
    * The databases in the project.
    * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - java.util.List + java.util.List getDatabasesOrBuilderList(); /** - * - * *
    * The databases in the project.
    * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index); + com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder( + int index); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java similarity index 67% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java index b0dc73c37e..770cd0ef9d 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListFieldsRequest} */ -public final class ListFieldsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFieldsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListFieldsRequest) ListFieldsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFieldsRequest.newBuilder() to construct. private ListFieldsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFieldsRequest() { parent_ = ""; filter_ = ""; @@ -45,109 +27,38 @@ private ListFieldsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFieldsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ListFieldsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -156,32 +67,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; 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
@@ -203,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -212,15 +118,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * The filter to apply to list results. Currently,
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -230,15 +135,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -249,14 +155,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -267,8 +170,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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
@@ -276,7 +177,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -285,15 +185,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -301,15 +200,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -318,7 +218,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -343,7 +243,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pageToken_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -359,12 +259,13 @@ 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_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -372,19 +273,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.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; - if (!unknownFields.equals(other.unknownFields)) 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; } @@ -403,148 +307,135 @@ public int hashCode() { hash = (53 * hash) + getPageSize(); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -560,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; } @java.lang.Override @@ -581,8 +472,7 @@ 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); + com.google.firestore.admin.v1.ListFieldsRequest result = new com.google.firestore.admin.v1.ListFieldsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -595,39 +485,38 @@ public com.google.firestore.admin.v1.ListFieldsRequest 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.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; @@ -635,8 +524,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListFieldsRequest other) { - if (other == com.google.firestore.admin.v1.ListFieldsRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ListFieldsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -652,7 +540,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ListFieldsRequest other) pageToken_ = other.pageToken_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -667,39 +555,68 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.ListFieldsRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = (com.google.firestore.admin.v1.ListFieldsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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; @@ -708,24 +625,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -733,70 +647,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -804,8 +705,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -815,13 +714,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -830,8 +729,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -841,14 +738,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -856,8 +754,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -867,22 +763,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -892,18 +786,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -913,31 +804,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The number of results to return.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -945,36 +833,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The number of results to return.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The number of results to return.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -982,8 +864,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -991,13 +871,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; @@ -1006,8 +886,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -1015,14 +893,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1030,8 +909,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -1039,22 +916,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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
@@ -1062,18 +937,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); 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
@@ -1081,23 +953,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1107,12 +979,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(); } @@ -1121,16 +993,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 { - return new ListFieldsRequest(input, extensionRegistry); - } - }; + 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; @@ -1145,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListFieldsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java index b92a37ddd1..3b4e824ecc 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListFieldsRequestOrBuilder - extends +public interface ListFieldsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListFieldsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The filter to apply to list results. Currently,
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -66,13 +39,10 @@ public interface ListFieldsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * The filter to apply to list results. Currently,
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -82,27 +52,22 @@ public interface ListFieldsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -110,13 +75,10 @@ public interface ListFieldsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -124,8 +86,8 @@ public interface ListFieldsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java similarity index 68% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java index eb4dffa770..45b6cde4e9 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The response for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListFieldsResponse} */ -public final class ListFieldsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFieldsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListFieldsResponse) ListFieldsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFieldsResponse.newBuilder() to construct. private ListFieldsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFieldsResponse() { fields_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,96 +26,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ListFieldsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fields_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - fields_.add( - input.readMessage( - com.google.firestore.admin.v1.Field.parser(), extensionRegistry)); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - fields_ = java.util.Collections.unmodifiableList(fields_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private java.util.List fields_; /** - * - * *
    * The requested fields.
    * 
@@ -145,8 +63,6 @@ public java.util.List getFieldsList() { return fields_; } /** - * - * *
    * The requested fields.
    * 
@@ -154,13 +70,11 @@ public java.util.List getFieldsList() { * repeated .google.firestore.admin.v1.Field fields = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** - * - * *
    * The requested fields.
    * 
@@ -172,8 +86,6 @@ public int getFieldsCount() { return fields_.size(); } /** - * - * *
    * The requested fields.
    * 
@@ -185,8 +97,6 @@ public com.google.firestore.admin.v1.Field getFields(int index) { return fields_.get(index); } /** - * - * *
    * The requested fields.
    * 
@@ -194,22 +104,20 @@ 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; 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 @@ -218,30 +126,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 { @@ -250,7 +158,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,14 +169,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 { for (int i = 0; i < fields_.size(); i++) { output.writeMessage(1, fields_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -279,12 +187,13 @@ 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_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -292,17 +201,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.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 (!unknownFields.equals(other.unknownFields)) 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; } @@ -319,168 +229,154 @@ public int hashCode() { } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getFieldsFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); if (fieldsBuilder_ == null) { fields_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + fields_ = null; fieldsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; 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_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 @@ -499,8 +395,7 @@ 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); int from_bitField0_ = bitField0_; if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -520,39 +415,38 @@ public com.google.firestore.admin.v1.ListFieldsResponse 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.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; @@ -560,8 +454,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListFieldsResponse other) { - if (other == com.google.firestore.admin.v1.ListFieldsResponse.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ListFieldsResponse.getDefaultInstance()) return this; if (fieldsBuilder_ == null) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { @@ -580,10 +473,9 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ListFieldsResponse other) fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -593,7 +485,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ListFieldsResponse other) nextPageToken_ = other.nextPageToken_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -608,41 +500,65 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.ListFieldsResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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(); + + 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) { - parsedMessage = (com.google.firestore.admin.v1.ListFieldsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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.
      * 
@@ -657,8 +573,6 @@ public java.util.List getFieldsList() { } } /** - * - * *
      * The requested fields.
      * 
@@ -673,8 +587,6 @@ public int getFieldsCount() { } } /** - * - * *
      * The requested fields.
      * 
@@ -689,15 +601,14 @@ public com.google.firestore.admin.v1.Field getFields(int index) { } } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public Builder setFields(int index, com.google.firestore.admin.v1.Field value) { + public Builder setFields( + int index, com.google.firestore.admin.v1.Field value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -711,8 +622,6 @@ public Builder setFields(int index, com.google.firestore.admin.v1.Field value) { return this; } /** - * - * *
      * The requested fields.
      * 
@@ -731,8 +640,6 @@ public Builder setFields( return this; } /** - * - * *
      * The requested fields.
      * 
@@ -753,15 +660,14 @@ public Builder addFields(com.google.firestore.admin.v1.Field value) { return this; } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public Builder addFields(int index, com.google.firestore.admin.v1.Field value) { + public Builder addFields( + int index, com.google.firestore.admin.v1.Field value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -775,15 +681,14 @@ public Builder addFields(int index, com.google.firestore.admin.v1.Field value) { return this; } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public Builder addFields(com.google.firestore.admin.v1.Field.Builder builderForValue) { + public Builder addFields( + com.google.firestore.admin.v1.Field.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(builderForValue.build()); @@ -794,8 +699,6 @@ public Builder addFields(com.google.firestore.admin.v1.Field.Builder builderForV return this; } /** - * - * *
      * The requested fields.
      * 
@@ -814,8 +717,6 @@ public Builder addFields( return this; } /** - * - * *
      * The requested fields.
      * 
@@ -826,7 +727,8 @@ public Builder addAllFields( java.lang.Iterable values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -834,8 +736,6 @@ public Builder addAllFields( return this; } /** - * - * *
      * The requested fields.
      * 
@@ -853,8 +753,6 @@ public Builder clearFields() { return this; } /** - * - * *
      * The requested fields.
      * 
@@ -872,44 +770,39 @@ public Builder removeFields(int index) { return this; } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public com.google.firestore.admin.v1.Field.Builder getFieldsBuilder(int index) { + public com.google.firestore.admin.v1.Field.Builder getFieldsBuilder( + int index) { return getFieldsFieldBuilder().getBuilder(index); } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder(int index) { + public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder( + int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); - } else { + return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -917,8 +810,6 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder(int index } } /** - * - * *
      * The requested fields.
      * 
@@ -926,47 +817,42 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder(int index * repeated .google.firestore.admin.v1.Field fields = 1; */ public com.google.firestore.admin.v1.Field.Builder addFieldsBuilder() { - return getFieldsFieldBuilder() - .addBuilder(com.google.firestore.admin.v1.Field.getDefaultInstance()); + return getFieldsFieldBuilder().addBuilder( + com.google.firestore.admin.v1.Field.getDefaultInstance()); } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public com.google.firestore.admin.v1.Field.Builder addFieldsBuilder(int index) { - return getFieldsFieldBuilder() - .addBuilder(index, com.google.firestore.admin.v1.Field.getDefaultInstance()); + public com.google.firestore.admin.v1.Field.Builder addFieldsBuilder( + int index) { + return getFieldsFieldBuilder().addBuilder( + index, com.google.firestore.admin.v1.Field.getDefaultInstance()); } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public java.util.List getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Field, - com.google.firestore.admin.v1.Field.Builder, - com.google.firestore.admin.v1.FieldOrBuilder> + com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Field, - com.google.firestore.admin.v1.Field.Builder, - com.google.firestore.admin.v1.FieldOrBuilder>( - fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder>( + fields_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); fields_ = null; } return fieldsBuilder_; @@ -974,21 +860,19 @@ public java.util.List getFieldsBuil private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -997,22 +881,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1020,71 +903,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1094,12 +970,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(); } @@ -1108,16 +984,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 { - return new ListFieldsResponse(input, extensionRegistry); - } - }; + 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; @@ -1132,4 +1019,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListFieldsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java index f855d32e5a..48e953d235 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListFieldsResponseOrBuilder - extends +public interface ListFieldsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListFieldsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The requested fields.
    * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - java.util.List getFieldsList(); + java.util.List + getFieldsList(); /** - * - * *
    * The requested fields.
    * 
@@ -44,8 +25,6 @@ public interface ListFieldsResponseOrBuilder */ com.google.firestore.admin.v1.Field getFields(int index); /** - * - * *
    * The requested fields.
    * 
@@ -54,50 +33,43 @@ public interface ListFieldsResponseOrBuilder */ int getFieldsCount(); /** - * - * *
    * The requested fields.
    * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - java.util.List getFieldsOrBuilderList(); + java.util.List + getFieldsOrBuilderList(); /** - * - * *
    * The requested fields.
    * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder(int index); + com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder( + int index); /** - * - * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java similarity index 65% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java index 3149cd7a9f..c4a7ba99a8 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListIndexesRequest} */ -public final class ListIndexesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListIndexesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListIndexesRequest) ListIndexesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListIndexesRequest.newBuilder() to construct. private ListIndexesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListIndexesRequest() { parent_ = ""; filter_ = ""; @@ -45,109 +27,38 @@ private ListIndexesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListIndexesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ListIndexesRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -156,32 +67,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,14 +101,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -208,29 +114,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 { @@ -241,14 +147,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -259,8 +162,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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
@@ -268,7 +169,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -277,15 +177,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -293,15 +192,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -310,7 +210,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -335,7 +235,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pageToken_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -351,12 +251,13 @@ 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_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -364,19 +265,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.ListIndexesRequest)) { return super.equals(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 (!unknownFields.equals(other.unknownFields)) return false; + 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -395,148 +299,135 @@ public int hashCode() { hash = (53 * hash) + getPageSize(); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -552,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; } @java.lang.Override @@ -573,8 +464,7 @@ 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); + com.google.firestore.admin.v1.ListIndexesRequest result = new com.google.firestore.admin.v1.ListIndexesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -587,39 +477,38 @@ public com.google.firestore.admin.v1.ListIndexesRequest 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.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; @@ -627,8 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListIndexesRequest other) { - if (other == com.google.firestore.admin.v1.ListIndexesRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ListIndexesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -644,7 +532,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ListIndexesRequest other) pageToken_ = other.pageToken_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -659,39 +547,68 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.ListIndexesRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = (com.google.firestore.admin.v1.ListIndexesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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; @@ -700,24 +617,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -725,70 +639,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -796,20 +697,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -818,21 +717,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -840,76 +738,66 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The number of results to return.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -917,36 +805,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The number of results to return.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The number of results to return.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -954,8 +836,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -963,13 +843,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; @@ -978,8 +858,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -987,14 +865,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1002,8 +881,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -1011,22 +888,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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
@@ -1034,18 +909,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); 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
@@ -1053,23 +925,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1079,12 +951,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(); } @@ -1093,16 +965,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 { - return new ListIndexesRequest(input, extensionRegistry); - } - }; + 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; @@ -1117,4 +1000,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListIndexesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java index abf086c2ab..9fb9cfe3d9 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java @@ -1,100 +1,65 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListIndexesRequestOrBuilder - extends +public interface ListIndexesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListIndexesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -102,13 +67,10 @@ public interface ListIndexesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -116,8 +78,8 @@ public interface ListIndexesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java similarity index 68% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java index 04a0535ccb..c792bdab71 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListIndexesResponse} */ -public final class ListIndexesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListIndexesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListIndexesResponse) ListIndexesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListIndexesResponse.newBuilder() to construct. private ListIndexesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListIndexesResponse() { indexes_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,96 +26,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ListIndexesResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - indexes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - indexes_.add( - input.readMessage( - com.google.firestore.admin.v1.Index.parser(), extensionRegistry)); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - indexes_ = java.util.Collections.unmodifiableList(indexes_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private java.util.List indexes_; /** - * - * *
    * The requested indexes.
    * 
@@ -145,8 +63,6 @@ public java.util.List getIndexesList() { return indexes_; } /** - * - * *
    * The requested indexes.
    * 
@@ -154,13 +70,11 @@ public java.util.List getIndexesList() { * repeated .google.firestore.admin.v1.Index indexes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getIndexesOrBuilderList() { return indexes_; } /** - * - * *
    * The requested indexes.
    * 
@@ -172,8 +86,6 @@ public int getIndexesCount() { return indexes_.size(); } /** - * - * *
    * The requested indexes.
    * 
@@ -185,8 +97,6 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { return indexes_.get(index); } /** - * - * *
    * The requested indexes.
    * 
@@ -194,22 +104,20 @@ 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; 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 @@ -218,30 +126,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 { @@ -250,7 +158,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,14 +169,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 { for (int i = 0; i < indexes_.size(); i++) { output.writeMessage(1, indexes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -279,12 +187,13 @@ 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_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -292,17 +201,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.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 (!unknownFields.equals(other.unknownFields)) 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; } @@ -319,168 +229,154 @@ public int hashCode() { } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getIndexesFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); if (indexesBuilder_ == null) { indexes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + indexes_ = null; indexesBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; 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_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 @@ -499,8 +395,7 @@ 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); int from_bitField0_ = bitField0_; if (indexesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -520,39 +415,38 @@ public com.google.firestore.admin.v1.ListIndexesResponse 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.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; @@ -560,8 +454,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListIndexesResponse other) { - if (other == com.google.firestore.admin.v1.ListIndexesResponse.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ListIndexesResponse.getDefaultInstance()) return this; if (indexesBuilder_ == null) { if (!other.indexes_.isEmpty()) { if (indexes_.isEmpty()) { @@ -580,10 +473,9 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ListIndexesResponse other indexesBuilder_ = null; indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000001); - indexesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIndexesFieldBuilder() - : null; + indexesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIndexesFieldBuilder() : null; } else { indexesBuilder_.addAllMessages(other.indexes_); } @@ -593,7 +485,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ListIndexesResponse other nextPageToken_ = other.nextPageToken_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -608,42 +500,65 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.ListIndexesResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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(); + + 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) { - parsedMessage = - (com.google.firestore.admin.v1.ListIndexesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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.
      * 
@@ -658,8 +573,6 @@ public java.util.List getIndexesList() { } } /** - * - * *
      * The requested indexes.
      * 
@@ -674,8 +587,6 @@ public int getIndexesCount() { } } /** - * - * *
      * The requested indexes.
      * 
@@ -690,15 +601,14 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { } } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder setIndexes(int index, com.google.firestore.admin.v1.Index value) { + public Builder setIndexes( + int index, com.google.firestore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -712,8 +622,6 @@ public Builder setIndexes(int index, com.google.firestore.admin.v1.Index value) return this; } /** - * - * *
      * The requested indexes.
      * 
@@ -732,8 +640,6 @@ public Builder setIndexes( return this; } /** - * - * *
      * The requested indexes.
      * 
@@ -754,15 +660,14 @@ public Builder addIndexes(com.google.firestore.admin.v1.Index value) { return this; } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder addIndexes(int index, com.google.firestore.admin.v1.Index value) { + public Builder addIndexes( + int index, com.google.firestore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -776,15 +681,14 @@ public Builder addIndexes(int index, com.google.firestore.admin.v1.Index value) return this; } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder addIndexes(com.google.firestore.admin.v1.Index.Builder builderForValue) { + public Builder addIndexes( + com.google.firestore.admin.v1.Index.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(builderForValue.build()); @@ -795,8 +699,6 @@ public Builder addIndexes(com.google.firestore.admin.v1.Index.Builder builderFor return this; } /** - * - * *
      * The requested indexes.
      * 
@@ -815,8 +717,6 @@ public Builder addIndexes( return this; } /** - * - * *
      * The requested indexes.
      * 
@@ -827,7 +727,8 @@ public Builder addAllIndexes( java.lang.Iterable values) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, indexes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, indexes_); onChanged(); } else { indexesBuilder_.addAllMessages(values); @@ -835,8 +736,6 @@ public Builder addAllIndexes( return this; } /** - * - * *
      * The requested indexes.
      * 
@@ -854,8 +753,6 @@ public Builder clearIndexes() { return this; } /** - * - * *
      * The requested indexes.
      * 
@@ -873,44 +770,39 @@ public Builder removeIndexes(int index) { return this; } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.Index.Builder getIndexesBuilder(int index) { + public com.google.firestore.admin.v1.Index.Builder getIndexesBuilder( + int index) { return getIndexesFieldBuilder().getBuilder(index); } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { + public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( + int index) { if (indexesBuilder_ == null) { - return indexes_.get(index); - } else { + return indexes_.get(index); } else { return indexesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public java.util.List - getIndexesOrBuilderList() { + public java.util.List + getIndexesOrBuilderList() { if (indexesBuilder_ != null) { return indexesBuilder_.getMessageOrBuilderList(); } else { @@ -918,8 +810,6 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int inde } } /** - * - * *
      * The requested indexes.
      * 
@@ -927,47 +817,42 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int inde * repeated .google.firestore.admin.v1.Index indexes = 1; */ public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder() { - return getIndexesFieldBuilder() - .addBuilder(com.google.firestore.admin.v1.Index.getDefaultInstance()); + return getIndexesFieldBuilder().addBuilder( + com.google.firestore.admin.v1.Index.getDefaultInstance()); } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder(int index) { - return getIndexesFieldBuilder() - .addBuilder(index, com.google.firestore.admin.v1.Index.getDefaultInstance()); + public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder( + int index) { + return getIndexesFieldBuilder().addBuilder( + index, com.google.firestore.admin.v1.Index.getDefaultInstance()); } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public java.util.List getIndexesBuilderList() { + public java.util.List + getIndexesBuilderList() { return getIndexesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder> + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> getIndexesFieldBuilder() { if (indexesBuilder_ == null) { - indexesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder>( - indexes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + indexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder>( + indexes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); indexes_ = null; } return indexesBuilder_; @@ -975,21 +860,19 @@ public java.util.List getIndexesBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -998,22 +881,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1021,71 +903,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1095,12 +970,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(); } @@ -1109,16 +984,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 { - return new ListIndexesResponse(input, extensionRegistry); - } - }; + 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; @@ -1133,4 +1019,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListIndexesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java index 88a0ab846f..c714ffcee0 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListIndexesResponseOrBuilder - extends +public interface ListIndexesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListIndexesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The requested indexes.
    * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - java.util.List getIndexesList(); + java.util.List + getIndexesList(); /** - * - * *
    * The requested indexes.
    * 
@@ -44,8 +25,6 @@ public interface ListIndexesResponseOrBuilder */ com.google.firestore.admin.v1.Index getIndexes(int index); /** - * - * *
    * The requested indexes.
    * 
@@ -54,50 +33,43 @@ public interface ListIndexesResponseOrBuilder */ int getIndexesCount(); /** - * - * *
    * The requested indexes.
    * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - java.util.List getIndexesOrBuilderList(); + java.util.List + getIndexesOrBuilderList(); /** - * - * *
    * The requested indexes.
    * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index); + com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( + int index); /** - * - * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java similarity index 57% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java index 937378f452..c19a390ed0 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java @@ -1,111 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/location.proto package com.google.firestore.admin.v1; /** - * - * *
  * The metadata message for [google.cloud.location.Location.metadata][google.cloud.location.Location.metadata].
  * 
* * Protobuf type {@code google.firestore.admin.v1.LocationMetadata} */ -public final class LocationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LocationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.LocationMetadata) LocationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LocationMetadata.newBuilder() to construct. private LocationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LocationMetadata() {} + private LocationMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LocationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private LocationMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; @@ -117,8 +59,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - unknownFields.writeTo(output); + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); } @java.lang.Override @@ -127,7 +70,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -135,15 +78,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -154,148 +96,135 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -303,9 +232,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.LocationProto - .internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; } @java.lang.Override @@ -324,8 +253,7 @@ public com.google.firestore.admin.v1.LocationMetadata build() { @java.lang.Override public com.google.firestore.admin.v1.LocationMetadata buildPartial() { - com.google.firestore.admin.v1.LocationMetadata result = - new com.google.firestore.admin.v1.LocationMetadata(this); + com.google.firestore.admin.v1.LocationMetadata result = new com.google.firestore.admin.v1.LocationMetadata(this); onBuilt(); return result; } @@ -334,39 +262,38 @@ public com.google.firestore.admin.v1.LocationMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.LocationMetadata) { - return mergeFrom((com.google.firestore.admin.v1.LocationMetadata) other); + return mergeFrom((com.google.firestore.admin.v1.LocationMetadata)other); } else { super.mergeFrom(other); return this; @@ -375,7 +302,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.firestore.admin.v1.LocationMetadata other) { if (other == com.google.firestore.admin.v1.LocationMetadata.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -390,22 +317,35 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.LocationMetadata parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.firestore.admin.v1.LocationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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); } @@ -415,12 +355,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.LocationMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.LocationMetadata) private static final com.google.firestore.admin.v1.LocationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.LocationMetadata(); } @@ -429,16 +369,27 @@ public static com.google.firestore.admin.v1.LocationMetadata getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LocationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LocationMetadata(input, extensionRegistry); - } - }; + 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; @@ -453,4 +404,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.LocationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java new file mode 100644 index 0000000000..7e96e28f91 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/location.proto + +package com.google.firestore.admin.v1; + +public interface LocationMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.LocationMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java new file mode 100644 index 0000000000..ca038d70cd --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java @@ -0,0 +1,54 @@ +// 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\341\001\n\035com.google.firestore.admin" + + ".v1B\rLocationProtoP\001Z>google.golang.org/" + + "genproto/googleapis/firestore/admin/v1;a" + + "dmin\242\002\004GCFS\252\002\037Google.Cloud.Firestore.Adm" + + "in.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352" + + "\002#Google::Cloud::Firestore::Admin::V1b\006p" + + "roto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_firestore_admin_v1_LocationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_LocationMetadata_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java new file mode 100644 index 0000000000..a259338af4 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java @@ -0,0 +1,192 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/operation.proto + +package com.google.firestore.admin.v1; + +public final class OperationProto { + private OperationProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Progress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n)google/firestore/admin/v1/operation.pr" + + "oto\022\031google.firestore.admin.v1\032%google/f" + + "irestore/admin/v1/index.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\275\002\n\026IndexOperatio" + + "nMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022\r\n\005index\030\003 \001(\t\0228" + + "\n\005state\030\004 \001(\0162).google.firestore.admin.v" + + "1.OperationState\022?\n\022progress_documents\030\005" + + " \001(\0132#.google.firestore.admin.v1.Progres" + + "s\022;\n\016progress_bytes\030\006 \001(\0132#.google.fires" + + "tore.admin.v1.Progress\"\231\007\n\026FieldOperatio" + + "nMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022\r\n\005field\030\003 \001(\t\022_" + + "\n\023index_config_deltas\030\004 \003(\0132B.google.fir" + + "estore.admin.v1.FieldOperationMetadata.I" + + "ndexConfigDelta\0228\n\005state\030\005 \001(\0162).google." + + "firestore.admin.v1.OperationState\022?\n\022pro" + + "gress_documents\030\006 \001(\0132#.google.firestore" + + ".admin.v1.Progress\022;\n\016progress_bytes\030\007 \001" + + "(\0132#.google.firestore.admin.v1.Progress\022" + + "Z\n\020ttl_config_delta\030\010 \001(\0132@.google.fires" + + "tore.admin.v1.FieldOperationMetadata.Ttl" + + "ConfigDelta\032\347\001\n\020IndexConfigDelta\022b\n\013chan" + + "ge_type\030\001 \001(\0162M.google.firestore.admin.v" + + "1.FieldOperationMetadata.IndexConfigDelt" + + "a.ChangeType\022/\n\005index\030\002 \001(\0132 .google.fir" + + "estore.admin.v1.Index\">\n\nChangeType\022\033\n\027C" + + "HANGE_TYPE_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REM" + + "OVE\020\002\032\262\001\n\016TtlConfigDelta\022`\n\013change_type\030" + + "\001 \001(\0162K.google.firestore.admin.v1.FieldO" + + "perationMetadata.TtlConfigDelta.ChangeTy" + + "pe\">\n\nChangeType\022\033\n\027CHANGE_TYPE_UNSPECIF" + + "IED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\"\354\002\n\027ExportDoc" + + "umentsMetadata\022.\n\nstart_time\030\001 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\013" + + "2\032.google.protobuf.Timestamp\022B\n\017operatio" + + "n_state\030\003 \001(\0162).google.firestore.admin.v" + + "1.OperationState\022?\n\022progress_documents\030\004" + + " \001(\0132#.google.firestore.admin.v1.Progres" + + "s\022;\n\016progress_bytes\030\005 \001(\0132#.google.fires" + + "tore.admin.v1.Progress\022\026\n\016collection_ids" + + "\030\006 \003(\t\022\031\n\021output_uri_prefix\030\007 \001(\t\"\353\002\n\027Im" + + "portDocumentsMetadata\022.\n\nstart_time\030\001 \001(" + + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" + + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022B\n\017o" + + "peration_state\030\003 \001(\0162).google.firestore." + + "admin.v1.OperationState\022?\n\022progress_docu" + + "ments\030\004 \001(\0132#.google.firestore.admin.v1." + + "Progress\022;\n\016progress_bytes\030\005 \001(\0132#.googl" + + "e.firestore.admin.v1.Progress\022\026\n\016collect" + + "ion_ids\030\006 \003(\t\022\030\n\020input_uri_prefix\030\007 \001(\t\"" + + "4\n\027ExportDocumentsResponse\022\031\n\021output_uri" + + "_prefix\030\001 \001(\t\":\n\010Progress\022\026\n\016estimated_w" + + "ork\030\001 \001(\003\022\026\n\016completed_work\030\002 \001(\003*\236\001\n\016Op" + + "erationState\022\037\n\033OPERATION_STATE_UNSPECIF" + + "IED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022" + + "\016\n\nCANCELLING\020\003\022\016\n\nFINALIZING\020\004\022\016\n\nSUCCE" + + "SSFUL\020\005\022\n\n\006FAILED\020\006\022\r\n\tCANCELLED\020\007B\342\001\n\035c" + + "om.google.firestore.admin.v1B\016OperationP" + + "rotoP\001Z>google.golang.org/genproto/googl" + + "eapis/firestore/admin/v1;admin\242\002\004GCFS\252\002\037" + + "Google.Cloud.Firestore.Admin.V1\312\002\037Google" + + "\\Cloud\\Firestore\\Admin\\V1\352\002#Google::Clou" + + "d::Firestore::Admin::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.firestore.admin.v1.IndexProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "Index", "State", "ProgressDocuments", "ProgressBytes", }); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "Field", "IndexConfigDeltas", "State", "ProgressDocuments", "ProgressBytes", "TtlConfigDelta", }); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor = + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor.getNestedTypes().get(0); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor, + new java.lang.String[] { "ChangeType", "Index", }); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor = + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor.getNestedTypes().get(1); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor, + new java.lang.String[] { "ChangeType", }); + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "OperationState", "ProgressDocuments", "ProgressBytes", "CollectionIds", "OutputUriPrefix", }); + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "OperationState", "ProgressDocuments", "ProgressBytes", "CollectionIds", "InputUriPrefix", }); + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor, + new java.lang.String[] { "OutputUriPrefix", }); + internal_static_google_firestore_admin_v1_Progress_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Progress_descriptor, + new java.lang.String[] { "EstimatedWork", "CompletedWork", }); + com.google.firestore.admin.v1.IndexProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java similarity index 73% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java index e40f2f12b0..3ae41ccf85 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** - * - * *
  * Describes the state of the operation.
  * 
* * Protobuf enum {@code google.firestore.admin.v1.OperationState} */ -public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { +public enum OperationState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -39,8 +21,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ OPERATION_STATE_UNSPECIFIED(0), /** - * - * *
    * Request is being prepared for processing.
    * 
@@ -49,8 +29,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ INITIALIZING(1), /** - * - * *
    * Request is actively being processed.
    * 
@@ -59,8 +37,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ PROCESSING(2), /** - * - * *
    * Request is in the process of being cancelled after user called
    * google.longrunning.Operations.CancelOperation on the operation.
@@ -70,8 +46,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum {
    */
   CANCELLING(3),
   /**
-   *
-   *
    * 
    * Request has been processed and is in its finalization stage.
    * 
@@ -80,8 +54,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ FINALIZING(4), /** - * - * *
    * Request has completed successfully.
    * 
@@ -90,8 +62,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ SUCCESSFUL(5), /** - * - * *
    * Request has finished being processed, but encountered an error.
    * 
@@ -100,8 +70,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(6), /** - * - * *
    * Request has finished being cancelled after user called
    * google.longrunning.Operations.CancelOperation.
@@ -114,8 +82,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Unspecified.
    * 
@@ -124,8 +90,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATION_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Request is being prepared for processing.
    * 
@@ -134,8 +98,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INITIALIZING_VALUE = 1; /** - * - * *
    * Request is actively being processed.
    * 
@@ -144,8 +106,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROCESSING_VALUE = 2; /** - * - * *
    * Request is in the process of being cancelled after user called
    * google.longrunning.Operations.CancelOperation on the operation.
@@ -155,8 +115,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CANCELLING_VALUE = 3;
   /**
-   *
-   *
    * 
    * Request has been processed and is in its finalization stage.
    * 
@@ -165,8 +123,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FINALIZING_VALUE = 4; /** - * - * *
    * Request has completed successfully.
    * 
@@ -175,8 +131,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCESSFUL_VALUE = 5; /** - * - * *
    * Request has finished being processed, but encountered an error.
    * 
@@ -185,8 +139,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 6; /** - * - * *
    * Request has finished being cancelled after user called
    * google.longrunning.Operations.CancelOperation.
@@ -196,6 +148,7 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CANCELLED_VALUE = 7;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -220,59 +173,54 @@ public static OperationState valueOf(int value) {
    */
   public static OperationState forNumber(int value) {
     switch (value) {
-      case 0:
-        return OPERATION_STATE_UNSPECIFIED;
-      case 1:
-        return INITIALIZING;
-      case 2:
-        return PROCESSING;
-      case 3:
-        return CANCELLING;
-      case 4:
-        return FINALIZING;
-      case 5:
-        return SUCCESSFUL;
-      case 6:
-        return FAILED;
-      case 7:
-        return CANCELLED;
-      default:
-        return null;
+      case 0: return OPERATION_STATE_UNSPECIFIED;
+      case 1: return INITIALIZING;
+      case 2: return PROCESSING;
+      case 3: return CANCELLING;
+      case 4: return FINALIZING;
+      case 5: return SUCCESSFUL;
+      case 6: return FAILED;
+      case 7: return CANCELLED;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public OperationState findValueByNumber(int number) {
-          return OperationState.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      OperationState> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public OperationState findValueByNumber(int number) {
+            return OperationState.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.firestore.admin.v1.OperationProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final OperationState[] VALUES = values();
 
-  public static OperationState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static OperationState valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -288,3 +236,4 @@ private OperationState(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.firestore.admin.v1.OperationState)
 }
+
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
similarity index 61%
rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
index d6da63008e..e4670a0f96 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/admin/v1/operation.proto
 
 package com.google.firestore.admin.v1;
 
 /**
- *
- *
  * 
  * Describes the progress of the operation.
  * Unit of work is generic and must be interpreted based on where [Progress][google.firestore.admin.v1.Progress]
@@ -29,104 +12,51 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Progress}
  */
-public final class Progress extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Progress extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Progress)
     ProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Progress.newBuilder() to construct.
   private Progress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private Progress() {}
+  private Progress() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Progress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private Progress(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 8:
-            {
-              estimatedWork_ = input.readInt64();
-              break;
-            }
-          case 16:
-            {
-              completedWork_ = input.readInt64();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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_;
   /**
-   *
-   *
    * 
    * The amount of work estimated.
    * 
* * int64 estimated_work = 1; - * * @return The estimatedWork. */ @java.lang.Override @@ -137,14 +67,11 @@ public long getEstimatedWork() { public static final int COMPLETED_WORK_FIELD_NUMBER = 2; private long completedWork_; /** - * - * *
    * The amount of work completed.
    * 
* * int64 completed_work = 2; - * * @return The completedWork. */ @java.lang.Override @@ -153,7 +80,6 @@ public long getCompletedWork() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,14 +91,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 (estimatedWork_ != 0L) { output.writeInt64(1, estimatedWork_); } if (completedWork_ != 0L) { output.writeInt64(2, completedWork_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -182,12 +109,14 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -195,16 +124,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (getEstimatedWork() + != other.getEstimatedWork()) return false; + if (getCompletedWork() + != other.getCompletedWork()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,112 +147,107 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ESTIMATED_WORK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedWork()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedWork()); hash = (37 * hash) + COMPLETED_WORK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCompletedWork()); - hash = (29 * hash) + unknownFields.hashCode(); + 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]
@@ -330,39 +256,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.Progress}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Progress)
       com.google.firestore.admin.v1.ProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_Progress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Progress.class,
-              com.google.firestore.admin.v1.Progress.Builder.class);
+              com.google.firestore.admin.v1.Progress.class, com.google.firestore.admin.v1.Progress.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.Progress.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,9 +294,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
@@ -395,8 +315,7 @@ 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);
+      com.google.firestore.admin.v1.Progress result = new com.google.firestore.admin.v1.Progress(this);
       result.estimatedWork_ = estimatedWork_;
       result.completedWork_ = completedWork_;
       onBuilt();
@@ -407,39 +326,38 @@ public com.google.firestore.admin.v1.Progress 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.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;
@@ -454,7 +372,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.Progress other) {
       if (other.getCompletedWork() != 0L) {
         setCompletedWork(other.getCompletedWork());
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -469,30 +387,50 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.admin.v1.Progress parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 8: {
+              estimatedWork_ = input.readInt64();
+
+              break;
+            } // case 8
+            case 16: {
+              completedWork_ = input.readInt64();
+
+              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) {
-        parsedMessage = (com.google.firestore.admin.v1.Progress) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // finally
       return this;
     }
 
-    private long estimatedWork_;
+    private long estimatedWork_ ;
     /**
-     *
-     *
      * 
      * The amount of work estimated.
      * 
* * int64 estimated_work = 1; - * * @return The estimatedWork. */ @java.lang.Override @@ -500,51 +438,42 @@ public long getEstimatedWork() { return estimatedWork_; } /** - * - * *
      * The amount of work estimated.
      * 
* * int64 estimated_work = 1; - * * @param value The estimatedWork to set. * @return This builder for chaining. */ public Builder setEstimatedWork(long value) { - + estimatedWork_ = value; onChanged(); return this; } /** - * - * *
      * The amount of work estimated.
      * 
* * int64 estimated_work = 1; - * * @return This builder for chaining. */ public Builder clearEstimatedWork() { - + estimatedWork_ = 0L; onChanged(); return this; } - private long completedWork_; + private long completedWork_ ; /** - * - * *
      * The amount of work completed.
      * 
* * int64 completed_work = 2; - * * @return The completedWork. */ @java.lang.Override @@ -552,43 +481,37 @@ public long getCompletedWork() { return completedWork_; } /** - * - * *
      * The amount of work completed.
      * 
* * int64 completed_work = 2; - * * @param value The completedWork to set. * @return This builder for chaining. */ public Builder setCompletedWork(long value) { - + completedWork_ = value; onChanged(); return this; } /** - * - * *
      * The amount of work completed.
      * 
* * int64 completed_work = 2; - * * @return This builder for chaining. */ public Builder clearCompletedWork() { - + completedWork_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +521,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(); } @@ -612,16 +535,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 { - return new Progress(input, extensionRegistry); - } - }; + 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; @@ -636,4 +570,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Progress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java new file mode 100644 index 0000000000..5d7d87d9c0 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/operation.proto + +package com.google.firestore.admin.v1; + +public interface ProgressOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Progress) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The amount of work estimated.
+   * 
+ * + * int64 estimated_work = 1; + * @return The estimatedWork. + */ + long getEstimatedWork(); + + /** + *
+   * The amount of work completed.
+   * 
+ * + * int64 completed_work = 2; + * @return The completedWork. + */ + long getCompletedWork(); +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java similarity index 100% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java similarity index 56% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java index 51559cabee..485f129f42 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java @@ -1,111 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * Metadata related to the update database operation.
  * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseMetadata} */ -public final class UpdateDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDatabaseMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.UpdateDatabaseMetadata) UpdateDatabaseMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDatabaseMetadata.newBuilder() to construct. private UpdateDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDatabaseMetadata() {} + private UpdateDatabaseMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDatabaseMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private UpdateDatabaseMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; @@ -117,8 +59,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - unknownFields.writeTo(output); + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); } @java.lang.Override @@ -127,7 +70,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -135,15 +78,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -154,148 +96,135 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -303,9 +232,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; } @java.lang.Override @@ -324,8 +253,7 @@ public com.google.firestore.admin.v1.UpdateDatabaseMetadata build() { @java.lang.Override public com.google.firestore.admin.v1.UpdateDatabaseMetadata buildPartial() { - com.google.firestore.admin.v1.UpdateDatabaseMetadata result = - new com.google.firestore.admin.v1.UpdateDatabaseMetadata(this); + com.google.firestore.admin.v1.UpdateDatabaseMetadata result = new com.google.firestore.admin.v1.UpdateDatabaseMetadata(this); onBuilt(); return result; } @@ -334,39 +262,38 @@ public com.google.firestore.admin.v1.UpdateDatabaseMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.UpdateDatabaseMetadata) { - return mergeFrom((com.google.firestore.admin.v1.UpdateDatabaseMetadata) other); + return mergeFrom((com.google.firestore.admin.v1.UpdateDatabaseMetadata)other); } else { super.mergeFrom(other); return this; @@ -374,9 +301,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; - this.mergeUnknownFields(other.unknownFields); + if (other == com.google.firestore.admin.v1.UpdateDatabaseMetadata.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -391,23 +317,35 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.UpdateDatabaseMetadata parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.firestore.admin.v1.UpdateDatabaseMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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); } @@ -417,12 +355,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.UpdateDatabaseMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.UpdateDatabaseMetadata) private static final com.google.firestore.admin.v1.UpdateDatabaseMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.UpdateDatabaseMetadata(); } @@ -431,16 +369,27 @@ public static com.google.firestore.admin.v1.UpdateDatabaseMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDatabaseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateDatabaseMetadata(input, extensionRegistry); - } - }; + 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; @@ -455,4 +404,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.UpdateDatabaseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java new file mode 100644 index 0000000000..935f424a5c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface UpdateDatabaseMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.UpdateDatabaseMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java similarity index 59% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java index 10a1d7cb40..fdbacd1896 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java @@ -1,153 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase].
  * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseRequest} */ -public final class UpdateDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDatabaseRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.UpdateDatabaseRequest) UpdateDatabaseRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDatabaseRequest.newBuilder() to construct. private UpdateDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDatabaseRequest() {} + private UpdateDatabaseRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private UpdateDatabaseRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.firestore.admin.v1.Database.Builder subBuilder = null; - if (database_ != null) { - subBuilder = database_.toBuilder(); - } - database_ = - input.readMessage( - com.google.firestore.admin.v1.Database.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(database_); - database_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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 @@ -155,34 +62,23 @@ 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() { @@ -192,14 +88,11 @@ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder() { 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 @@ -207,14 +100,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -222,8 +112,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -236,7 +124,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,14 +135,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 (database_ != null) { output.writeMessage(1, getDatabase()); } if (updateMask_ != null) { output.writeMessage(2, getUpdateMask()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -265,12 +153,14 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -278,23 +168,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -313,148 +204,135 @@ public int hashCode() { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -474,9 +352,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 @@ -495,8 +373,7 @@ 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); + com.google.firestore.admin.v1.UpdateDatabaseRequest result = new com.google.firestore.admin.v1.UpdateDatabaseRequest(this); if (databaseBuilder_ == null) { result.database_ = database_; } else { @@ -515,39 +392,38 @@ public com.google.firestore.admin.v1.UpdateDatabaseRequest 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.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; @@ -555,15 +431,14 @@ 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()); } if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -578,75 +453,82 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.UpdateDatabaseRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getDatabaseFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = - (com.google.firestore.admin.v1.UpdateDatabaseRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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 databaseBuilder_ != null || 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. */ 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) { @@ -662,17 +544,14 @@ public Builder setDatabase(com.google.firestore.admin.v1.Database value) { return this; } /** - * - * *
      * Required. The database to update.
      * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDatabase(com.google.firestore.admin.v1.Database.Builder builderForValue) { + public Builder setDatabase( + com.google.firestore.admin.v1.Database.Builder builderForValue) { if (databaseBuilder_ == null) { database_ = builderForValue.build(); onChanged(); @@ -683,23 +562,17 @@ public Builder setDatabase(com.google.firestore.admin.v1.Database.Builder builde return this; } /** - * - * *
      * Required. The database to update.
      * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDatabase(com.google.firestore.admin.v1.Database value) { if (databaseBuilder_ == null) { if (database_ != null) { database_ = - com.google.firestore.admin.v1.Database.newBuilder(database_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.admin.v1.Database.newBuilder(database_).mergeFrom(value).buildPartial(); } else { database_ = value; } @@ -711,15 +584,11 @@ public Builder mergeDatabase(com.google.firestore.admin.v1.Database value) { return this; } /** - * - * *
      * Required. The database to update.
      * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDatabase() { if (databaseBuilder_ == null) { @@ -733,64 +602,48 @@ 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() { - + onChanged(); 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_; @@ -798,47 +651,34 @@ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * 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.
      * 
@@ -859,15 +699,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -878,8 +717,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -890,7 +727,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -902,8 +739,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -922,8 +757,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -931,13 +764,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -948,14 +779,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -963,24 +791,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -990,12 +815,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(); } @@ -1004,16 +829,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 { - return new UpdateDatabaseRequest(input, extensionRegistry); - } - }; + 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; @@ -1028,4 +864,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.UpdateDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java index fb49c8b9e5..39db277462 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java @@ -1,96 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface UpdateDatabaseRequestOrBuilder - extends +public interface UpdateDatabaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.UpdateDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database to update.
    * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the database field is set. */ boolean hasDatabase(); /** - * - * *
    * Required. The database to update.
    * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The database. */ com.google.firestore.admin.v1.Database getDatabase(); /** - * - * *
    * Required. The database to update.
    * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java similarity index 64% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java index 9b796aaf62..486bfad69a 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java @@ -1,152 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
  * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateFieldRequest} */ -public final class UpdateFieldRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateFieldRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.UpdateFieldRequest) UpdateFieldRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateFieldRequest.newBuilder() to construct. private UpdateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateFieldRequest() {} + private UpdateFieldRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateFieldRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private UpdateFieldRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.firestore.admin.v1.Field.Builder subBuilder = null; - if (field_ != null) { - subBuilder = field_.toBuilder(); - } - field_ = - input.readMessage( - com.google.firestore.admin.v1.Field.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(field_); - field_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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 @@ -154,15 +62,11 @@ public boolean hasField() { return field_ != null; } /** - * - * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ @java.lang.Override @@ -170,14 +74,11 @@ public com.google.firestore.admin.v1.Field getField() { return field_ == null ? com.google.firestore.admin.v1.Field.getDefaultInstance() : field_; } /** - * - * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder() { @@ -187,15 +88,12 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -203,15 +101,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -219,8 +114,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
@@ -234,7 +127,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -246,14 +138,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 (field_ != null) {
       output.writeMessage(1, getField());
     }
     if (updateMask_ != null) {
       output.writeMessage(2, getUpdateMask());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -263,12 +156,14 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -276,23 +171,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.admin.v1.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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -311,148 +207,135 @@ public int hashCode() {
       hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER;
       hash = (53 * hash) + getUpdateMask().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +355,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 @@ -493,8 +376,7 @@ 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); + com.google.firestore.admin.v1.UpdateFieldRequest result = new com.google.firestore.admin.v1.UpdateFieldRequest(this); if (fieldBuilder_ == null) { result.field_ = field_; } else { @@ -513,39 +395,38 @@ public com.google.firestore.admin.v1.UpdateFieldRequest 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.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; @@ -553,15 +434,14 @@ 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()); } if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -576,51 +456,67 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.admin.v1.UpdateFieldRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getFieldFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = (com.google.firestore.admin.v1.UpdateFieldRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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 fieldBuilder_ != null || 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. */ public com.google.firestore.admin.v1.Field getField() { @@ -631,14 +527,11 @@ public com.google.firestore.admin.v1.Field getField() { } } /** - * - * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setField(com.google.firestore.admin.v1.Field value) { if (fieldBuilder_ == null) { @@ -654,16 +547,14 @@ public Builder setField(com.google.firestore.admin.v1.Field value) { return this; } /** - * - * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setField(com.google.firestore.admin.v1.Field.Builder builderForValue) { + public Builder setField( + com.google.firestore.admin.v1.Field.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -674,22 +565,17 @@ public Builder setField(com.google.firestore.admin.v1.Field.Builder builderForVa return this; } /** - * - * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeField(com.google.firestore.admin.v1.Field value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.firestore.admin.v1.Field.newBuilder(field_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.admin.v1.Field.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -701,14 +587,11 @@ public Builder mergeField(com.google.firestore.admin.v1.Field value) { return this; } /** - * - * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearField() { if (fieldBuilder_ == null) { @@ -722,59 +605,48 @@ 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() { - + onChanged(); 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_; @@ -782,49 +654,36 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || 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. */ 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.
@@ -846,8 +705,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -855,7 +712,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -866,8 +724,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -879,7 +735,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -891,8 +747,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -912,8 +766,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -922,13 +774,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -940,14 +790,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -956,24 +803,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -983,12 +827,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();
   }
@@ -997,16 +841,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 {
-          return new UpdateFieldRequest(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1021,4 +876,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.admin.v1.UpdateFieldRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
similarity index 68%
rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
index 3255149888..2702c0e7c3 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
@@ -1,95 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/admin/v1/firestore_admin.proto
 
 package com.google.firestore.admin.v1;
 
-public interface UpdateFieldRequestOrBuilder
-    extends
+public interface UpdateFieldRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.UpdateFieldRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ com.google.firestore.admin.v1.Field getField(); /** - * - * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder(); /** - * - * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
similarity index 61%
rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
index 434d6a3fc4..abde44b4d3 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
 /**
- *
- *
  * 
  * A Firestore bundle is a length-prefixed stream of JSON representations of
  * `BundleElement`.
@@ -31,157 +14,47 @@
  *
  * Protobuf type {@code google.firestore.bundle.BundleElement}
  */
-public final class BundleElement extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BundleElement extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundleElement)
     BundleElementOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BundleElement.newBuilder() to construct.
   private BundleElement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private BundleElement() {}
+  private BundleElement() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BundleElement();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private BundleElement(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              com.google.firestore.bundle.BundleMetadata.Builder subBuilder = null;
-              if (elementTypeCase_ == 1) {
-                subBuilder =
-                    ((com.google.firestore.bundle.BundleMetadata) elementType_).toBuilder();
-              }
-              elementType_ =
-                  input.readMessage(
-                      com.google.firestore.bundle.BundleMetadata.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.firestore.bundle.BundleMetadata) elementType_);
-                elementType_ = subBuilder.buildPartial();
-              }
-              elementTypeCase_ = 1;
-              break;
-            }
-          case 18:
-            {
-              com.google.firestore.bundle.NamedQuery.Builder subBuilder = null;
-              if (elementTypeCase_ == 2) {
-                subBuilder = ((com.google.firestore.bundle.NamedQuery) elementType_).toBuilder();
-              }
-              elementType_ =
-                  input.readMessage(
-                      com.google.firestore.bundle.NamedQuery.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.firestore.bundle.NamedQuery) elementType_);
-                elementType_ = subBuilder.buildPartial();
-              }
-              elementTypeCase_ = 2;
-              break;
-            }
-          case 26:
-            {
-              com.google.firestore.bundle.BundledDocumentMetadata.Builder subBuilder = null;
-              if (elementTypeCase_ == 3) {
-                subBuilder =
-                    ((com.google.firestore.bundle.BundledDocumentMetadata) elementType_)
-                        .toBuilder();
-              }
-              elementType_ =
-                  input.readMessage(
-                      com.google.firestore.bundle.BundledDocumentMetadata.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.firestore.bundle.BundledDocumentMetadata) elementType_);
-                elementType_ = subBuilder.buildPartial();
-              }
-              elementTypeCase_ = 3;
-              break;
-            }
-          case 34:
-            {
-              com.google.firestore.v1.Document.Builder subBuilder = null;
-              if (elementTypeCase_ == 4) {
-                subBuilder = ((com.google.firestore.v1.Document) elementType_).toBuilder();
-              }
-              elementType_ =
-                  input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.firestore.v1.Document) elementType_);
-                elementType_ = subBuilder.buildPartial();
-              }
-              elementTypeCase_ = 4;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.bundle.BundleProto
-        .internal_static_google_firestore_bundle_BundleElement_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.bundle.BundleProto
-        .internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
+    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.bundle.BundleElement.class,
-            com.google.firestore.bundle.BundleElement.Builder.class);
+            com.google.firestore.bundle.BundleElement.class, com.google.firestore.bundle.BundleElement.Builder.class);
   }
 
   private int elementTypeCase_ = 0;
   private java.lang.Object elementType_;
-
   public enum ElementTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     METADATA(1),
     NAMED_QUERY(2),
@@ -189,7 +62,6 @@ public enum ElementTypeCase
     DOCUMENT(4),
     ELEMENTTYPE_NOT_SET(0);
     private final int value;
-
     private ElementTypeCase(int value) {
       this.value = value;
     }
@@ -205,34 +77,28 @@ public static ElementTypeCase valueOf(int value) {
 
     public static ElementTypeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return METADATA;
-        case 2:
-          return NAMED_QUERY;
-        case 3:
-          return DOCUMENT_METADATA;
-        case 4:
-          return DOCUMENT;
-        case 0:
-          return ELEMENTTYPE_NOT_SET;
-        default:
-          return null;
+        case 1: return METADATA;
+        case 2: return NAMED_QUERY;
+        case 3: return DOCUMENT_METADATA;
+        case 4: return DOCUMENT;
+        case 0: return ELEMENTTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ElementTypeCase getElementTypeCase() {
-    return ElementTypeCase.forNumber(elementTypeCase_);
+  public ElementTypeCase
+  getElementTypeCase() {
+    return ElementTypeCase.forNumber(
+        elementTypeCase_);
   }
 
   public static final int METADATA_FIELD_NUMBER = 1;
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
-   *
    * @return Whether the metadata field is set.
    */
   @java.lang.Override
@@ -241,21 +107,22 @@ public boolean hasMetadata() {
   }
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
-   *
    * @return The metadata.
    */
   @java.lang.Override
   public com.google.firestore.bundle.BundleMetadata getMetadata() {
     if (elementTypeCase_ == 1) {
-      return (com.google.firestore.bundle.BundleMetadata) elementType_;
+       return (com.google.firestore.bundle.BundleMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
   }
-  /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+  /**
+   * .google.firestore.bundle.BundleMetadata metadata = 1;
+   */
   @java.lang.Override
   public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder() {
     if (elementTypeCase_ == 1) {
-      return (com.google.firestore.bundle.BundleMetadata) elementType_;
+       return (com.google.firestore.bundle.BundleMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
   }
@@ -263,7 +130,6 @@ public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder(
   public static final int NAMED_QUERY_FIELD_NUMBER = 2;
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
-   *
    * @return Whether the namedQuery field is set.
    */
   @java.lang.Override
@@ -272,21 +138,22 @@ public boolean hasNamedQuery() {
   }
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
-   *
    * @return The namedQuery.
    */
   @java.lang.Override
   public com.google.firestore.bundle.NamedQuery getNamedQuery() {
     if (elementTypeCase_ == 2) {
-      return (com.google.firestore.bundle.NamedQuery) elementType_;
+       return (com.google.firestore.bundle.NamedQuery) elementType_;
     }
     return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
   }
-  /** .google.firestore.bundle.NamedQuery named_query = 2; */
+  /**
+   * .google.firestore.bundle.NamedQuery named_query = 2;
+   */
   @java.lang.Override
   public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder() {
     if (elementTypeCase_ == 2) {
-      return (com.google.firestore.bundle.NamedQuery) elementType_;
+       return (com.google.firestore.bundle.NamedQuery) elementType_;
     }
     return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
   }
@@ -294,7 +161,6 @@ public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder()
   public static final int DOCUMENT_METADATA_FIELD_NUMBER = 3;
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-   *
    * @return Whether the documentMetadata field is set.
    */
   @java.lang.Override
@@ -303,22 +169,22 @@ public boolean hasDocumentMetadata() {
   }
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-   *
    * @return The documentMetadata.
    */
   @java.lang.Override
   public com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata() {
     if (elementTypeCase_ == 3) {
-      return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
+       return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
   }
-  /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+  /**
+   * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+   */
   @java.lang.Override
-  public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder
-      getDocumentMetadataOrBuilder() {
+  public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentMetadataOrBuilder() {
     if (elementTypeCase_ == 3) {
-      return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
+       return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
   }
@@ -326,7 +192,6 @@ public com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata()
   public static final int DOCUMENT_FIELD_NUMBER = 4;
   /**
    * .google.firestore.v1.Document document = 4;
-   *
    * @return Whether the document field is set.
    */
   @java.lang.Override
@@ -335,27 +200,27 @@ public boolean hasDocument() {
   }
   /**
    * .google.firestore.v1.Document document = 4;
-   *
    * @return The document.
    */
   @java.lang.Override
   public com.google.firestore.v1.Document getDocument() {
     if (elementTypeCase_ == 4) {
-      return (com.google.firestore.v1.Document) elementType_;
+       return (com.google.firestore.v1.Document) elementType_;
     }
     return com.google.firestore.v1.Document.getDefaultInstance();
   }
-  /** .google.firestore.v1.Document document = 4; */
+  /**
+   * .google.firestore.v1.Document document = 4;
+   */
   @java.lang.Override
   public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
     if (elementTypeCase_ == 4) {
-      return (com.google.firestore.v1.Document) elementType_;
+       return (com.google.firestore.v1.Document) elementType_;
     }
     return com.google.firestore.v1.Document.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -367,7 +232,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (elementTypeCase_ == 1) {
       output.writeMessage(1, (com.google.firestore.bundle.BundleMetadata) elementType_);
     }
@@ -380,7 +246,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (elementTypeCase_ == 4) {
       output.writeMessage(4, (com.google.firestore.v1.Document) elementType_);
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -390,26 +256,22 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -417,32 +279,35 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.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:
     }
-    if (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -473,109 +338,102 @@ public int hashCode() {
       case 0:
       default:
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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`.
@@ -586,51 +444,57 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.bundle.BundleElement}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.bundle.BundleElement)
       com.google.firestore.bundle.BundleElementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.bundle.BundleProto
-          .internal_static_google_firestore_bundle_BundleElement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.bundle.BundleProto
-          .internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
+      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.bundle.BundleElement.class,
-              com.google.firestore.bundle.BundleElement.Builder.class);
+              com.google.firestore.bundle.BundleElement.class, com.google.firestore.bundle.BundleElement.Builder.class);
     }
 
     // Construct using com.google.firestore.bundle.BundleElement.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
+      if (metadataBuilder_ != null) {
+        metadataBuilder_.clear();
+      }
+      if (namedQueryBuilder_ != null) {
+        namedQueryBuilder_.clear();
+      }
+      if (documentMetadataBuilder_ != null) {
+        documentMetadataBuilder_.clear();
+      }
+      if (documentBuilder_ != null) {
+        documentBuilder_.clear();
+      }
       elementTypeCase_ = 0;
       elementType_ = null;
       return this;
     }
 
     @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
@@ -649,8 +513,7 @@ 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);
+      com.google.firestore.bundle.BundleElement result = new com.google.firestore.bundle.BundleElement(this);
       if (elementTypeCase_ == 1) {
         if (metadataBuilder_ == null) {
           result.elementType_ = elementType_;
@@ -688,39 +551,38 @@ public com.google.firestore.bundle.BundleElement 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.bundle.BundleElement) {
-        return mergeFrom((com.google.firestore.bundle.BundleElement) other);
+        return mergeFrom((com.google.firestore.bundle.BundleElement)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -730,32 +592,27 @@ 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.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -770,25 +627,66 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.bundle.BundleElement parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            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:
+          } // switch (tag)
+        } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.firestore.bundle.BundleElement) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // 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() {
@@ -798,14 +696,11 @@ public Builder clearElementType() {
       return this;
     }
 
+
     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
@@ -814,7 +709,6 @@ public boolean hasMetadata() {
     }
     /**
      * .google.firestore.bundle.BundleMetadata metadata = 1;
-     *
      * @return The metadata.
      */
     @java.lang.Override
@@ -831,7 +725,9 @@ public com.google.firestore.bundle.BundleMetadata getMetadata() {
         return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
       }
     }
-    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+    /**
+     * .google.firestore.bundle.BundleMetadata metadata = 1;
+     */
     public Builder setMetadata(com.google.firestore.bundle.BundleMetadata value) {
       if (metadataBuilder_ == null) {
         if (value == null) {
@@ -845,8 +741,11 @@ public Builder setMetadata(com.google.firestore.bundle.BundleMetadata value) {
       elementTypeCase_ = 1;
       return this;
     }
-    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
-    public Builder setMetadata(com.google.firestore.bundle.BundleMetadata.Builder builderForValue) {
+    /**
+     * .google.firestore.bundle.BundleMetadata metadata = 1;
+     */
+    public Builder setMetadata(
+        com.google.firestore.bundle.BundleMetadata.Builder builderForValue) {
       if (metadataBuilder_ == null) {
         elementType_ = builderForValue.build();
         onChanged();
@@ -856,16 +755,15 @@ public Builder setMetadata(com.google.firestore.bundle.BundleMetadata.Builder bu
       elementTypeCase_ = 1;
       return this;
     }
-    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+    /**
+     * .google.firestore.bundle.BundleMetadata metadata = 1;
+     */
     public Builder mergeMetadata(com.google.firestore.bundle.BundleMetadata value) {
       if (metadataBuilder_ == null) {
-        if (elementTypeCase_ == 1
-            && elementType_ != com.google.firestore.bundle.BundleMetadata.getDefaultInstance()) {
-          elementType_ =
-              com.google.firestore.bundle.BundleMetadata.newBuilder(
-                      (com.google.firestore.bundle.BundleMetadata) elementType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (elementTypeCase_ == 1 &&
+            elementType_ != com.google.firestore.bundle.BundleMetadata.getDefaultInstance()) {
+          elementType_ = com.google.firestore.bundle.BundleMetadata.newBuilder((com.google.firestore.bundle.BundleMetadata) elementType_)
+              .mergeFrom(value).buildPartial();
         } else {
           elementType_ = value;
         }
@@ -880,7 +778,9 @@ public Builder mergeMetadata(com.google.firestore.bundle.BundleMetadata value) {
       elementTypeCase_ = 1;
       return this;
     }
-    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+    /**
+     * .google.firestore.bundle.BundleMetadata metadata = 1;
+     */
     public Builder clearMetadata() {
       if (metadataBuilder_ == null) {
         if (elementTypeCase_ == 1) {
@@ -897,11 +797,15 @@ public Builder clearMetadata() {
       }
       return this;
     }
-    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+    /**
+     * .google.firestore.bundle.BundleMetadata metadata = 1;
+     */
     public com.google.firestore.bundle.BundleMetadata.Builder getMetadataBuilder() {
       return getMetadataFieldBuilder().getBuilder();
     }
-    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+    /**
+     * .google.firestore.bundle.BundleMetadata metadata = 1;
+     */
     @java.lang.Override
     public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder() {
       if ((elementTypeCase_ == 1) && (metadataBuilder_ != null)) {
@@ -913,40 +817,32 @@ 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());
         elementType_ = null;
       }
       elementTypeCase_ = 1;
-      onChanged();
-      ;
+      onChanged();;
       return metadataBuilder_;
     }
 
     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
@@ -955,7 +851,6 @@ public boolean hasNamedQuery() {
     }
     /**
      * .google.firestore.bundle.NamedQuery named_query = 2;
-     *
      * @return The namedQuery.
      */
     @java.lang.Override
@@ -972,7 +867,9 @@ public com.google.firestore.bundle.NamedQuery getNamedQuery() {
         return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
       }
     }
-    /** .google.firestore.bundle.NamedQuery named_query = 2; */
+    /**
+     * .google.firestore.bundle.NamedQuery named_query = 2;
+     */
     public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       if (namedQueryBuilder_ == null) {
         if (value == null) {
@@ -986,8 +883,11 @@ public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       elementTypeCase_ = 2;
       return this;
     }
-    /** .google.firestore.bundle.NamedQuery named_query = 2; */
-    public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery.Builder builderForValue) {
+    /**
+     * .google.firestore.bundle.NamedQuery named_query = 2;
+     */
+    public Builder setNamedQuery(
+        com.google.firestore.bundle.NamedQuery.Builder builderForValue) {
       if (namedQueryBuilder_ == null) {
         elementType_ = builderForValue.build();
         onChanged();
@@ -997,16 +897,15 @@ public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery.Builder buil
       elementTypeCase_ = 2;
       return this;
     }
-    /** .google.firestore.bundle.NamedQuery named_query = 2; */
+    /**
+     * .google.firestore.bundle.NamedQuery named_query = 2;
+     */
     public Builder mergeNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       if (namedQueryBuilder_ == null) {
-        if (elementTypeCase_ == 2
-            && elementType_ != com.google.firestore.bundle.NamedQuery.getDefaultInstance()) {
-          elementType_ =
-              com.google.firestore.bundle.NamedQuery.newBuilder(
-                      (com.google.firestore.bundle.NamedQuery) elementType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (elementTypeCase_ == 2 &&
+            elementType_ != com.google.firestore.bundle.NamedQuery.getDefaultInstance()) {
+          elementType_ = com.google.firestore.bundle.NamedQuery.newBuilder((com.google.firestore.bundle.NamedQuery) elementType_)
+              .mergeFrom(value).buildPartial();
         } else {
           elementType_ = value;
         }
@@ -1021,7 +920,9 @@ public Builder mergeNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       elementTypeCase_ = 2;
       return this;
     }
-    /** .google.firestore.bundle.NamedQuery named_query = 2; */
+    /**
+     * .google.firestore.bundle.NamedQuery named_query = 2;
+     */
     public Builder clearNamedQuery() {
       if (namedQueryBuilder_ == null) {
         if (elementTypeCase_ == 2) {
@@ -1038,11 +939,15 @@ public Builder clearNamedQuery() {
       }
       return this;
     }
-    /** .google.firestore.bundle.NamedQuery named_query = 2; */
+    /**
+     * .google.firestore.bundle.NamedQuery named_query = 2;
+     */
     public com.google.firestore.bundle.NamedQuery.Builder getNamedQueryBuilder() {
       return getNamedQueryFieldBuilder().getBuilder();
     }
-    /** .google.firestore.bundle.NamedQuery named_query = 2; */
+    /**
+     * .google.firestore.bundle.NamedQuery named_query = 2;
+     */
     @java.lang.Override
     public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder() {
       if ((elementTypeCase_ == 2) && (namedQueryBuilder_ != null)) {
@@ -1054,40 +959,32 @@ 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());
         elementType_ = null;
       }
       elementTypeCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return namedQueryBuilder_;
     }
 
     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
@@ -1096,7 +993,6 @@ public boolean hasDocumentMetadata() {
     }
     /**
      * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     *
      * @return The documentMetadata.
      */
     @java.lang.Override
@@ -1113,7 +1009,9 @@ public com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata()
         return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
       }
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
     public Builder setDocumentMetadata(com.google.firestore.bundle.BundledDocumentMetadata value) {
       if (documentMetadataBuilder_ == null) {
         if (value == null) {
@@ -1127,7 +1025,9 @@ public Builder setDocumentMetadata(com.google.firestore.bundle.BundledDocumentMe
       elementTypeCase_ = 3;
       return this;
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
     public Builder setDocumentMetadata(
         com.google.firestore.bundle.BundledDocumentMetadata.Builder builderForValue) {
       if (documentMetadataBuilder_ == null) {
@@ -1139,18 +1039,15 @@ public Builder setDocumentMetadata(
       elementTypeCase_ = 3;
       return this;
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
-    public Builder mergeDocumentMetadata(
-        com.google.firestore.bundle.BundledDocumentMetadata value) {
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
+    public Builder mergeDocumentMetadata(com.google.firestore.bundle.BundledDocumentMetadata value) {
       if (documentMetadataBuilder_ == null) {
-        if (elementTypeCase_ == 3
-            && elementType_
-                != com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) {
-          elementType_ =
-              com.google.firestore.bundle.BundledDocumentMetadata.newBuilder(
-                      (com.google.firestore.bundle.BundledDocumentMetadata) elementType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (elementTypeCase_ == 3 &&
+            elementType_ != com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) {
+          elementType_ = com.google.firestore.bundle.BundledDocumentMetadata.newBuilder((com.google.firestore.bundle.BundledDocumentMetadata) elementType_)
+              .mergeFrom(value).buildPartial();
         } else {
           elementType_ = value;
         }
@@ -1165,7 +1062,9 @@ public Builder mergeDocumentMetadata(
       elementTypeCase_ = 3;
       return this;
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
     public Builder clearDocumentMetadata() {
       if (documentMetadataBuilder_ == null) {
         if (elementTypeCase_ == 3) {
@@ -1182,15 +1081,17 @@ public Builder clearDocumentMetadata() {
       }
       return this;
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
-    public com.google.firestore.bundle.BundledDocumentMetadata.Builder
-        getDocumentMetadataBuilder() {
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
+    public com.google.firestore.bundle.BundledDocumentMetadata.Builder getDocumentMetadataBuilder() {
       return getDocumentMetadataFieldBuilder().getBuilder();
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
     @java.lang.Override
-    public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder
-        getDocumentMetadataOrBuilder() {
+    public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentMetadataOrBuilder() {
       if ((elementTypeCase_ == 3) && (documentMetadataBuilder_ != null)) {
         return documentMetadataBuilder_.getMessageOrBuilder();
       } else {
@@ -1200,40 +1101,32 @@ public Builder clearDocumentMetadata() {
         return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
       }
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.bundle.BundledDocumentMetadata,
-            com.google.firestore.bundle.BundledDocumentMetadata.Builder,
-            com.google.firestore.bundle.BundledDocumentMetadataOrBuilder>
+        com.google.firestore.bundle.BundledDocumentMetadata, com.google.firestore.bundle.BundledDocumentMetadata.Builder, com.google.firestore.bundle.BundledDocumentMetadataOrBuilder> 
         getDocumentMetadataFieldBuilder() {
       if (documentMetadataBuilder_ == null) {
         if (!(elementTypeCase_ == 3)) {
           elementType_ = com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
         }
-        documentMetadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.bundle.BundledDocumentMetadata,
-                com.google.firestore.bundle.BundledDocumentMetadata.Builder,
-                com.google.firestore.bundle.BundledDocumentMetadataOrBuilder>(
+        documentMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.bundle.BundledDocumentMetadata, com.google.firestore.bundle.BundledDocumentMetadata.Builder, com.google.firestore.bundle.BundledDocumentMetadataOrBuilder>(
                 (com.google.firestore.bundle.BundledDocumentMetadata) elementType_,
                 getParentForChildren(),
                 isClean());
         elementType_ = null;
       }
       elementTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return documentMetadataBuilder_;
     }
 
     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
@@ -1242,7 +1135,6 @@ public boolean hasDocument() {
     }
     /**
      * .google.firestore.v1.Document document = 4;
-     *
      * @return The document.
      */
     @java.lang.Override
@@ -1259,7 +1151,9 @@ public com.google.firestore.v1.Document getDocument() {
         return com.google.firestore.v1.Document.getDefaultInstance();
       }
     }
-    /** .google.firestore.v1.Document document = 4; */
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
     public Builder setDocument(com.google.firestore.v1.Document value) {
       if (documentBuilder_ == null) {
         if (value == null) {
@@ -1273,8 +1167,11 @@ public Builder setDocument(com.google.firestore.v1.Document value) {
       elementTypeCase_ = 4;
       return this;
     }
-    /** .google.firestore.v1.Document document = 4; */
-    public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) {
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
+    public Builder setDocument(
+        com.google.firestore.v1.Document.Builder builderForValue) {
       if (documentBuilder_ == null) {
         elementType_ = builderForValue.build();
         onChanged();
@@ -1284,16 +1181,15 @@ public Builder setDocument(com.google.firestore.v1.Document.Builder builderForVa
       elementTypeCase_ = 4;
       return this;
     }
-    /** .google.firestore.v1.Document document = 4; */
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
     public Builder mergeDocument(com.google.firestore.v1.Document value) {
       if (documentBuilder_ == null) {
-        if (elementTypeCase_ == 4
-            && elementType_ != com.google.firestore.v1.Document.getDefaultInstance()) {
-          elementType_ =
-              com.google.firestore.v1.Document.newBuilder(
-                      (com.google.firestore.v1.Document) elementType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (elementTypeCase_ == 4 &&
+            elementType_ != com.google.firestore.v1.Document.getDefaultInstance()) {
+          elementType_ = com.google.firestore.v1.Document.newBuilder((com.google.firestore.v1.Document) elementType_)
+              .mergeFrom(value).buildPartial();
         } else {
           elementType_ = value;
         }
@@ -1308,7 +1204,9 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) {
       elementTypeCase_ = 4;
       return this;
     }
-    /** .google.firestore.v1.Document document = 4; */
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
     public Builder clearDocument() {
       if (documentBuilder_ == null) {
         if (elementTypeCase_ == 4) {
@@ -1325,11 +1223,15 @@ public Builder clearDocument() {
       }
       return this;
     }
-    /** .google.firestore.v1.Document document = 4; */
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
     public com.google.firestore.v1.Document.Builder getDocumentBuilder() {
       return getDocumentFieldBuilder().getBuilder();
     }
-    /** .google.firestore.v1.Document document = 4; */
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
     @java.lang.Override
     public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
       if ((elementTypeCase_ == 4) && (documentBuilder_ != null)) {
@@ -1341,32 +1243,30 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
         return com.google.firestore.v1.Document.getDefaultInstance();
       }
     }
-    /** .google.firestore.v1.Document document = 4; */
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Document,
-            com.google.firestore.v1.Document.Builder,
-            com.google.firestore.v1.DocumentOrBuilder>
+        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> 
         getDocumentFieldBuilder() {
       if (documentBuilder_ == null) {
         if (!(elementTypeCase_ == 4)) {
           elementType_ = com.google.firestore.v1.Document.getDefaultInstance();
         }
-        documentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.Document,
-                com.google.firestore.v1.Document.Builder,
-                com.google.firestore.v1.DocumentOrBuilder>(
-                (com.google.firestore.v1.Document) elementType_, getParentForChildren(), isClean());
+        documentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>(
+                (com.google.firestore.v1.Document) elementType_,
+                getParentForChildren(),
+                isClean());
         elementType_ = null;
       }
       elementTypeCase_ = 4;
-      onChanged();
-      ;
+      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);
     }
 
@@ -1376,12 +1276,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.bundle.BundleElement)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.bundle.BundleElement)
   private static final com.google.firestore.bundle.BundleElement DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.bundle.BundleElement();
   }
@@ -1390,16 +1290,27 @@ public static com.google.firestore.bundle.BundleElement getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BundleElement parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new BundleElement(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1414,4 +1325,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.bundle.BundleElement getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
similarity index 67%
rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
index a84a717fcc..23ff8a73be 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
@@ -1,86 +1,70 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
-public interface BundleElementOrBuilder
-    extends
+public interface BundleElementOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundleElement)
     com.google.protobuf.MessageOrBuilder {
 
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
-   *
    * @return Whether the metadata field is set.
    */
   boolean hasMetadata();
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
-   *
    * @return The metadata.
    */
   com.google.firestore.bundle.BundleMetadata getMetadata();
-  /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+  /**
+   * .google.firestore.bundle.BundleMetadata metadata = 1;
+   */
   com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder();
 
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
-   *
    * @return Whether the namedQuery field is set.
    */
   boolean hasNamedQuery();
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
-   *
    * @return The namedQuery.
    */
   com.google.firestore.bundle.NamedQuery getNamedQuery();
-  /** .google.firestore.bundle.NamedQuery named_query = 2; */
+  /**
+   * .google.firestore.bundle.NamedQuery named_query = 2;
+   */
   com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder();
 
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-   *
    * @return Whether the documentMetadata field is set.
    */
   boolean hasDocumentMetadata();
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-   *
    * @return The documentMetadata.
    */
   com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata();
-  /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+  /**
+   * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+   */
   com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentMetadataOrBuilder();
 
   /**
    * .google.firestore.v1.Document document = 4;
-   *
    * @return Whether the document field is set.
    */
   boolean hasDocument();
   /**
    * .google.firestore.v1.Document document = 4;
-   *
    * @return The document.
    */
   com.google.firestore.v1.Document getDocument();
-  /** .google.firestore.v1.Document document = 4; */
+  /**
+   * .google.firestore.v1.Document document = 4;
+   */
   com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder();
 
   public com.google.firestore.bundle.BundleElement.ElementTypeCase getElementTypeCase();
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
similarity index 67%
rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
index 30f77522ae..6d6a169173 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
@@ -1,159 +1,61 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
 /**
- *
- *
  * 
  * Metadata describing the bundle file/stream.
  * 
* * Protobuf type {@code google.firestore.bundle.BundleMetadata} */ -public final class BundleMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BundleMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundleMetadata) BundleMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BundleMetadata.newBuilder() to construct. private BundleMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BundleMetadata() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BundleMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private BundleMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - id_ = s; - break; - } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; - } - case 24: - { - version_ = input.readUInt32(); - break; - } - case 32: - { - totalDocuments_ = input.readUInt32(); - break; - } - case 40: - { - totalBytes_ = input.readUInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private volatile java.lang.Object id_; /** - * - * *
    * The ID of the bundle.
    * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -162,29 +64,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 { @@ -195,14 +97,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -210,14 +109,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ @java.lang.Override @@ -225,8 +121,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
@@ -241,14 +135,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int VERSION_FIELD_NUMBER = 3; private int version_; /** - * - * *
    * The schema version of the bundle.
    * 
* * uint32 version = 3; - * * @return The version. */ @java.lang.Override @@ -259,14 +150,11 @@ public int getVersion() { public static final int TOTAL_DOCUMENTS_FIELD_NUMBER = 4; private int totalDocuments_; /** - * - * *
    * The number of documents in the bundle.
    * 
* * uint32 total_documents = 4; - * * @return The totalDocuments. */ @java.lang.Override @@ -277,14 +165,11 @@ public int getTotalDocuments() { public static final int TOTAL_BYTES_FIELD_NUMBER = 5; private long totalBytes_; /** - * - * *
    * The size of the bundle in bytes, excluding this `BundleMetadata`.
    * 
* * uint64 total_bytes = 5; - * * @return The totalBytes. */ @java.lang.Override @@ -293,7 +178,6 @@ public long getTotalBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +189,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -321,7 +206,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (totalBytes_ != 0L) { output.writeUInt64(5, totalBytes_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -334,18 +219,22 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -353,23 +242,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.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 (getVersion() != other.getVersion()) return false; - if (getTotalDocuments() != other.getTotalDocuments()) return false; - if (getTotalBytes() != other.getTotalBytes()) return false; - if (!unknownFields.equals(other.unknownFields)) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -391,149 +284,137 @@ public int hashCode() { hash = (37 * hash) + TOTAL_DOCUMENTS_FIELD_NUMBER; hash = (53 * hash) + getTotalDocuments(); hash = (37 * hash) + TOTAL_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTotalBytes()); - hash = (29 * hash) + unknownFields.hashCode(); + 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -555,9 +436,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 @@ -576,8 +457,7 @@ 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); + com.google.firestore.bundle.BundleMetadata result = new com.google.firestore.bundle.BundleMetadata(this); result.id_ = id_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -595,39 +475,38 @@ public com.google.firestore.bundle.BundleMetadata 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.bundle.BundleMetadata) { - return mergeFrom((com.google.firestore.bundle.BundleMetadata) other); + return mergeFrom((com.google.firestore.bundle.BundleMetadata)other); } else { super.mergeFrom(other); return this; @@ -652,7 +531,7 @@ public Builder mergeFrom(com.google.firestore.bundle.BundleMetadata other) { if (other.getTotalBytes() != 0L) { setTotalBytes(other.getTotalBytes()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -667,36 +546,74 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.bundle.BundleMetadata parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + id_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 24: { + version_ = input.readUInt32(); + + break; + } // case 24 + case 32: { + totalDocuments_ = input.readUInt32(); + + break; + } // case 32 + case 40: { + totalBytes_ = input.readUInt64(); + + 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) { - parsedMessage = (com.google.firestore.bundle.BundleMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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; @@ -705,21 +622,20 @@ public java.lang.String getId() { } } /** - * - * *
      * The ID of the bundle.
      * 
* * string id = 1; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -727,61 +643,54 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * The ID of the bundle.
      * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * The ID of the bundle.
      * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); 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) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -789,47 +698,34 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -850,15 +746,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
* * .google.protobuf.Timestamp create_time = 2; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -869,8 +764,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -881,7 +774,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -893,8 +786,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -913,8 +804,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -922,13 +811,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 2; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -939,14 +826,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -954,32 +838,26 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; } - private int version_; + private int version_ ; /** - * - * *
      * The schema version of the bundle.
      * 
* * uint32 version = 3; - * * @return The version. */ @java.lang.Override @@ -987,51 +865,42 @@ public int getVersion() { return version_; } /** - * - * *
      * The schema version of the bundle.
      * 
* * uint32 version = 3; - * * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(int value) { - + version_ = value; onChanged(); return this; } /** - * - * *
      * The schema version of the bundle.
      * 
* * uint32 version = 3; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = 0; onChanged(); 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 @@ -1039,51 +908,42 @@ public int getTotalDocuments() { return totalDocuments_; } /** - * - * *
      * The number of documents in the bundle.
      * 
* * uint32 total_documents = 4; - * * @param value The totalDocuments to set. * @return This builder for chaining. */ public Builder setTotalDocuments(int value) { - + totalDocuments_ = value; onChanged(); return this; } /** - * - * *
      * The number of documents in the bundle.
      * 
* * uint32 total_documents = 4; - * * @return This builder for chaining. */ public Builder clearTotalDocuments() { - + totalDocuments_ = 0; onChanged(); 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 @@ -1091,43 +951,37 @@ public long getTotalBytes() { return totalBytes_; } /** - * - * *
      * The size of the bundle in bytes, excluding this `BundleMetadata`.
      * 
* * uint64 total_bytes = 5; - * * @param value The totalBytes to set. * @return This builder for chaining. */ public Builder setTotalBytes(long value) { - + totalBytes_ = value; onChanged(); return this; } /** - * - * *
      * The size of the bundle in bytes, excluding this `BundleMetadata`.
      * 
* * uint64 total_bytes = 5; - * * @return This builder for chaining. */ public Builder clearTotalBytes() { - + totalBytes_ = 0L; 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); } @@ -1137,12 +991,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(); } @@ -1151,16 +1005,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 { - return new BundleMetadata(input, extensionRegistry); - } - }; + 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; @@ -1175,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.bundle.BundleMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java similarity index 69% rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java index 73817f7a5e..fa6fc0c07a 100644 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; -public interface BundleMetadataOrBuilder - extends +public interface BundleMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundleMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The ID of the bundle.
    * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * The ID of the bundle.
    * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
@@ -84,40 +55,31 @@ public interface BundleMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The schema version of the bundle.
    * 
* * uint32 version = 3; - * * @return The version. */ int getVersion(); /** - * - * *
    * The number of documents in the bundle.
    * 
* * uint32 total_documents = 4; - * * @return The totalDocuments. */ int getTotalDocuments(); /** - * - * *
    * The size of the bundle in bytes, excluding this `BundleMetadata`.
    * 
* * uint64 total_bytes = 5; - * * @return The totalBytes. */ long getTotalBytes(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java new file mode 100644 index 0000000000..6a36dea653 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java @@ -0,0 +1,126 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/bundle/bundle.proto + +package com.google.firestore.bundle; + +public final class BundleProto { + private BundleProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_BundledQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_NamedQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_BundleMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_BundleElement_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n$google/firestore/bundle/bundle.proto\022\027" + + "google.firestore.bundle\032\"google/firestor" + + "e/v1/document.proto\032\037google/firestore/v1" + + "/query.proto\032\037google/protobuf/timestamp." + + "proto\"\325\001\n\014BundledQuery\022\016\n\006parent\030\001 \001(\t\022@" + + "\n\020structured_query\030\002 \001(\0132$.google.firest" + + "ore.v1.StructuredQueryH\000\022C\n\nlimit_type\030\003" + + " \001(\0162/.google.firestore.bundle.BundledQu" + + "ery.LimitType\" \n\tLimitType\022\t\n\005FIRST\020\000\022\010\n" + + "\004LAST\020\001B\014\n\nquery_type\"\207\001\n\nNamedQuery\022\014\n\004" + + "name\030\001 \001(\t\022<\n\rbundled_query\030\002 \001(\0132%.goog" + + "le.firestore.bundle.BundledQuery\022-\n\tread" + + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\"" + + "w\n\027BundledDocumentMetadata\022\014\n\004name\030\001 \001(\t" + + "\022-\n\tread_time\030\002 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022\016\n\006exists\030\003 \001(\010\022\017\n\007queries\030\004 \003(\t" + + "\"\214\001\n\016BundleMetadata\022\n\n\002id\030\001 \001(\t\022/\n\013creat" + + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "\022\017\n\007version\030\003 \001(\r\022\027\n\017total_documents\030\004 \001" + + "(\r\022\023\n\013total_bytes\030\005 \001(\004\"\232\002\n\rBundleElemen" + + "t\022;\n\010metadata\030\001 \001(\0132\'.google.firestore.b" + + "undle.BundleMetadataH\000\022:\n\013named_query\030\002 " + + "\001(\0132#.google.firestore.bundle.NamedQuery" + + "H\000\022M\n\021document_metadata\030\003 \001(\01320.google.f" + + "irestore.bundle.BundledDocumentMetadataH" + + "\000\0221\n\010document\030\004 \001(\0132\035.google.firestore.v" + + "1.DocumentH\000B\016\n\014element_typeB\221\001\n\033com.goo" + + "gle.firestore.bundleB\013BundleProtoP\001Z5goo" + + "gle.golang.org/genproto/firestore/bundle" + + ";firestore\242\002\005FSTPB\252\002\020Firestore.Bundle\312\002\020" + + "Firestore\\Bundleb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.firestore.v1.DocumentProto.getDescriptor(), + com.google.firestore.v1.QueryProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_firestore_bundle_BundledQuery_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_BundledQuery_descriptor, + new java.lang.String[] { "Parent", "StructuredQuery", "LimitType", "QueryType", }); + internal_static_google_firestore_bundle_NamedQuery_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_NamedQuery_descriptor, + new java.lang.String[] { "Name", "BundledQuery", "ReadTime", }); + internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor, + new java.lang.String[] { "Name", "ReadTime", "Exists", "Queries", }); + internal_static_google_firestore_bundle_BundleMetadata_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_BundleMetadata_descriptor, + new java.lang.String[] { "Id", "CreateTime", "Version", "TotalDocuments", "TotalBytes", }); + internal_static_google_firestore_bundle_BundleElement_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_BundleElement_descriptor, + new java.lang.String[] { "Metadata", "NamedQuery", "DocumentMetadata", "Document", "ElementType", }); + com.google.firestore.v1.DocumentProto.getDescriptor(); + com.google.firestore.v1.QueryProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java similarity index 68% rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java index ff8e7f0b48..3cf7150f8d 100644 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; /** - * - * *
  * Metadata describing a Firestore document saved in the bundle.
  * 
* * Protobuf type {@code google.firestore.bundle.BundledDocumentMetadata} */ -public final class BundledDocumentMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BundledDocumentMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundledDocumentMetadata) BundledDocumentMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BundledDocumentMetadata.newBuilder() to construct. private BundledDocumentMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BundledDocumentMetadata() { name_ = ""; queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,121 +26,37 @@ private BundledDocumentMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BundledDocumentMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private BundledDocumentMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); - } - readTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); - } - - break; - } - case 24: - { - exists_ = input.readBool(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queries_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - queries_.add(s); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - queries_ = queries_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * The document key of a bundled document.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -167,29 +65,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 { @@ -200,14 +98,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The snapshot version of the document data bundled.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -215,14 +110,11 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The snapshot version of the document data bundled.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -230,8 +122,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The snapshot version of the document data bundled.
    * 
@@ -246,14 +136,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int EXISTS_FIELD_NUMBER = 3; private boolean exists_; /** - * - * *
    * Whether the document exists.
    * 
* * bool exists = 3; - * * @return The exists. */ @java.lang.Override @@ -264,42 +151,34 @@ public boolean getExists() { public static final int QUERIES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList queries_; /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList getQueriesList() { + public com.google.protobuf.ProtocolStringList + getQueriesList() { return queries_; } /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -307,23 +186,20 @@ public java.lang.String getQueries(int index) { return queries_.get(index); } /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - public com.google.protobuf.ByteString getQueriesBytes(int index) { + public com.google.protobuf.ByteString + getQueriesBytes(int index) { return queries_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -335,7 +211,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -348,7 +225,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < queries_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, queries_.getRaw(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -361,10 +238,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadTime()); } if (exists_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, exists_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, exists_); } { int dataSize = 0; @@ -374,7 +253,7 @@ public int getSerializedSize() { size += dataSize; size += 1 * getQueriesList().size(); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -382,22 +261,25 @@ public int getSerializedSize() { @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 (getExists() != other.getExists()) return false; - if (!getQueriesList().equals(other.getQueriesList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getReadTime() + .equals(other.getReadTime())) return false; + } + if (getExists() + != other.getExists()) return false; + if (!getQueriesList() + .equals(other.getQueriesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -415,153 +297,141 @@ 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(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -581,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; } @java.lang.Override @@ -602,8 +472,7 @@ public com.google.firestore.bundle.BundledDocumentMetadata build() { @java.lang.Override public com.google.firestore.bundle.BundledDocumentMetadata buildPartial() { - com.google.firestore.bundle.BundledDocumentMetadata result = - new com.google.firestore.bundle.BundledDocumentMetadata(this); + com.google.firestore.bundle.BundledDocumentMetadata result = new com.google.firestore.bundle.BundledDocumentMetadata(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (readTimeBuilder_ == null) { @@ -625,39 +494,38 @@ public com.google.firestore.bundle.BundledDocumentMetadata 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.bundle.BundledDocumentMetadata) { - return mergeFrom((com.google.firestore.bundle.BundledDocumentMetadata) other); + return mergeFrom((com.google.firestore.bundle.BundledDocumentMetadata)other); } else { super.mergeFrom(other); return this; @@ -665,8 +533,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.bundle.BundledDocumentMetadata other) { - if (other == com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) - return this; + if (other == com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -687,7 +554,7 @@ public Builder mergeFrom(com.google.firestore.bundle.BundledDocumentMetadata oth } onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -702,39 +569,71 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.bundle.BundledDocumentMetadata parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 24: { + exists_ = input.readBool(); + + 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) { - parsedMessage = - (com.google.firestore.bundle.BundledDocumentMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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; @@ -743,21 +642,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The document key of a bundled document.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -765,61 +663,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The document key of a bundled document.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The document key of a bundled document.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -827,33 +718,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The snapshot version of the document data bundled.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -864,8 +746,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
@@ -886,15 +766,14 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
* * .google.protobuf.Timestamp read_time = 2; */ - public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setReadTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (readTimeBuilder_ == null) { readTime_ = builderForValue.build(); onChanged(); @@ -905,8 +784,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
@@ -917,7 +794,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { if (readTime_ != null) { readTime_ = - com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); } else { readTime_ = value; } @@ -929,8 +806,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
@@ -949,8 +824,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
@@ -958,13 +831,11 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 2; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
@@ -975,12 +846,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { if (readTimeBuilder_ != null) { return readTimeBuilder_.getMessageOrBuilder(); } else { - return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + return readTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
@@ -988,32 +858,26 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getReadTimeFieldBuilder() { if (readTimeBuilder_ == null) { - readTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getReadTime(), getParentForChildren(), isClean()); + readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getReadTime(), + getParentForChildren(), + isClean()); readTime_ = null; } return readTimeBuilder_; } - private boolean exists_; + private boolean exists_ ; /** - * - * *
      * Whether the document exists.
      * 
* * bool exists = 3; - * * @return The exists. */ @java.lang.Override @@ -1021,87 +885,71 @@ public boolean getExists() { return exists_; } /** - * - * *
      * Whether the document exists.
      * 
* * bool exists = 3; - * * @param value The exists to set. * @return This builder for chaining. */ public Builder setExists(boolean value) { - + exists_ = value; onChanged(); return this; } /** - * - * *
      * Whether the document exists.
      * 
* * bool exists = 3; - * * @return This builder for chaining. */ public Builder clearExists() { - + exists_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList queries_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureQueriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queries_ = new com.google.protobuf.LazyStringArrayList(queries_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList getQueriesList() { + public com.google.protobuf.ProtocolStringList + getQueriesList() { return queries_.getUnmodifiableView(); } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -1109,90 +957,80 @@ 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) { + public Builder setQueries( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); + throw new NullPointerException(); + } + ensureQueriesIsMutable(); queries_.set(index, value); onChanged(); return this; } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @param value The queries to add. * @return This builder for chaining. */ - public Builder addQueries(java.lang.String value) { + public Builder addQueries( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); + throw new NullPointerException(); + } + ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @param values The queries to add. * @return This builder for chaining. */ - public Builder addAllQueries(java.lang.Iterable values) { + public Builder addAllQueries( + java.lang.Iterable values) { ensureQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, queries_); onChanged(); return this; } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @return This builder for chaining. */ public Builder clearQueries() { @@ -1202,30 +1040,28 @@ public Builder clearQueries() { return this; } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @param value The bytes of the queries to add. * @return This builder for chaining. */ - public Builder addQueriesBytes(com.google.protobuf.ByteString value) { + public Builder addQueriesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1235,12 +1071,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(); } @@ -1249,16 +1085,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 { - return new BundledDocumentMetadata(input, extensionRegistry); - } - }; + 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; @@ -1273,4 +1120,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.bundle.BundledDocumentMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java similarity index 71% rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java index bf08931cc6..2a01a269de 100644 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; -public interface BundledDocumentMetadataOrBuilder - extends +public interface BundledDocumentMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundledDocumentMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The document key of a bundled document.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The document key of a bundled document.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The snapshot version of the document data bundled.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The snapshot version of the document data bundled.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The snapshot version of the document data bundled.
    * 
@@ -84,66 +55,53 @@ public interface BundledDocumentMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** - * - * *
    * Whether the document exists.
    * 
* * bool exists = 3; - * * @return The exists. */ boolean getExists(); /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @return A list containing the queries. */ - java.util.List getQueriesList(); + java.util.List + getQueriesList(); /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @return The count of queries. */ int getQueriesCount(); /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @param index The index of the element to return. * @return The queries at the given index. */ java.lang.String getQueries(int index); /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - com.google.protobuf.ByteString getQueriesBytes(int index); + com.google.protobuf.ByteString + getQueriesBytes(int index); } diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java similarity index 66% rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java index a8840b1e3a..262f4cfa9d 100644 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; /** - * - * *
  * Encodes a query saved in the bundle.
  * 
* * Protobuf type {@code google.firestore.bundle.BundledQuery} */ -public final class BundledQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BundledQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundledQuery) BundledQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BundledQuery.newBuilder() to construct. private BundledQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BundledQuery() { parent_ = ""; limitType_ = 0; @@ -44,102 +26,30 @@ private BundledQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BundledQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private BundledQuery( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - com.google.firestore.v1.StructuredQuery.Builder subBuilder = null; - if (queryTypeCase_ == 2) { - subBuilder = ((com.google.firestore.v1.StructuredQuery) queryType_).toBuilder(); - } - queryType_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.StructuredQuery) queryType_); - queryType_ = subBuilder.buildPartial(); - } - queryTypeCase_ = 2; - break; - } - case 24: - { - int rawValue = input.readEnum(); - - limitType_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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.
@@ -147,19 +57,29 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.firestore.bundle.BundledQuery.LimitType}
    */
-  public enum LimitType implements com.google.protobuf.ProtocolMessageEnum {
-    /** FIRST = 0; */
+  public enum LimitType
+      implements com.google.protobuf.ProtocolMessageEnum {
+    /**
+     * FIRST = 0;
+     */
     FIRST(0),
-    /** LAST = 1; */
+    /**
+     * LAST = 1;
+     */
     LAST(1),
     UNRECOGNIZED(-1),
     ;
 
-    /** FIRST = 0; */
+    /**
+     * FIRST = 0;
+     */
     public static final int FIRST_VALUE = 0;
-    /** LAST = 1; */
+    /**
+     * LAST = 1;
+     */
     public static final int LAST_VALUE = 1;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -184,47 +104,48 @@ public static LimitType valueOf(int value) {
      */
     public static LimitType forNumber(int value) {
       switch (value) {
-        case 0:
-          return FIRST;
-        case 1:
-          return LAST;
-        default:
-          return null;
+        case 0: return FIRST;
+        case 1: return LAST;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        LimitType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public LimitType findValueByNumber(int number) {
+              return LimitType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public LimitType findValueByNumber(int number) {
-            return LimitType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.firestore.bundle.BundledQuery.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final LimitType[] VALUES = values();
 
-    public static LimitType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static LimitType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -243,15 +164,12 @@ private LimitType(int value) {
 
   private int queryTypeCase_ = 0;
   private java.lang.Object queryType_;
-
   public enum QueryTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     STRUCTURED_QUERY(2),
     QUERYTYPE_NOT_SET(0);
     private final int value;
-
     private QueryTypeCase(int value) {
       this.value = value;
     }
@@ -267,35 +185,30 @@ public static QueryTypeCase valueOf(int value) {
 
     public static QueryTypeCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return STRUCTURED_QUERY;
-        case 0:
-          return QUERYTYPE_NOT_SET;
-        default:
-          return null;
+        case 2: return STRUCTURED_QUERY;
+        case 0: return QUERYTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public QueryTypeCase getQueryTypeCase() {
-    return QueryTypeCase.forNumber(queryTypeCase_);
+  public QueryTypeCase
+  getQueryTypeCase() {
+    return QueryTypeCase.forNumber(
+        queryTypeCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * The parent resource name.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -304,29 +217,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 { @@ -336,14 +249,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int STRUCTURED_QUERY_FIELD_NUMBER = 2; /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -351,26 +261,21 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** - * - * *
    * A structured query.
    * 
@@ -380,7 +285,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(); } @@ -389,30 +294,22 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil private int limitType_; /** * .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() { + @java.lang.Override public com.google.firestore.bundle.BundledQuery.LimitType getLimitType() { @SuppressWarnings("deprecation") - com.google.firestore.bundle.BundledQuery.LimitType result = - com.google.firestore.bundle.BundledQuery.LimitType.valueOf(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.valueOf(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; @@ -424,7 +321,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -434,7 +332,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (limitType_ != com.google.firestore.bundle.BundledQuery.LimitType.FIRST.getNumber()) { output.writeEnum(3, limitType_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -447,14 +345,14 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -462,24 +360,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.bundle.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: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -502,153 +402,143 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); parent_ = ""; + if (structuredQueryBuilder_ != null) { + structuredQueryBuilder_.clear(); + } limitType_ = 0; queryTypeCase_ = 0; @@ -657,9 +547,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 @@ -678,8 +568,7 @@ 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); + com.google.firestore.bundle.BundledQuery result = new com.google.firestore.bundle.BundledQuery(this); result.parent_ = parent_; if (queryTypeCase_ == 2) { if (structuredQueryBuilder_ == null) { @@ -698,39 +587,38 @@ public com.google.firestore.bundle.BundledQuery 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.bundle.BundledQuery) { - return mergeFrom((com.google.firestore.bundle.BundledQuery) other); + return mergeFrom((com.google.firestore.bundle.BundledQuery)other); } else { super.mergeFrom(other); return this; @@ -747,17 +635,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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -772,25 +658,55 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.bundle.BundledQuery parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getStructuredQueryFieldBuilder().getBuilder(), + extensionRegistry); + queryTypeCase_ = 2; + break; + } // case 18 + case 24: { + limitType_ = input.readEnum(); + + 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) { - parsedMessage = (com.google.firestore.bundle.BundledQuery) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -800,22 +716,21 @@ public Builder clearQueryType() { return this; } + 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; @@ -824,21 +739,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent resource name.
      * 
* * string parent = 1; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -846,80 +760,67 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent resource name.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The parent resource name.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } 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 @@ -927,14 +828,11 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override @@ -952,8 +850,6 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** - * - * *
      * A structured query.
      * 
@@ -974,8 +870,6 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** - * - * *
      * A structured query.
      * 
@@ -994,8 +888,6 @@ public Builder setStructuredQuery( return this; } /** - * - * *
      * A structured query.
      * 
@@ -1004,13 +896,10 @@ public Builder setStructuredQuery( */ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { if (structuredQueryBuilder_ == null) { - if (queryTypeCase_ == 2 - && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { - queryType_ = - com.google.firestore.v1.StructuredQuery.newBuilder( - (com.google.firestore.v1.StructuredQuery) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 2 && + queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -1026,8 +915,6 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** - * - * *
      * A structured query.
      * 
@@ -1051,8 +938,6 @@ public Builder clearStructuredQuery() { return this; } /** - * - * *
      * A structured query.
      * 
@@ -1063,8 +948,6 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** - * - * *
      * A structured query.
      * 
@@ -1083,8 +966,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** - * - * *
      * A structured query.
      * 
@@ -1092,69 +973,55 @@ 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()); queryType_ = null; } queryTypeCase_ = 2; - onChanged(); - ; + onChanged();; return structuredQueryBuilder_; } 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. */ public Builder setLimitTypeValue(int value) { - + limitType_ = value; onChanged(); return this; } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; - * * @return The limitType. */ @java.lang.Override public com.google.firestore.bundle.BundledQuery.LimitType getLimitType() { @SuppressWarnings("deprecation") - com.google.firestore.bundle.BundledQuery.LimitType result = - com.google.firestore.bundle.BundledQuery.LimitType.valueOf(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.valueOf(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. */ @@ -1162,25 +1029,24 @@ public Builder setLimitType(com.google.firestore.bundle.BundledQuery.LimitType v if (value == null) { throw new NullPointerException(); } - + limitType_ = value.getNumber(); onChanged(); return this; } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; - * * @return This builder for chaining. */ public Builder clearLimitType() { - + limitType_ = 0; 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); } @@ -1190,12 +1056,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(); } @@ -1204,16 +1070,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 { - return new BundledQuery(input, extensionRegistry); - } - }; + 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; @@ -1228,4 +1105,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.bundle.BundledQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java similarity index 69% rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java index baea728d22..68ff233d88 100644 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; -public interface BundledQueryOrBuilder - extends +public interface BundledQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundledQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The parent resource name.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent resource name.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** - * - * *
    * A structured query.
    * 
@@ -85,13 +56,11 @@ public interface BundledQueryOrBuilder /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; - * * @return The enum numeric value on the wire for limitType. */ int getLimitTypeValue(); /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; - * * @return The limitType. */ com.google.firestore.bundle.BundledQuery.LimitType getLimitType(); diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java similarity index 68% rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java index 669951351a..cfd7c7be03 100644 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; /** - * - * *
  * A Query associated with a name, created as part of the bundle file, and can be read
  * by client SDKs once the bundle containing them is loaded.
@@ -28,128 +11,47 @@
  *
  * Protobuf type {@code google.firestore.bundle.NamedQuery}
  */
-public final class NamedQuery extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NamedQuery extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.bundle.NamedQuery)
     NamedQueryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NamedQuery.newBuilder() to construct.
   private NamedQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NamedQuery() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NamedQuery();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private NamedQuery(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              com.google.firestore.bundle.BundledQuery.Builder subBuilder = null;
-              if (bundledQuery_ != null) {
-                subBuilder = bundledQuery_.toBuilder();
-              }
-              bundledQuery_ =
-                  input.readMessage(
-                      com.google.firestore.bundle.BundledQuery.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(bundledQuery_);
-                bundledQuery_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (readTime_ != null) {
-                subBuilder = readTime_.toBuilder();
-              }
-              readTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(readTime_);
-                readTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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;
   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
@@ -157,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -166,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name of the query, such that client can use the name to load this query
    * from bundle, and resume from when the query results are materialized
@@ -182,15 +82,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -201,14 +102,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int BUNDLED_QUERY_FIELD_NUMBER = 2; private com.google.firestore.bundle.BundledQuery bundledQuery_; /** - * - * *
    * The query saved in the bundle.
    * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; - * * @return Whether the bundledQuery field is set. */ @java.lang.Override @@ -216,25 +114,18 @@ public boolean hasBundledQuery() { return bundledQuery_ != null; } /** - * - * *
    * The query saved in the bundle.
    * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; - * * @return The bundledQuery. */ @java.lang.Override public com.google.firestore.bundle.BundledQuery getBundledQuery() { - return bundledQuery_ == null - ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() - : bundledQuery_; + return bundledQuery_ == null ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() : bundledQuery_; } /** - * - * *
    * The query saved in the bundle.
    * 
@@ -249,15 +140,12 @@ public com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilde 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 @@ -265,15 +153,12 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ @java.lang.Override @@ -281,8 +166,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
@@ -296,7 +179,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -308,7 +190,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -318,7 +201,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (readTime_ != null) {
       output.writeMessage(3, getReadTime());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -331,12 +214,14 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -344,23 +229,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.bundle.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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -381,109 +269,102 @@ public int hashCode() {
       hash = (37 * hash) + READ_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getReadTime().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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.
@@ -491,39 +372,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.bundle.NamedQuery}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.bundle.NamedQuery)
       com.google.firestore.bundle.NamedQueryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.bundle.BundleProto
-          .internal_static_google_firestore_bundle_NamedQuery_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.bundle.BundleProto
-          .internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable
+      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.bundle.NamedQuery.class,
-              com.google.firestore.bundle.NamedQuery.Builder.class);
+              com.google.firestore.bundle.NamedQuery.class, com.google.firestore.bundle.NamedQuery.Builder.class);
     }
 
     // Construct using com.google.firestore.bundle.NamedQuery.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -545,9 +420,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
@@ -566,8 +441,7 @@ 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);
+      com.google.firestore.bundle.NamedQuery result = new com.google.firestore.bundle.NamedQuery(this);
       result.name_ = name_;
       if (bundledQueryBuilder_ == null) {
         result.bundledQuery_ = bundledQuery_;
@@ -587,39 +461,38 @@ public com.google.firestore.bundle.NamedQuery 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.bundle.NamedQuery) {
-        return mergeFrom((com.google.firestore.bundle.NamedQuery) other);
+        return mergeFrom((com.google.firestore.bundle.NamedQuery)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -638,7 +511,7 @@ public Builder mergeFrom(com.google.firestore.bundle.NamedQuery other) {
       if (other.hasReadTime()) {
         mergeReadTime(other.getReadTime());
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -653,24 +526,54 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.bundle.NamedQuery parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getBundledQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
-        parsedMessage = (com.google.firestore.bundle.NamedQuery) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // finally
       return this;
     }
 
     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
@@ -678,13 +581,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; @@ -693,8 +596,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the query, such that client can use the name to load this query
      * from bundle, and resume from when the query results are materialized
@@ -702,14 +603,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -717,8 +619,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the query, such that client can use the name to load this query
      * from bundle, and resume from when the query results are materialized
@@ -726,22 +626,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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
@@ -749,18 +647,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); 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
@@ -768,16 +663,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -785,47 +680,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.firestore.bundle.BundledQuery bundledQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.bundle.BundledQuery, - com.google.firestore.bundle.BundledQuery.Builder, - com.google.firestore.bundle.BundledQueryOrBuilder> - bundledQueryBuilder_; + com.google.firestore.bundle.BundledQuery, com.google.firestore.bundle.BundledQuery.Builder, com.google.firestore.bundle.BundledQueryOrBuilder> bundledQueryBuilder_; /** - * - * *
      * The query saved in the bundle.
      * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; - * * @return Whether the bundledQuery field is set. */ public boolean hasBundledQuery() { return bundledQueryBuilder_ != null || bundledQuery_ != null; } /** - * - * *
      * 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.
      * 
@@ -846,8 +728,6 @@ public Builder setBundledQuery(com.google.firestore.bundle.BundledQuery value) { return this; } /** - * - * *
      * The query saved in the bundle.
      * 
@@ -866,8 +746,6 @@ public Builder setBundledQuery( return this; } /** - * - * *
      * The query saved in the bundle.
      * 
@@ -878,9 +756,7 @@ public Builder mergeBundledQuery(com.google.firestore.bundle.BundledQuery value) if (bundledQueryBuilder_ == null) { if (bundledQuery_ != null) { bundledQuery_ = - com.google.firestore.bundle.BundledQuery.newBuilder(bundledQuery_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.bundle.BundledQuery.newBuilder(bundledQuery_).mergeFrom(value).buildPartial(); } else { bundledQuery_ = value; } @@ -892,8 +768,6 @@ public Builder mergeBundledQuery(com.google.firestore.bundle.BundledQuery value) return this; } /** - * - * *
      * The query saved in the bundle.
      * 
@@ -912,8 +786,6 @@ public Builder clearBundledQuery() { return this; } /** - * - * *
      * The query saved in the bundle.
      * 
@@ -921,13 +793,11 @@ public Builder clearBundledQuery() { * .google.firestore.bundle.BundledQuery bundled_query = 2; */ public com.google.firestore.bundle.BundledQuery.Builder getBundledQueryBuilder() { - + onChanged(); return getBundledQueryFieldBuilder().getBuilder(); } /** - * - * *
      * The query saved in the bundle.
      * 
@@ -938,14 +808,11 @@ public com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilde if (bundledQueryBuilder_ != null) { return bundledQueryBuilder_.getMessageOrBuilder(); } else { - return bundledQuery_ == null - ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() - : bundledQuery_; + return bundledQuery_ == null ? + com.google.firestore.bundle.BundledQuery.getDefaultInstance() : bundledQuery_; } } /** - * - * *
      * The query saved in the bundle.
      * 
@@ -953,17 +820,14 @@ public com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilde * .google.firestore.bundle.BundledQuery bundled_query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.bundle.BundledQuery, - com.google.firestore.bundle.BundledQuery.Builder, - com.google.firestore.bundle.BundledQueryOrBuilder> + com.google.firestore.bundle.BundledQuery, com.google.firestore.bundle.BundledQuery.Builder, com.google.firestore.bundle.BundledQueryOrBuilder> getBundledQueryFieldBuilder() { if (bundledQueryBuilder_ == null) { - bundledQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.bundle.BundledQuery, - com.google.firestore.bundle.BundledQuery.Builder, - com.google.firestore.bundle.BundledQueryOrBuilder>( - getBundledQuery(), getParentForChildren(), isClean()); + bundledQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.bundle.BundledQuery, com.google.firestore.bundle.BundledQuery.Builder, com.google.firestore.bundle.BundledQueryOrBuilder>( + getBundledQuery(), + getParentForChildren(), + isClean()); bundledQuery_ = null; } return bundledQueryBuilder_; @@ -971,35 +835,26 @@ public com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilde private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
      * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1010,8 +865,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -1033,8 +886,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -1042,7 +893,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 3;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
         onChanged();
@@ -1053,8 +905,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -1066,7 +916,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -1078,8 +928,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -1099,8 +947,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -1109,13 +955,11 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-
+      
       onChanged();
       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.
@@ -1127,12 +971,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -1141,24 +984,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1168,12 +1008,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();
   }
@@ -1182,16 +1022,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 {
-          return new NamedQuery(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1206,4 +1057,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.bundle.NamedQuery getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
similarity index 76%
rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
index 1ab84b31e9..b124e75f39 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
-public interface NamedQueryOrBuilder
-    extends
+public interface NamedQueryOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.bundle.NamedQuery)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Name of the query, such that client can use the name to load this query
    * from bundle, and resume from when the query results are materialized
@@ -33,13 +15,10 @@ public interface NamedQueryOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the query, such that client can use the name to load this query
    * from bundle, and resume from when the query results are materialized
@@ -47,38 +26,30 @@ public interface NamedQueryOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The query saved in the bundle.
    * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; - * * @return Whether the bundledQuery field is set. */ boolean hasBundledQuery(); /** - * - * *
    * The query saved in the bundle.
    * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; - * * @return The bundledQuery. */ com.google.firestore.bundle.BundledQuery getBundledQuery(); /** - * - * *
    * The query saved in the bundle.
    * 
@@ -88,34 +59,26 @@ public interface NamedQueryOrBuilder com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilder(); /** - * - * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/proto/google/firestore/bundle/bundle.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/proto/google/firestore/bundle/bundle.proto
similarity index 100%
rename from proto-google-cloud-firestore-bundle-v1/src/main/proto/google/firestore/bundle/bundle.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/proto/google/firestore/bundle/bundle.proto
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
similarity index 61%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
index e843a0edfb..3b46318cd7 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/aggregation_result.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The result of a single bucket from a Firestore aggregation query.
  * The keys of `aggregate_fields` are the same for all results in an aggregation
@@ -30,133 +13,71 @@
  *
  * Protobuf type {@code google.firestore.v1.AggregationResult}
  */
-public final class AggregationResult extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AggregationResult extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.AggregationResult)
     AggregationResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AggregationResult.newBuilder() to construct.
   private AggregationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AggregationResult() {}
+  private AggregationResult() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AggregationResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private AggregationResult(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    int mutable_bitField0_ = 0;
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                aggregateFields_ =
-                    com.google.protobuf.MapField.newMapField(
-                        AggregateFieldsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry
-                  aggregateFields__ =
-                      input.readMessage(
-                          AggregateFieldsDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-              aggregateFields_
-                  .getMutableMap()
-                  .put(aggregateFields__.getKey(), aggregateFields__.getValue());
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.AggregationResultProto
-        .internal_static_google_firestore_v1_AggregationResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 2:
         return internalGetAggregateFields();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.AggregationResultProto
-        .internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
+    return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.AggregationResult.class,
-            com.google.firestore.v1.AggregationResult.Builder.class);
+            com.google.firestore.v1.AggregationResult.class, com.google.firestore.v1.AggregationResult.Builder.class);
   }
 
   public static final int AGGREGATE_FIELDS_FIELD_NUMBER = 2;
-
   private static final class AggregateFieldsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry
-        defaultEntry =
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, com.google.firestore.v1.Value> defaultEntry =
             com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.firestore.v1.AggregationResultProto
-                        .internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor,
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                    com.google.firestore.v1.Value.getDefaultInstance());
-  }
-
-  private com.google.protobuf.MapField
-      aggregateFields_;
-
+            .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());
+  }
+  private com.google.protobuf.MapField<
+      java.lang.String, com.google.firestore.v1.Value> aggregateFields_;
   private com.google.protobuf.MapField
-      internalGetAggregateFields() {
+  internalGetAggregateFields() {
     if (aggregateFields_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           AggregateFieldsDefaultEntryHolder.defaultEntry);
@@ -168,8 +89,6 @@ public int getAggregateFieldsCount() {
     return internalGetAggregateFields().getMap().size();
   }
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -179,22 +98,22 @@ public int getAggregateFieldsCount() {
    *
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
+
   @java.lang.Override
-  public boolean containsAggregateFields(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAggregateFields(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAggregateFields().getMap().containsKey(key);
   }
-  /** Use {@link #getAggregateFieldsMap()} instead. */
+  /**
+   * Use {@link #getAggregateFieldsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAggregateFields() {
     return getAggregateFieldsMap();
   }
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -205,12 +124,11 @@ public java.util.Map getAggrega
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
   @java.lang.Override
+
   public java.util.Map getAggregateFieldsMap() {
     return internalGetAggregateFields().getMap();
   }
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -221,18 +139,16 @@ public java.util.Map getAggrega
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
   @java.lang.Override
+
   public com.google.firestore.v1.Value getAggregateFieldsOrDefault(
-      java.lang.String key, com.google.firestore.v1.Value defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String key,
+      com.google.firestore.v1.Value defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetAggregateFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -243,10 +159,10 @@ public 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)) {
@@ -256,7 +172,6 @@ public com.google.firestore.v1.Value getAggregateFieldsOrThrow(java.lang.String
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -268,10 +183,15 @@ 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);
-    unknownFields.writeTo(output);
+  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);
   }
 
   @java.lang.Override
@@ -280,18 +200,17 @@ 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__);
-    }
-    size += unknownFields.getSerializedSize();
+      aggregateFields__ = AggregateFieldsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, aggregateFields__);
+    }
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -299,16 +218,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.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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!internalGetAggregateFields().equals(
+        other.internalGetAggregateFields())) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -323,109 +242,102 @@ public int hashCode() {
       hash = (37 * hash) + AGGREGATE_FIELDS_FIELD_NUMBER;
       hash = (53 * hash) + internalGetAggregateFields().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     return hash;
   }
 
-  public static com.google.firestore.v1.AggregationResult parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.AggregationResult parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.AggregationResult parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.AggregationResult parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.AggregationResult parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.AggregationResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The result of a single bucket from a Firestore aggregation query.
    * The keys of `aggregate_fields` are the same for all results in an aggregation
@@ -435,59 +347,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.AggregationResult}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.AggregationResult)
       com.google.firestore.v1.AggregationResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.AggregationResultProto
-          .internal_static_google_firestore_v1_AggregationResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetAggregateFields();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetMutableAggregateFields();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.AggregationResultProto
-          .internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
+      return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.AggregationResult.class,
-              com.google.firestore.v1.AggregationResult.Builder.class);
+              com.google.firestore.v1.AggregationResult.class, com.google.firestore.v1.AggregationResult.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.AggregationResult.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -496,9 +404,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
@@ -517,8 +425,7 @@ 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);
+      com.google.firestore.v1.AggregationResult result = new com.google.firestore.v1.AggregationResult(this);
       int from_bitField0_ = bitField0_;
       result.aggregateFields_ = internalGetAggregateFields();
       result.aggregateFields_.makeImmutable();
@@ -530,39 +437,38 @@ public com.google.firestore.v1.AggregationResult 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.v1.AggregationResult) {
-        return mergeFrom((com.google.firestore.v1.AggregationResult) other);
+        return mergeFrom((com.google.firestore.v1.AggregationResult)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -571,8 +477,9 @@ 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());
-      this.mergeUnknownFields(other.unknownFields);
+      internalGetMutableAggregateFields().mergeFrom(
+          other.internalGetAggregateFields());
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -587,42 +494,58 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.v1.AggregationResult parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            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());
+              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) {
-        parsedMessage = (com.google.firestore.v1.AggregationResult) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // 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() {
+    internalGetAggregateFields() {
       if (aggregateFields_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             AggregateFieldsDefaultEntryHolder.defaultEntry);
       }
       return aggregateFields_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableAggregateFields() {
-      onChanged();
-      ;
+    internalGetMutableAggregateFields() {
+      onChanged();;
       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();
@@ -634,8 +557,6 @@ public int getAggregateFieldsCount() {
       return internalGetAggregateFields().getMap().size();
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -645,22 +566,22 @@ public int getAggregateFieldsCount() {
      *
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
+
     @java.lang.Override
-    public boolean containsAggregateFields(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAggregateFields(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAggregateFields().getMap().containsKey(key);
     }
-    /** Use {@link #getAggregateFieldsMap()} instead. */
+    /**
+     * Use {@link #getAggregateFieldsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAggregateFields() {
       return getAggregateFieldsMap();
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -671,12 +592,11 @@ public java.util.Map getAggrega
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
     @java.lang.Override
+
     public java.util.Map getAggregateFieldsMap() {
       return internalGetAggregateFields().getMap();
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -687,18 +607,16 @@ public java.util.Map getAggrega
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
     @java.lang.Override
+
     public com.google.firestore.v1.Value getAggregateFieldsOrDefault(
-        java.lang.String key, com.google.firestore.v1.Value defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        com.google.firestore.v1.Value defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetAggregateFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -709,10 +627,10 @@ public 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)) {
@@ -722,12 +640,11 @@ public com.google.firestore.v1.Value getAggregateFieldsOrThrow(java.lang.String
     }
 
     public Builder clearAggregateFields() {
-      internalGetMutableAggregateFields().getMutableMap().clear();
+      internalGetMutableAggregateFields().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -737,22 +654,23 @@ 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() {
+    getMutableAggregateFields() {
       return internalGetMutableAggregateFields().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -762,20 +680,19 @@ public Builder removeAggregateFields(java.lang.String key) {
      *
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
-    public Builder putAggregateFields(java.lang.String key, com.google.firestore.v1.Value value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableAggregateFields().getMutableMap().put(key, value);
+      internalGetMutableAggregateFields().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -785,14 +702,16 @@ public Builder putAggregateFields(java.lang.String key, com.google.firestore.v1.
      *
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
+
     public Builder putAllAggregateFields(
         java.util.Map values) {
-      internalGetMutableAggregateFields().getMutableMap().putAll(values);
+      internalGetMutableAggregateFields().getMutableMap()
+          .putAll(values);
       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);
     }
 
@@ -802,12 +721,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();
   }
@@ -816,16 +735,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 {
-          return new AggregationResult(input, extensionRegistry);
-        }
-      };
+  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;
@@ -840,4 +770,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.AggregationResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
similarity index 71%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
index 9dc8f62f35..ea8a061e6b 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/aggregation_result.proto
 
 package com.google.firestore.v1;
 
-public interface AggregationResultOrBuilder
-    extends
+public interface AggregationResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.AggregationResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -37,8 +19,6 @@ public interface AggregationResultOrBuilder
    */
   int getAggregateFieldsCount();
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -48,13 +28,15 @@ public interface AggregationResultOrBuilder
    *
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
-  boolean containsAggregateFields(java.lang.String key);
-  /** Use {@link #getAggregateFieldsMap()} instead. */
+  boolean containsAggregateFields(
+      java.lang.String key);
+  /**
+   * Use {@link #getAggregateFieldsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAggregateFields();
+  java.util.Map
+  getAggregateFields();
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -64,10 +46,9 @@ public interface AggregationResultOrBuilder
    *
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
-  java.util.Map getAggregateFieldsMap();
+  java.util.Map
+  getAggregateFieldsMap();
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -79,13 +60,11 @@ public interface AggregationResultOrBuilder
    */
 
   /* nullable */
-  com.google.firestore.v1.Value getAggregateFieldsOrDefault(
+com.google.firestore.v1.Value getAggregateFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.firestore.v1.Value defaultValue);
+com.google.firestore.v1.Value defaultValue);
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -95,5 +74,7 @@ com.google.firestore.v1.Value getAggregateFieldsOrDefault(
    *
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
-  com.google.firestore.v1.Value getAggregateFieldsOrThrow(java.lang.String key);
+
+  com.google.firestore.v1.Value getAggregateFieldsOrThrow(
+      java.lang.String key);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java
new file mode 100644
index 0000000000..440ca870e0
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java
@@ -0,0 +1,71 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/aggregation_result.proto
+
+package com.google.firestore.v1;
+
+public final class AggregationResultProto {
+  private AggregationResultProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_AggregationResult_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n,google/firestore/v1/aggregation_result" +
+      ".proto\022\023google.firestore.v1\032\"google/fire" +
+      "store/v1/document.proto\"\276\001\n\021AggregationR" +
+      "esult\022U\n\020aggregate_fields\030\002 \003(\0132;.google" +
+      ".firestore.v1.AggregationResult.Aggregat" +
+      "eFieldsEntry\032R\n\024AggregateFieldsEntry\022\013\n\003" +
+      "key\030\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.google.firest" +
+      "ore.v1.Value:\0028\001B\317\001\n\027com.google.firestor" +
+      "e.v1B\026AggregationResultProtoP\001Z
  * An array value.
  * 
* * Protobuf type {@code google.firestore.v1.ArrayValue} */ -public final class ArrayValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArrayValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ArrayValue) ArrayValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArrayValue.newBuilder() to construct. private ArrayValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArrayValue() { values_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArrayValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ArrayValue( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - values_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - values_.add( - input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - values_ = java.util.Collections.unmodifiableList(values_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private java.util.List values_; /** - * - * *
    * Values in the array.
    * 
@@ -136,8 +62,6 @@ public java.util.List getValuesList() { return values_; } /** - * - * *
    * Values in the array.
    * 
@@ -145,12 +69,11 @@ public java.util.List getValuesList() { * repeated .google.firestore.v1.Value values = 1; */ @java.lang.Override - public java.util.List getValuesOrBuilderList() { + public java.util.List + getValuesOrBuilderList() { return values_; } /** - * - * *
    * Values in the array.
    * 
@@ -162,8 +85,6 @@ public int getValuesCount() { return values_.size(); } /** - * - * *
    * Values in the array.
    * 
@@ -175,8 +96,6 @@ public com.google.firestore.v1.Value getValues(int index) { return values_.get(index); } /** - * - * *
    * Values in the array.
    * 
@@ -184,12 +103,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; @@ -201,11 +120,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 { for (int i = 0; i < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -215,9 +135,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)); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -225,15 +146,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,165 +170,152 @@ public int hashCode() { hash = (37 * hash) + VALUES_FIELD_NUMBER; hash = (53 * hash) + getValuesList().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getValuesFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); if (valuesBuilder_ == null) { values_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + values_ = null; valuesBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); return this; } @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 @@ -444,39 +353,38 @@ public com.google.firestore.v1.ArrayValue 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.v1.ArrayValue) { - return mergeFrom((com.google.firestore.v1.ArrayValue) other); + return mergeFrom((com.google.firestore.v1.ArrayValue)other); } else { super.mergeFrom(other); return this; @@ -503,16 +411,15 @@ 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_); } } } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -527,41 +434,60 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.ArrayValue parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.firestore.v1.ArrayValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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.
      * 
@@ -576,8 +502,6 @@ public java.util.List getValuesList() { } } /** - * - * *
      * Values in the array.
      * 
@@ -592,8 +516,6 @@ public int getValuesCount() { } } /** - * - * *
      * Values in the array.
      * 
@@ -608,15 +530,14 @@ public com.google.firestore.v1.Value getValues(int index) { } } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder setValues(int index, com.google.firestore.v1.Value value) { + public Builder setValues( + int index, com.google.firestore.v1.Value value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -630,15 +551,14 @@ public Builder setValues(int index, com.google.firestore.v1.Value value) { return this; } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder setValues(int index, com.google.firestore.v1.Value.Builder builderForValue) { + public Builder setValues( + int index, com.google.firestore.v1.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.set(index, builderForValue.build()); @@ -649,8 +569,6 @@ public Builder setValues(int index, com.google.firestore.v1.Value.Builder builde return this; } /** - * - * *
      * Values in the array.
      * 
@@ -671,15 +589,14 @@ public Builder addValues(com.google.firestore.v1.Value value) { return this; } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder addValues(int index, com.google.firestore.v1.Value value) { + public Builder addValues( + int index, com.google.firestore.v1.Value value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,15 +610,14 @@ public Builder addValues(int index, com.google.firestore.v1.Value value) { return this; } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue) { + public Builder addValues( + com.google.firestore.v1.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); @@ -712,15 +628,14 @@ public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue) return this; } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder addValues(int index, com.google.firestore.v1.Value.Builder builderForValue) { + public Builder addValues( + int index, com.google.firestore.v1.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(index, builderForValue.build()); @@ -731,8 +646,6 @@ public Builder addValues(int index, com.google.firestore.v1.Value.Builder builde return this; } /** - * - * *
      * Values in the array.
      * 
@@ -743,7 +656,8 @@ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); @@ -751,8 +665,6 @@ public Builder addAllValues( return this; } /** - * - * *
      * Values in the array.
      * 
@@ -770,8 +682,6 @@ public Builder clearValues() { return this; } /** - * - * *
      * Values in the array.
      * 
@@ -789,44 +699,39 @@ public Builder removeValues(int index) { return this; } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public com.google.firestore.v1.Value.Builder getValuesBuilder(int index) { + public com.google.firestore.v1.Value.Builder getValuesBuilder( + int index) { return getValuesFieldBuilder().getBuilder(index); } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) { + public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder( + int index) { if (valuesBuilder_ == null) { - return values_.get(index); - } else { + return values_.get(index); } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public java.util.List - getValuesOrBuilderList() { + public java.util.List + getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { @@ -834,8 +739,6 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) { } } /** - * - * *
      * Values in the array.
      * 
@@ -843,53 +746,49 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) { * repeated .google.firestore.v1.Value values = 1; */ public com.google.firestore.v1.Value.Builder addValuesBuilder() { - return getValuesFieldBuilder().addBuilder(com.google.firestore.v1.Value.getDefaultInstance()); + return getValuesFieldBuilder().addBuilder( + com.google.firestore.v1.Value.getDefaultInstance()); } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public com.google.firestore.v1.Value.Builder addValuesBuilder(int index) { - return getValuesFieldBuilder() - .addBuilder(index, com.google.firestore.v1.Value.getDefaultInstance()); + public com.google.firestore.v1.Value.Builder addValuesBuilder( + int index) { + return getValuesFieldBuilder().addBuilder( + index, com.google.firestore.v1.Value.getDefaultInstance()); } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public java.util.List getValuesBuilderList() { + public java.util.List + getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder> + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { - valuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder>( - values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>( + values_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); values_ = null; } return valuesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -899,12 +798,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(); } @@ -913,16 +812,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 { - return new ArrayValue(input, extensionRegistry); - } - }; + 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; @@ -937,4 +847,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ArrayValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java similarity index 55% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java index 5aa4db46e4..2b842d6ae4 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/document.proto package com.google.firestore.v1; -public interface ArrayValueOrBuilder - extends +public interface ArrayValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ArrayValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Values in the array.
    * 
* * repeated .google.firestore.v1.Value values = 1; */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
    * Values in the array.
    * 
@@ -44,8 +25,6 @@ public interface ArrayValueOrBuilder */ com.google.firestore.v1.Value getValues(int index); /** - * - * *
    * Values in the array.
    * 
@@ -54,23 +33,21 @@ public interface ArrayValueOrBuilder */ int getValuesCount(); /** - * - * *
    * Values in the array.
    * 
* * repeated .google.firestore.v1.Value values = 1; */ - java.util.List getValuesOrBuilderList(); + java.util.List + getValuesOrBuilderList(); /** - * - * *
    * Values in the array.
    * 
* * repeated .google.firestore.v1.Value values = 1; */ - com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index); + com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder( + int index); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java similarity index 73% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java index 6ae12c6dfe..51304344fb 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
  * 
* * Protobuf type {@code google.firestore.v1.BatchGetDocumentsRequest} */ -public final class BatchGetDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchGetDocumentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchGetDocumentsRequest) BatchGetDocumentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchGetDocumentsRequest.newBuilder() to construct. private BatchGetDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchGetDocumentsRequest() { database_ = ""; documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,158 +26,39 @@ private BatchGetDocumentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchGetDocumentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private BatchGetDocumentsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - database_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - documents_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - documents_.add(s); - break; - } - case 26: - { - com.google.firestore.v1.DocumentMask.Builder subBuilder = null; - if (mask_ != null) { - subBuilder = mask_.toBuilder(); - } - mask_ = - input.readMessage( - com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(mask_); - mask_ = subBuilder.buildPartial(); - } - - break; - } - case 34: - { - consistencySelector_ = input.readBytes(); - consistencySelectorCase_ = 4; - break; - } - case 42: - { - com.google.firestore.v1.TransactionOptions.Builder subBuilder = null; - if (consistencySelectorCase_ == 5) { - subBuilder = - ((com.google.firestore.v1.TransactionOptions) consistencySelector_).toBuilder(); - } - consistencySelector_ = - input.readMessage( - com.google.firestore.v1.TransactionOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.firestore.v1.TransactionOptions) consistencySelector_); - consistencySelector_ = subBuilder.buildPartial(); - } - consistencySelectorCase_ = 5; - break; - } - case 58: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (consistencySelectorCase_ == 7) { - subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder(); - } - consistencySelector_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_); - consistencySelector_ = subBuilder.buildPartial(); - } - consistencySelectorCase_ = 7; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - documents_ = documents_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.BatchGetDocumentsRequest.class, - com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class); + com.google.firestore.v1.BatchGetDocumentsRequest.class, com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - public enum ConsistencySelectorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(4), NEW_TRANSACTION(5), READ_TIME(7), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; - private ConsistencySelectorCase(int value) { this.value = value; } @@ -211,40 +74,33 @@ 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; 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 @@ -253,30 +109,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 { @@ -287,8 +143,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int DOCUMENTS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList documents_; /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -297,15 +151,13 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
    * 
* * repeated string documents = 2; - * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList getDocumentsList() { + public com.google.protobuf.ProtocolStringList + getDocumentsList() { return documents_; } /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -314,15 +166,12 @@ public com.google.protobuf.ProtocolStringList getDocumentsList() {
    * 
* * repeated string documents = 2; - * * @return The count of documents. */ public int getDocumentsCount() { return documents_.size(); } /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -331,7 +180,6 @@ public int getDocumentsCount() {
    * 
* * repeated string documents = 2; - * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -339,8 +187,6 @@ public java.lang.String getDocuments(int index) { return documents_.get(index); } /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -349,19 +195,17 @@ public java.lang.String getDocuments(int index) {
    * 
* * repeated string documents = 2; - * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - public com.google.protobuf.ByteString getDocumentsBytes(int index) { + public com.google.protobuf.ByteString + getDocumentsBytes(int index) { return documents_.getByteString(index); } public static final int MASK_FIELD_NUMBER = 3; private com.google.firestore.v1.DocumentMask mask_; /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -369,7 +213,6 @@ public com.google.protobuf.ByteString getDocumentsBytes(int index) {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return Whether the mask field is set. */ @java.lang.Override @@ -377,8 +220,6 @@ public boolean hasMask() { return mask_ != null; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -386,7 +227,6 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return The mask. */ @java.lang.Override @@ -394,8 +234,6 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -411,14 +249,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
 
   public static final int TRANSACTION_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -426,14 +261,11 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** - * - * *
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; - * * @return The transaction. */ @java.lang.Override @@ -446,8 +278,6 @@ public com.google.protobuf.ByteString getTransaction() { public static final int NEW_TRANSACTION_FIELD_NUMBER = 5; /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -456,7 +286,6 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -464,8 +293,6 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -474,19 +301,16 @@ public boolean hasNewTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return The newTransaction. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions getNewTransaction() { if (consistencySelectorCase_ == 5) { - return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; } return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -499,22 +323,19 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() {
   @java.lang.Override
   public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
     if (consistencySelectorCase_ == 5) {
-      return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+       return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
     }
     return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 7;
   /**
-   *
-   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -522,27 +343,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 7; } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 7) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -553,13 +369,12 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 7) {
-      return (com.google.protobuf.Timestamp) consistencySelector_;
+       return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -571,7 +386,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_);
     }
@@ -582,7 +398,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       output.writeMessage(3, getMask());
     }
     if (consistencySelectorCase_ == 4) {
-      output.writeBytes(4, (com.google.protobuf.ByteString) consistencySelector_);
+      output.writeBytes(
+          4, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
       output.writeMessage(5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
@@ -590,7 +407,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (consistencySelectorCase_ == 7) {
       output.writeMessage(7, (com.google.protobuf.Timestamp) consistencySelector_);
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -611,24 +428,23 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -636,35 +452,40 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.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:
     }
-    if (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -701,148 +522,135 @@ public int hashCode() {
       case 0:
       default:
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -856,15 +664,21 @@ public Builder clear() { mask_ = null; maskBuilder_ = null; } + if (newTransactionBuilder_ != null) { + newTransactionBuilder_.clear(); + } + if (readTimeBuilder_ != null) { + readTimeBuilder_.clear(); + } consistencySelectorCase_ = 0; consistencySelector_ = null; return this; } @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 @@ -883,8 +697,7 @@ public com.google.firestore.v1.BatchGetDocumentsRequest build() { @java.lang.Override public com.google.firestore.v1.BatchGetDocumentsRequest buildPartial() { - com.google.firestore.v1.BatchGetDocumentsRequest result = - new com.google.firestore.v1.BatchGetDocumentsRequest(this); + com.google.firestore.v1.BatchGetDocumentsRequest result = new com.google.firestore.v1.BatchGetDocumentsRequest(this); int from_bitField0_ = bitField0_; result.database_ = database_; if (((bitField0_ & 0x00000001) != 0)) { @@ -923,39 +736,38 @@ public com.google.firestore.v1.BatchGetDocumentsRequest 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.v1.BatchGetDocumentsRequest) { - return mergeFrom((com.google.firestore.v1.BatchGetDocumentsRequest) other); + return mergeFrom((com.google.firestore.v1.BatchGetDocumentsRequest)other); } else { super.mergeFrom(other); return this; @@ -963,8 +775,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsRequest other) { - if (other == com.google.firestore.v1.BatchGetDocumentsRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.BatchGetDocumentsRequest.getDefaultInstance()) return this; if (!other.getDatabase().isEmpty()) { database_ = other.database_; onChanged(); @@ -983,27 +794,23 @@ 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -1018,25 +825,75 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.BatchGetDocumentsRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + database_ = input.readStringRequireUtf8(); + + 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); + + 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) { - parsedMessage = (com.google.firestore.v1.BatchGetDocumentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -1050,21 +907,19 @@ public Builder clearConsistencySelector() { private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -1073,22 +928,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -1096,81 +950,70 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList documents_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDocumentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { documents_ = new com.google.protobuf.LazyStringArrayList(documents_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1179,15 +1022,13 @@ private void ensureDocumentsIsMutable() {
      * 
* * repeated string documents = 2; - * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList getDocumentsList() { + public com.google.protobuf.ProtocolStringList + getDocumentsList() { return documents_.getUnmodifiableView(); } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1196,15 +1037,12 @@ public com.google.protobuf.ProtocolStringList getDocumentsList() {
      * 
* * repeated string documents = 2; - * * @return The count of documents. */ public int getDocumentsCount() { return documents_.size(); } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1213,7 +1051,6 @@ public int getDocumentsCount() {
      * 
* * repeated string documents = 2; - * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -1221,8 +1058,6 @@ public java.lang.String getDocuments(int index) { return documents_.get(index); } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1231,16 +1066,14 @@ public java.lang.String getDocuments(int index) {
      * 
* * repeated string documents = 2; - * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - public com.google.protobuf.ByteString getDocumentsBytes(int index) { + public com.google.protobuf.ByteString + getDocumentsBytes(int index) { return documents_.getByteString(index); } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1249,23 +1082,21 @@ public com.google.protobuf.ByteString getDocumentsBytes(int index) {
      * 
* * repeated string documents = 2; - * * @param index The index to set the value at. * @param value The documents to set. * @return This builder for chaining. */ - public Builder setDocuments(int index, java.lang.String value) { + public Builder setDocuments( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDocumentsIsMutable(); + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); documents_.set(index, value); onChanged(); return this; } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1274,22 +1105,20 @@ public Builder setDocuments(int index, java.lang.String value) {
      * 
* * repeated string documents = 2; - * * @param value The documents to add. * @return This builder for chaining. */ - public Builder addDocuments(java.lang.String value) { + public Builder addDocuments( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDocumentsIsMutable(); + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); documents_.add(value); onChanged(); return this; } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1298,19 +1127,18 @@ public Builder addDocuments(java.lang.String value) {
      * 
* * repeated string documents = 2; - * * @param values The documents to add. * @return This builder for chaining. */ - public Builder addAllDocuments(java.lang.Iterable values) { + public Builder addAllDocuments( + java.lang.Iterable values) { ensureDocumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, documents_); onChanged(); return this; } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1319,7 +1147,6 @@ public Builder addAllDocuments(java.lang.Iterable values) {
      * 
* * repeated string documents = 2; - * * @return This builder for chaining. */ public Builder clearDocuments() { @@ -1329,8 +1156,6 @@ public Builder clearDocuments() { return this; } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1339,15 +1164,15 @@ 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) { + public Builder addDocumentsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDocumentsIsMutable(); documents_.add(value); onChanged(); @@ -1356,13 +1181,8 @@ public Builder addDocumentsBytes(com.google.protobuf.ByteString value) { private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder> - maskBuilder_; + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1370,15 +1190,12 @@ public Builder addDocumentsBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return Whether the mask field is set. */ public boolean hasMask() { return maskBuilder_ != null || mask_ != null; } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1386,7 +1203,6 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1397,8 +1213,6 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1421,8 +1235,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1431,7 +1243,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 3;
      */
-    public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setMask(
+        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (maskBuilder_ == null) {
         mask_ = builderForValue.build();
         onChanged();
@@ -1442,8 +1255,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1456,9 +1267,7 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
         if (mask_ != null) {
           mask_ =
-              com.google.firestore.v1.DocumentMask.newBuilder(mask_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.v1.DocumentMask.newBuilder(mask_).mergeFrom(value).buildPartial();
         } else {
           mask_ = value;
         }
@@ -1470,8 +1279,6 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1492,8 +1299,6 @@ public Builder clearMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1503,13 +1308,11 @@ public Builder clearMask() {
      * .google.firestore.v1.DocumentMask mask = 3;
      */
     public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
-
+      
       onChanged();
       return getMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1522,12 +1325,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ?
+            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1537,45 +1339,36 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
         getMaskFieldBuilder() {
       if (maskBuilder_ == null) {
-        maskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.DocumentMask,
-                com.google.firestore.v1.DocumentMask.Builder,
-                com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getMask(), getParentForChildren(), isClean());
+        maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getMask(),
+                getParentForChildren(),
+                isClean());
         mask_ = null;
       }
       return maskBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * Reads documents in a transaction.
      * 
* * bytes transaction = 4; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** - * - * *
      * Reads documents in a transaction.
      * 
* * bytes transaction = 4; - * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1585,35 +1378,29 @@ 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(); - } - consistencySelectorCase_ = 4; + 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() { @@ -1626,13 +1413,8 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions, - com.google.firestore.v1.TransactionOptions.Builder, - com.google.firestore.v1.TransactionOptionsOrBuilder> - newTransactionBuilder_; + com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> newTransactionBuilder_; /** - * - * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1641,7 +1423,6 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1649,8 +1430,6 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** - * - * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1659,7 +1438,6 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return The newTransaction. */ @java.lang.Override @@ -1677,8 +1455,6 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** - * - * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1702,8 +1478,6 @@ public Builder setNewTransaction(com.google.firestore.v1.TransactionOptions valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1725,8 +1499,6 @@ public Builder setNewTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1738,14 +1510,10 @@ public Builder setNewTransaction(
      */
     public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions value) {
       if (newTransactionBuilder_ == null) {
-        if (consistencySelectorCase_ == 5
-            && consistencySelector_
-                != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.firestore.v1.TransactionOptions.newBuilder(
-                      (com.google.firestore.v1.TransactionOptions) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 5 &&
+            consistencySelector_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
+          consistencySelector_ = com.google.firestore.v1.TransactionOptions.newBuilder((com.google.firestore.v1.TransactionOptions) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1761,8 +1529,6 @@ public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions va
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1789,8 +1555,6 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1804,8 +1568,6 @@ public com.google.firestore.v1.TransactionOptions.Builder getNewTransactionBuild
       return getNewTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1827,8 +1589,6 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1839,45 +1599,33 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return newTransactionBuilder_;
     }
 
     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 @@ -1885,15 +1633,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 7; } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ @java.lang.Override @@ -1911,8 +1656,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1934,8 +1677,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1943,7 +1684,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 7;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1954,8 +1696,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1965,13 +1705,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 7
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 7 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1987,8 +1724,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -2013,8 +1748,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -2026,8 +1759,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -2047,8 +1778,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -2057,32 +1786,26 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 7;
-      onChanged();
-      ;
+      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);
     }
 
@@ -2092,12 +1815,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();
   }
@@ -2106,16 +1829,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 {
-          return new BatchGetDocumentsRequest(input, extensionRegistry);
-        }
-      };
+  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;
@@ -2130,4 +1864,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.BatchGetDocumentsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
similarity index 84%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
index 7c77b6fe6b..8705811b40 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
@@ -1,58 +1,35 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BatchGetDocumentsRequestOrBuilder
-    extends
+public interface BatchGetDocumentsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchGetDocumentsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -61,13 +38,11 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * repeated string documents = 2; - * * @return A list containing the documents. */ - java.util.List getDocumentsList(); + java.util.List + getDocumentsList(); /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -76,13 +51,10 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * repeated string documents = 2; - * * @return The count of documents. */ int getDocumentsCount(); /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -91,14 +63,11 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * repeated string documents = 2; - * * @param index The index of the element to return. * @return The documents at the given index. */ java.lang.String getDocuments(int index); /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -107,15 +76,13 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * repeated string documents = 2; - * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - com.google.protobuf.ByteString getDocumentsBytes(int index); + com.google.protobuf.ByteString + getDocumentsBytes(int index); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -123,13 +90,10 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return Whether the mask field is set. */ boolean hasMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -137,13 +101,10 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -155,33 +116,25 @@ public interface BatchGetDocumentsRequestOrBuilder
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -190,13 +143,10 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -205,13 +155,10 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return The newTransaction. */ com.google.firestore.v1.TransactionOptions getNewTransaction(); /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -224,34 +171,26 @@ public interface BatchGetDocumentsRequestOrBuilder
   com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -261,6 +200,5 @@ public interface BatchGetDocumentsRequestOrBuilder
    */
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-  public com.google.firestore.v1.BatchGetDocumentsRequest.ConsistencySelectorCase
-      getConsistencySelectorCase();
+  public com.google.firestore.v1.BatchGetDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase();
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
similarity index 71%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
index 6a15679ad0..e643184294 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
@@ -1,165 +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/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
  * 
* * Protobuf type {@code google.firestore.v1.BatchGetDocumentsResponse} */ -public final class BatchGetDocumentsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchGetDocumentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchGetDocumentsResponse) BatchGetDocumentsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchGetDocumentsResponse.newBuilder() to construct. private BatchGetDocumentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchGetDocumentsResponse() { transaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchGetDocumentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private BatchGetDocumentsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.firestore.v1.Document.Builder subBuilder = null; - if (resultCase_ == 1) { - subBuilder = ((com.google.firestore.v1.Document) result_).toBuilder(); - } - result_ = - input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.Document) result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 1; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - resultCase_ = 2; - result_ = s; - break; - } - case 26: - { - transaction_ = input.readBytes(); - break; - } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); - } - readTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.BatchGetDocumentsResponse.class, - com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class); + com.google.firestore.v1.BatchGetDocumentsResponse.class, com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class); } private int resultCase_ = 0; private java.lang.Object result_; - public enum ResultCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FOUND(1), MISSING(2), RESULT_NOT_SET(0); private final int value; - private ResultCase(int value) { this.value = value; } @@ -175,36 +72,30 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 1: - return FOUND; - case 2: - return MISSING; - case 0: - return RESULT_NOT_SET; - default: - return null; + case 1: return FOUND; + case 2: return MISSING; + case 0: return RESULT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResultCase getResultCase() { - return ResultCase.forNumber(resultCase_); + public ResultCase + getResultCase() { + return ResultCase.forNumber( + resultCase_); } public static final int FOUND_FIELD_NUMBER = 1; /** - * - * *
    * A document that was requested.
    * 
* * .google.firestore.v1.Document found = 1; - * * @return Whether the found field is set. */ @java.lang.Override @@ -212,26 +103,21 @@ public boolean hasFound() { return resultCase_ == 1; } /** - * - * *
    * A document that was requested.
    * 
* * .google.firestore.v1.Document found = 1; - * * @return The found. */ @java.lang.Override public com.google.firestore.v1.Document getFound() { if (resultCase_ == 1) { - return (com.google.firestore.v1.Document) result_; + return (com.google.firestore.v1.Document) result_; } return com.google.firestore.v1.Document.getDefaultInstance(); } /** - * - * *
    * A document that was requested.
    * 
@@ -241,37 +127,31 @@ public com.google.firestore.v1.Document getFound() { @java.lang.Override public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { if (resultCase_ == 1) { - return (com.google.firestore.v1.Document) result_; + return (com.google.firestore.v1.Document) result_; } return com.google.firestore.v1.Document.getDefaultInstance(); } public static final int MISSING_FIELD_NUMBER = 2; /** - * - * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; - * * @return Whether the missing field is set. */ public boolean hasMissing() { return resultCase_ == 2; } /** - * - * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; - * * @return The missing. */ public java.lang.String getMissing() { @@ -282,7 +162,8 @@ public java.lang.String getMissing() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (resultCase_ == 2) { result_ = s; @@ -291,25 +172,24 @@ public java.lang.String getMissing() { } } /** - * - * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; - * * @return The bytes for missing. */ - public com.google.protobuf.ByteString getMissingBytes() { + public com.google.protobuf.ByteString + getMissingBytes() { java.lang.Object ref = ""; if (resultCase_ == 2) { ref = result_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (resultCase_ == 2) { result_ = b; } @@ -322,8 +202,6 @@ public com.google.protobuf.ByteString getMissingBytes() { public static final int TRANSACTION_FIELD_NUMBER = 3; private com.google.protobuf.ByteString transaction_; /** - * - * *
    * The transaction that was started as part of this request.
    * Will only be set in the first response, and only if
@@ -331,7 +209,6 @@ public com.google.protobuf.ByteString getMissingBytes() {
    * 
* * bytes transaction = 3; - * * @return The transaction. */ @java.lang.Override @@ -342,8 +219,6 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -352,7 +227,6 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -360,8 +234,6 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -370,7 +242,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override @@ -378,8 +249,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -395,7 +264,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -407,7 +275,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (resultCase_ == 1) {
       output.writeMessage(1, (com.google.firestore.v1.Document) result_);
     }
@@ -420,7 +289,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (readTime_ != null) {
       output.writeMessage(4, getReadTime());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -430,20 +299,21 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -451,31 +321,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.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:
     }
-    if (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -504,151 +377,141 @@ public int hashCode() {
       case 0:
       default:
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     return hash;
   }
 
   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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); + if (foundBuilder_ != null) { + foundBuilder_.clear(); + } transaction_ = com.google.protobuf.ByteString.EMPTY; if (readTimeBuilder_ == null) { @@ -663,9 +526,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 @@ -684,8 +547,7 @@ 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); + com.google.firestore.v1.BatchGetDocumentsResponse result = new com.google.firestore.v1.BatchGetDocumentsResponse(this); if (resultCase_ == 1) { if (foundBuilder_ == null) { result.result_ = result_; @@ -711,39 +573,38 @@ public com.google.firestore.v1.BatchGetDocumentsResponse 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.v1.BatchGetDocumentsResponse) { - return mergeFrom((com.google.firestore.v1.BatchGetDocumentsResponse) other); + return mergeFrom((com.google.firestore.v1.BatchGetDocumentsResponse)other); } else { super.mergeFrom(other); return this; @@ -751,8 +612,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsResponse other) { - if (other == com.google.firestore.v1.BatchGetDocumentsResponse.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.BatchGetDocumentsResponse.getDefaultInstance()) return this; if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) { setTransaction(other.getTransaction()); } @@ -760,24 +620,21 @@ 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -792,26 +649,63 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.BatchGetDocumentsResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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(); + + break; + } // case 26 + case 34: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = - (com.google.firestore.v1.BatchGetDocumentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -821,20 +715,15 @@ public Builder clearResult() { return this; } + 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 @@ -842,14 +731,11 @@ public boolean hasFound() { return resultCase_ == 1; } /** - * - * *
      * A document that was requested.
      * 
* * .google.firestore.v1.Document found = 1; - * * @return The found. */ @java.lang.Override @@ -867,8 +753,6 @@ public com.google.firestore.v1.Document getFound() { } } /** - * - * *
      * A document that was requested.
      * 
@@ -889,15 +773,14 @@ public Builder setFound(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * A document that was requested.
      * 
* * .google.firestore.v1.Document found = 1; */ - public Builder setFound(com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setFound( + com.google.firestore.v1.Document.Builder builderForValue) { if (foundBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -908,8 +791,6 @@ public Builder setFound(com.google.firestore.v1.Document.Builder builderForValue return this; } /** - * - * *
      * A document that was requested.
      * 
@@ -918,12 +799,10 @@ public Builder setFound(com.google.firestore.v1.Document.Builder builderForValue */ public Builder mergeFound(com.google.firestore.v1.Document value) { if (foundBuilder_ == null) { - if (resultCase_ == 1 && result_ != com.google.firestore.v1.Document.getDefaultInstance()) { - result_ = - com.google.firestore.v1.Document.newBuilder( - (com.google.firestore.v1.Document) result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 1 && + result_ != com.google.firestore.v1.Document.getDefaultInstance()) { + result_ = com.google.firestore.v1.Document.newBuilder((com.google.firestore.v1.Document) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -939,8 +818,6 @@ public Builder mergeFound(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * A document that was requested.
      * 
@@ -964,8 +841,6 @@ public Builder clearFound() { return this; } /** - * - * *
      * A document that was requested.
      * 
@@ -976,8 +851,6 @@ public com.google.firestore.v1.Document.Builder getFoundBuilder() { return getFoundFieldBuilder().getBuilder(); } /** - * - * *
      * A document that was requested.
      * 
@@ -996,8 +869,6 @@ public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { } } /** - * - * *
      * A document that was requested.
      * 
@@ -1005,38 +876,31 @@ 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; - onChanged(); - ; + onChanged();; return foundBuilder_; } /** - * - * *
      * 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 @@ -1044,15 +908,12 @@ public boolean hasMissing() { return resultCase_ == 2; } /** - * - * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; - * * @return The missing. */ @java.lang.Override @@ -1062,7 +923,8 @@ public java.lang.String getMissing() { ref = result_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (resultCase_ == 2) { result_ = s; @@ -1073,26 +935,25 @@ public java.lang.String getMissing() { } } /** - * - * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; - * * @return The bytes for missing. */ @java.lang.Override - public com.google.protobuf.ByteString getMissingBytes() { + public com.google.protobuf.ByteString + getMissingBytes() { java.lang.Object ref = ""; if (resultCase_ == 2) { ref = result_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (resultCase_ == 2) { result_ = b; } @@ -1102,37 +963,32 @@ public com.google.protobuf.ByteString getMissingBytes() { } } /** - * - * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; - * * @param value The missing to set. * @return This builder for chaining. */ - public Builder setMissing(java.lang.String value) { + public Builder setMissing( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - resultCase_ = 2; + 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() { @@ -1144,23 +1000,21 @@ 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) { + public Builder setMissingBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); resultCase_ = 2; result_ = value; onChanged(); @@ -1169,8 +1023,6 @@ public Builder setMissingBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The transaction that was started as part of this request.
      * Will only be set in the first response, and only if
@@ -1178,7 +1030,6 @@ public Builder setMissingBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 3; - * * @return The transaction. */ @java.lang.Override @@ -1186,8 +1037,6 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * The transaction that was started as part of this request.
      * Will only be set in the first response, and only if
@@ -1195,22 +1044,19 @@ 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(); - } - + throw new NullPointerException(); + } + transaction_ = value; onChanged(); return this; } /** - * - * *
      * The transaction that was started as part of this request.
      * Will only be set in the first response, and only if
@@ -1218,11 +1064,10 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 3; - * * @return This builder for chaining. */ public Builder clearTransaction() { - + transaction_ = getDefaultInstance().getTransaction(); onChanged(); return this; @@ -1230,13 +1075,8 @@ public Builder clearTransaction() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1245,15 +1085,12 @@ public Builder clearTransaction() {
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1262,7 +1099,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1273,8 +1109,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1298,8 +1132,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1309,7 +1141,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 4;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
         onChanged();
@@ -1320,8 +1153,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1335,7 +1166,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -1347,8 +1178,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1370,8 +1199,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1382,13 +1209,11 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-
+      
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1402,12 +1227,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1418,24 +1242,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1445,12 +1266,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();
   }
@@ -1459,16 +1280,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 {
-          return new BatchGetDocumentsResponse(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1483,4 +1315,6 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.firestore.v1.BatchGetDocumentsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
similarity index 80%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
index 5f4d582a00..d88d09cb64 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BatchGetDocumentsResponseOrBuilder
-    extends
+public interface BatchGetDocumentsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchGetDocumentsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A document that was requested.
    * 
* * .google.firestore.v1.Document found = 1; - * * @return Whether the found field is set. */ boolean hasFound(); /** - * - * *
    * A document that was requested.
    * 
* * .google.firestore.v1.Document found = 1; - * * @return The found. */ com.google.firestore.v1.Document getFound(); /** - * - * *
    * A document that was requested.
    * 
@@ -59,48 +35,38 @@ public interface BatchGetDocumentsResponseOrBuilder com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder(); /** - * - * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; - * * @return Whether the missing field is set. */ boolean hasMissing(); /** - * - * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; - * * @return The missing. */ java.lang.String getMissing(); /** - * - * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; - * * @return The bytes for missing. */ - com.google.protobuf.ByteString getMissingBytes(); + com.google.protobuf.ByteString + getMissingBytes(); /** - * - * *
    * The transaction that was started as part of this request.
    * Will only be set in the first response, and only if
@@ -108,14 +74,11 @@ public interface BatchGetDocumentsResponseOrBuilder
    * 
* * bytes transaction = 3; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -124,13 +87,10 @@ public interface BatchGetDocumentsResponseOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -139,13 +99,10 @@ public interface BatchGetDocumentsResponseOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
similarity index 67%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
index 29206f47d0..e1f6e5d404 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The request for [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
  * 
* * 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(); @@ -44,126 +26,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private BatchWriteRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - database_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - writes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - writes_.add( - input.readMessage(com.google.firestore.v1.Write.parser(), extensionRegistry)); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - writes_ = java.util.Collections.unmodifiableList(writes_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -172,30 +78,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 { @@ -206,8 +112,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int WRITES_FIELD_NUMBER = 2; private java.util.List writes_; /** - * - * *
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -222,8 +126,6 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -234,12 +136,11 @@ public java.util.List getWritesList() {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public java.util.List getWritesOrBuilderList() {
+  public java.util.List 
+      getWritesOrBuilderList() {
     return writes_;
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -254,8 +155,6 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -270,8 +169,6 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -282,28 +179,30 @@ public com.google.firestore.v1.Write getWrites(int index) {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
+  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+      int index) {
     return writes_.get(index);
   }
 
   public static final int LABELS_FIELD_NUMBER = 3;
-
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.firestore.v1.FirestoreProto
-                .internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField labels_;
-
-  private com.google.protobuf.MapField internalGetLabels() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> labels_;
+  private com.google.protobuf.MapField
+  internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -312,30 +211,28 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Labels associated with this batch write.
    * 
* * 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.
    * 
@@ -343,12 +240,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 3; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels associated with this batch write.
    * 
@@ -356,16 +252,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + 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.
    * 
@@ -373,11 +269,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * 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(); } @@ -385,7 +282,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -397,16 +293,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(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); - unknownFields.writeTo(output); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 3); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -419,19 +320,20 @@ 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 += unknownFields.getSerializedSize(); + 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; return size; } @@ -439,18 +341,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.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 (!unknownFields.equals(other.unknownFields)) 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; } @@ -471,170 +375,157 @@ public int hashCode() { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getWritesFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); @@ -642,18 +533,19 @@ public Builder clear() { if (writesBuilder_ == null) { writes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + writes_ = null; writesBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); internalGetMutableLabels().clear(); return this; } @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 @@ -672,8 +564,7 @@ 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); int from_bitField0_ = bitField0_; result.database_ = database_; if (writesBuilder_ == null) { @@ -695,39 +586,38 @@ public com.google.firestore.v1.BatchWriteRequest 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.v1.BatchWriteRequest) { - return mergeFrom((com.google.firestore.v1.BatchWriteRequest) other); + return mergeFrom((com.google.firestore.v1.BatchWriteRequest)other); } else { super.mergeFrom(other); return this; @@ -758,17 +648,17 @@ public Builder mergeFrom(com.google.firestore.v1.BatchWriteRequest other) { writesBuilder_ = null; writes_ = other.writes_; bitField0_ = (bitField0_ & ~0x00000001); - 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()); - this.mergeUnknownFields(other.unknownFields); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -783,39 +673,75 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.BatchWriteRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + database_ = input.readStringRequireUtf8(); + + 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()); + 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) { - parsedMessage = (com.google.firestore.v1.BatchWriteRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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; @@ -824,22 +750,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -847,88 +772,75 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; } private java.util.List writes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWritesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writes_ = new java.util.ArrayList(writes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Write, - com.google.firestore.v1.Write.Builder, - com.google.firestore.v1.WriteOrBuilder> - writesBuilder_; + com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> writesBuilder_; /** - * - * *
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -946,8 +858,6 @@ public java.util.List getWritesList() {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -965,8 +875,6 @@ public int getWritesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -984,8 +892,6 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -995,7 +901,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder setWrites(int index, com.google.firestore.v1.Write value) {
+    public Builder setWrites(
+        int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1009,8 +916,6 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1020,7 +925,8 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder setWrites(
+        int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.set(index, builderForValue.build());
@@ -1031,8 +937,6 @@ public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1056,8 +960,6 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1067,7 +969,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(int index, com.google.firestore.v1.Write value) {
+    public Builder addWrites(
+        int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1081,8 +984,6 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1092,7 +993,8 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(
+        com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(builderForValue.build());
@@ -1103,8 +1005,6 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1114,7 +1014,8 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(
+        int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(index, builderForValue.build());
@@ -1125,8 +1026,6 @@ public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1140,7 +1039,8 @@ public Builder addAllWrites(
         java.lang.Iterable values) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, writes_);
         onChanged();
       } else {
         writesBuilder_.addAllMessages(values);
@@ -1148,8 +1048,6 @@ public Builder addAllWrites(
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1170,8 +1068,6 @@ public Builder clearWrites() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1192,8 +1088,6 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1203,12 +1097,11 @@ public Builder removeWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
+    public com.google.firestore.v1.Write.Builder getWritesBuilder(
+        int index) {
       return getWritesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1218,16 +1111,14 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
+    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+        int index) {
       if (writesBuilder_ == null) {
-        return writes_.get(index);
-      } else {
+        return writes_.get(index);  } else {
         return writesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1237,8 +1128,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public java.util.List
-        getWritesOrBuilderList() {
+    public java.util.List 
+         getWritesOrBuilderList() {
       if (writesBuilder_ != null) {
         return writesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1246,8 +1137,6 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1258,11 +1147,10 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
      * repeated .google.firestore.v1.Write writes = 2;
      */
     public com.google.firestore.v1.Write.Builder addWritesBuilder() {
-      return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance());
+      return getWritesFieldBuilder().addBuilder(
+          com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1272,13 +1160,12 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
-      return getWritesFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance());
+    public com.google.firestore.v1.Write.Builder addWritesBuilder(
+        int index) {
+      return getWritesFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1288,42 +1175,41 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public java.util.List getWritesBuilderList() {
+    public java.util.List 
+         getWritesBuilderList() {
       return getWritesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Write,
-            com.google.firestore.v1.Write.Builder,
-            com.google.firestore.v1.WriteOrBuilder>
+        com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> 
         getWritesFieldBuilder() {
       if (writesBuilder_ == null) {
-        writesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.Write,
-                com.google.firestore.v1.Write.Builder,
-                com.google.firestore.v1.WriteOrBuilder>(
-                writes_, ((bitField0_ & 0x00000001) != 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_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         writes_ = null;
       }
       return writesBuilder_;
     }
 
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> labels_;
+    private com.google.protobuf.MapField
+    internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableLabels() {
-      onChanged();
-      ;
+    internalGetMutableLabels() {
+      onChanged();;
       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();
@@ -1335,30 +1221,28 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Labels associated with this batch write.
      * 
* * 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.
      * 
@@ -1366,12 +1250,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 3; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels associated with this batch write.
      * 
@@ -1379,17 +1262,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + 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.
      * 
@@ -1397,11 +1279,12 @@ public 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(); } @@ -1409,66 +1292,69 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - 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() { 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); 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); 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); } @@ -1478,12 +1364,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(); } @@ -1492,16 +1378,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 { - return new BatchWriteRequest(input, extensionRegistry); - } - }; + 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; @@ -1516,4 +1413,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.BatchWriteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java index c4ca51edc8..86c2030e02 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface BatchWriteRequestOrBuilder - extends +public interface BatchWriteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchWriteRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -62,10 +39,9 @@ public interface BatchWriteRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List getWritesList();
+  java.util.List 
+      getWritesList();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -77,8 +53,6 @@ public interface BatchWriteRequestOrBuilder
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -90,8 +64,6 @@ public interface BatchWriteRequestOrBuilder
    */
   int getWritesCount();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -101,10 +73,9 @@ public interface BatchWriteRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List getWritesOrBuilderList();
+  java.util.List 
+      getWritesOrBuilderList();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -114,11 +85,10 @@ public interface BatchWriteRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index);
+  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Labels associated with this batch write.
    * 
@@ -127,31 +97,30 @@ public interface BatchWriteRequestOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels associated with this batch write.
    * 
* * map<string, string> labels = 3; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels associated with this batch write.
    * 
* * map<string, string> labels = 3; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels associated with this batch write.
    * 
@@ -160,18 +129,18 @@ public interface BatchWriteRequestOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels associated with this batch write.
    * 
* * map<string, string> labels = 3; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java similarity index 72% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java index 03025834ca..c26d3edc2e 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The response from [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
  * 
* * 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(); @@ -44,101 +26,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private BatchWriteResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - writeResults_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - writeResults_.add( - input.readMessage( - com.google.firestore.v1.WriteResult.parser(), extensionRegistry)); - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - status_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - status_.add(input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - writeResults_ = java.util.Collections.unmodifiableList(writeResults_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - status_ = java.util.Collections.unmodifiableList(status_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private java.util.List writeResults_; /** - * - * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -152,8 +65,6 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -163,13 +74,11 @@ public java.util.List getWriteResultsList()
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getWriteResultsOrBuilderList() {
     return writeResults_;
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -183,8 +92,6 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -198,8 +105,6 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -209,15 +114,14 @@ 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;
   private java.util.List status_;
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -231,8 +135,6 @@ public java.util.List getStatusList() {
     return status_;
   }
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -242,12 +144,11 @@ public java.util.List getStatusList() {
    * repeated .google.rpc.Status status = 2;
    */
   @java.lang.Override
-  public java.util.List getStatusOrBuilderList() {
+  public java.util.List 
+      getStatusOrBuilderList() {
     return status_;
   }
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -261,8 +162,6 @@ public int getStatusCount() {
     return status_.size();
   }
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -276,8 +175,6 @@ public com.google.rpc.Status getStatus(int index) {
     return status_.get(index);
   }
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -287,12 +184,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;
@@ -304,14 +201,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 {
     for (int i = 0; i < writeResults_.size(); i++) {
       output.writeMessage(1, writeResults_.get(i));
     }
     for (int i = 0; i < status_.size(); i++) {
       output.writeMessage(2, status_.get(i));
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -321,12 +219,14 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -334,17 +234,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.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 (!unknownFields.equals(other.unknownFields)) 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;
   }
 
@@ -363,173 +264,159 @@ public int hashCode() {
       hash = (37 * hash) + STATUS_FIELD_NUMBER;
       hash = (53 * hash) + getStatusList().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getWriteResultsFieldBuilder(); - getStatusFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); if (writeResultsBuilder_ == null) { writeResults_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + writeResults_ = null; writeResultsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); if (statusBuilder_ == null) { status_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); } else { + status_ = null; statusBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000002); return this; } @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 @@ -548,8 +435,7 @@ 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); int from_bitField0_ = bitField0_; if (writeResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -577,39 +463,38 @@ public com.google.firestore.v1.BatchWriteResponse 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.v1.BatchWriteResponse) { - return mergeFrom((com.google.firestore.v1.BatchWriteResponse) other); + return mergeFrom((com.google.firestore.v1.BatchWriteResponse)other); } else { super.mergeFrom(other); return this; @@ -636,10 +521,9 @@ public Builder mergeFrom(com.google.firestore.v1.BatchWriteResponse other) { writeResultsBuilder_ = null; writeResults_ = other.writeResults_; bitField0_ = (bitField0_ & ~0x00000001); - writeResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWriteResultsFieldBuilder() - : null; + writeResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWriteResultsFieldBuilder() : null; } else { writeResultsBuilder_.addAllMessages(other.writeResults_); } @@ -663,16 +547,15 @@ 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_); } } } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -687,41 +570,73 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.BatchWriteResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.firestore.v1.BatchWriteResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } - private int bitField0_; private java.util.List writeResults_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWriteResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writeResults_ = new java.util.ArrayList(writeResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.WriteResult, - com.google.firestore.v1.WriteResult.Builder, - com.google.firestore.v1.WriteResultOrBuilder> - writeResultsBuilder_; + com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> writeResultsBuilder_; /** - * - * *
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -738,8 +653,6 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -756,8 +669,6 @@ public int getWriteResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -774,8 +685,6 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -784,7 +693,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult value) {
+    public Builder setWriteResults(
+        int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -798,8 +708,6 @@ public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult va
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -820,8 +728,6 @@ public Builder setWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -844,8 +750,6 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -854,7 +758,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult value) {
+    public Builder addWriteResults(
+        int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -868,8 +773,6 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -878,7 +781,8 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder builderForValue) {
+    public Builder addWriteResults(
+        com.google.firestore.v1.WriteResult.Builder builderForValue) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
         writeResults_.add(builderForValue.build());
@@ -889,8 +793,6 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -911,8 +813,6 @@ public Builder addWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -925,7 +825,8 @@ public Builder addAllWriteResults(
         java.lang.Iterable values) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, writeResults_);
         onChanged();
       } else {
         writeResultsBuilder_.addAllMessages(values);
@@ -933,8 +834,6 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -954,8 +853,6 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -975,8 +872,6 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -985,12 +880,11 @@ public Builder removeWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) {
+    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
+        int index) {
       return getWriteResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -999,16 +893,14 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int in
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
+    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+        int index) {
       if (writeResultsBuilder_ == null) {
-        return writeResults_.get(index);
-      } else {
+        return writeResults_.get(index);  } else {
         return writeResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1017,8 +909,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public java.util.List
-        getWriteResultsOrBuilderList() {
+    public java.util.List 
+         getWriteResultsOrBuilderList() {
       if (writeResultsBuilder_ != null) {
         return writeResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1026,8 +918,6 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1037,12 +927,10 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
     public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
-      return getWriteResultsFieldBuilder()
-          .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance());
+      return getWriteResultsFieldBuilder().addBuilder(
+          com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1051,13 +939,12 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) {
-      return getWriteResultsFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance());
+    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
+        int index) {
+      return getWriteResultsFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1066,44 +953,38 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int in
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public java.util.List
-        getWriteResultsBuilderList() {
+    public java.util.List 
+         getWriteResultsBuilderList() {
       return getWriteResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.WriteResult,
-            com.google.firestore.v1.WriteResult.Builder,
-            com.google.firestore.v1.WriteResultOrBuilder>
+        com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> 
         getWriteResultsFieldBuilder() {
       if (writeResultsBuilder_ == null) {
-        writeResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.WriteResult,
-                com.google.firestore.v1.WriteResult.Builder,
-                com.google.firestore.v1.WriteResultOrBuilder>(
-                writeResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        writeResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder>(
+                writeResults_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         writeResults_ = null;
       }
       return writeResultsBuilder_;
     }
 
-    private java.util.List status_ = java.util.Collections.emptyList();
-
+    private java.util.List status_ =
+      java.util.Collections.emptyList();
     private void ensureStatusIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         status_ = new java.util.ArrayList(status_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        statusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
 
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1120,8 +1001,6 @@ public java.util.List getStatusList() {
       }
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1138,8 +1017,6 @@ public int getStatusCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1156,8 +1033,6 @@ public com.google.rpc.Status getStatus(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1166,7 +1041,8 @@ public com.google.rpc.Status getStatus(int index) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder setStatus(int index, com.google.rpc.Status value) {
+    public Builder setStatus(
+        int index, com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1180,8 +1056,6 @@ public Builder setStatus(int index, com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1190,7 +1064,8 @@ public Builder setStatus(int index, com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder setStatus(int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder setStatus(
+        int index, com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         ensureStatusIsMutable();
         status_.set(index, builderForValue.build());
@@ -1201,8 +1076,6 @@ public Builder setStatus(int index, com.google.rpc.Status.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1225,8 +1098,6 @@ public Builder addStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1235,7 +1106,8 @@ public Builder addStatus(com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder addStatus(int index, com.google.rpc.Status value) {
+    public Builder addStatus(
+        int index, com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1249,8 +1121,6 @@ public Builder addStatus(int index, com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1259,7 +1129,8 @@ public Builder addStatus(int index, com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder addStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder addStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         ensureStatusIsMutable();
         status_.add(builderForValue.build());
@@ -1270,8 +1141,6 @@ public Builder addStatus(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1280,7 +1149,8 @@ public Builder addStatus(com.google.rpc.Status.Builder builderForValue) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder addStatus(int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder addStatus(
+        int index, com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         ensureStatusIsMutable();
         status_.add(index, builderForValue.build());
@@ -1291,8 +1161,6 @@ public Builder addStatus(int index, com.google.rpc.Status.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1301,10 +1169,12 @@ public Builder addStatus(int index, com.google.rpc.Status.Builder builderForValu
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder addAllStatus(java.lang.Iterable values) {
+    public Builder addAllStatus(
+        java.lang.Iterable values) {
       if (statusBuilder_ == null) {
         ensureStatusIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, status_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, status_);
         onChanged();
       } else {
         statusBuilder_.addAllMessages(values);
@@ -1312,8 +1182,6 @@ public Builder addAllStatus(java.lang.Iterable
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1333,8 +1201,6 @@ public Builder clearStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1354,8 +1220,6 @@ public Builder removeStatus(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1364,12 +1228,11 @@ public Builder removeStatus(int index) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public com.google.rpc.Status.Builder getStatusBuilder(int index) {
+    public com.google.rpc.Status.Builder getStatusBuilder(
+        int index) {
       return getStatusFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1378,16 +1241,14 @@ public com.google.rpc.Status.Builder getStatusBuilder(int index) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index) {
+    public com.google.rpc.StatusOrBuilder getStatusOrBuilder(
+        int index) {
       if (statusBuilder_ == null) {
-        return status_.get(index);
-      } else {
+        return status_.get(index);  } else {
         return statusBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1396,7 +1257,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public java.util.List getStatusOrBuilderList() {
+    public java.util.List 
+         getStatusOrBuilderList() {
       if (statusBuilder_ != null) {
         return statusBuilder_.getMessageOrBuilderList();
       } else {
@@ -1404,8 +1266,6 @@ public java.util.List getStatusOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1415,11 +1275,10 @@ public java.util.List getStatusOrBuild
      * repeated .google.rpc.Status status = 2;
      */
     public com.google.rpc.Status.Builder addStatusBuilder() {
-      return getStatusFieldBuilder().addBuilder(com.google.rpc.Status.getDefaultInstance());
+      return getStatusFieldBuilder().addBuilder(
+          com.google.rpc.Status.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1428,12 +1287,12 @@ public com.google.rpc.Status.Builder addStatusBuilder() {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public com.google.rpc.Status.Builder addStatusBuilder(int index) {
-      return getStatusFieldBuilder().addBuilder(index, com.google.rpc.Status.getDefaultInstance());
+    public com.google.rpc.Status.Builder addStatusBuilder(
+        int index) {
+      return getStatusFieldBuilder().addBuilder(
+          index, com.google.rpc.Status.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1442,27 +1301,27 @@ public com.google.rpc.Status.Builder addStatusBuilder(int index) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public java.util.List getStatusBuilderList() {
+    public java.util.List 
+         getStatusBuilderList() {
       return getStatusFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getStatusFieldBuilder() {
       if (statusBuilder_ == null) {
-        statusBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
-                status_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        statusBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                status_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         status_ = null;
       }
       return statusBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1472,12 +1331,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();
   }
@@ -1486,16 +1345,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 {
-          return new BatchWriteResponse(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1510,4 +1380,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.BatchWriteResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
similarity index 73%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
index ec5ff4d760..1d21849cfd 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BatchWriteResponseOrBuilder
-    extends
+public interface BatchWriteResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchWriteResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -34,10 +16,9 @@ public interface BatchWriteResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List getWriteResultsList();
+  java.util.List 
+      getWriteResultsList();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -48,8 +29,6 @@ public interface BatchWriteResponseOrBuilder
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -60,8 +39,6 @@ public interface BatchWriteResponseOrBuilder
    */
   int getWriteResultsCount();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -70,11 +47,9 @@ public interface BatchWriteResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List
+  java.util.List 
       getWriteResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -83,11 +58,10 @@ public interface BatchWriteResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index);
+  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -96,10 +70,9 @@ public interface BatchWriteResponseOrBuilder
    *
    * repeated .google.rpc.Status status = 2;
    */
-  java.util.List getStatusList();
+  java.util.List 
+      getStatusList();
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -110,8 +83,6 @@ public interface BatchWriteResponseOrBuilder
    */
   com.google.rpc.Status getStatus(int index);
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -122,8 +93,6 @@ public interface BatchWriteResponseOrBuilder
    */
   int getStatusCount();
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -132,10 +101,9 @@ public interface BatchWriteResponseOrBuilder
    *
    * repeated .google.rpc.Status status = 2;
    */
-  java.util.List getStatusOrBuilderList();
+  java.util.List 
+      getStatusOrBuilderList();
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -144,5 +112,6 @@ public interface BatchWriteResponseOrBuilder
    *
    * repeated .google.rpc.Status status = 2;
    */
-  com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index);
+  com.google.rpc.StatusOrBuilder getStatusOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
similarity index 64%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
index b26f397bc2..1ecd23a928 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
@@ -1,146 +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/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
  * 
* * Protobuf type {@code google.firestore.v1.BeginTransactionRequest} */ -public final class BeginTransactionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BeginTransactionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.BeginTransactionRequest) BeginTransactionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BeginTransactionRequest.newBuilder() to construct. private BeginTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BeginTransactionRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BeginTransactionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private BeginTransactionRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - database_ = s; - break; - } - case 18: - { - com.google.firestore.v1.TransactionOptions.Builder subBuilder = null; - if (options_ != null) { - subBuilder = options_.toBuilder(); - } - options_ = - input.readMessage( - com.google.firestore.v1.TransactionOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(options_); - options_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -149,30 +65,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 { @@ -183,15 +99,12 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int OPTIONS_FIELD_NUMBER = 2; private com.google.firestore.v1.TransactionOptions options_; /** - * - * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
    * 
* * .google.firestore.v1.TransactionOptions options = 2; - * * @return Whether the options field is set. */ @java.lang.Override @@ -199,26 +112,19 @@ public boolean hasOptions() { return options_ != null; } /** - * - * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
    * 
* * .google.firestore.v1.TransactionOptions options = 2; - * * @return The options. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions getOptions() { - return options_ == null - ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() - : options_; + return options_ == null ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() : options_; } /** - * - * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
@@ -232,7 +138,6 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder()
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -244,14 +149,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_);
     }
     if (options_ != null) {
       output.writeMessage(2, getOptions());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -264,9 +170,10 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -274,20 +181,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.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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -304,148 +212,135 @@ public int hashCode() {
       hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
       hash = (53 * hash) + getOptions().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -461,9 +356,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 @@ -482,8 +377,7 @@ 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); + com.google.firestore.v1.BeginTransactionRequest result = new com.google.firestore.v1.BeginTransactionRequest(this); result.database_ = database_; if (optionsBuilder_ == null) { result.options_ = options_; @@ -498,39 +392,38 @@ public com.google.firestore.v1.BeginTransactionRequest 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.v1.BeginTransactionRequest) { - return mergeFrom((com.google.firestore.v1.BeginTransactionRequest) other); + return mergeFrom((com.google.firestore.v1.BeginTransactionRequest)other); } else { super.mergeFrom(other); return this; @@ -538,8 +431,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.BeginTransactionRequest other) { - if (other == com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance()) return this; if (!other.getDatabase().isEmpty()) { database_ = other.database_; onChanged(); @@ -547,7 +439,7 @@ public Builder mergeFrom(com.google.firestore.v1.BeginTransactionRequest other) if (other.hasOptions()) { mergeOptions(other.getOptions()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -562,37 +454,60 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.BeginTransactionRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + database_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getOptionsFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = (com.google.firestore.v1.BeginTransactionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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; @@ -601,22 +516,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -624,64 +538,57 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -689,49 +596,36 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.firestore.v1.TransactionOptions options_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions, - com.google.firestore.v1.TransactionOptions.Builder, - com.google.firestore.v1.TransactionOptionsOrBuilder> - optionsBuilder_; + com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> optionsBuilder_; /** - * - * *
      * The options for the transaction.
      * Defaults to a read-write transaction.
      * 
* * .google.firestore.v1.TransactionOptions options = 2; - * * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** - * - * *
      * 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.
@@ -753,8 +647,6 @@ public Builder setOptions(com.google.firestore.v1.TransactionOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -762,7 +654,8 @@ public Builder setOptions(com.google.firestore.v1.TransactionOptions value) {
      *
      * .google.firestore.v1.TransactionOptions options = 2;
      */
-    public Builder setOptions(com.google.firestore.v1.TransactionOptions.Builder builderForValue) {
+    public Builder setOptions(
+        com.google.firestore.v1.TransactionOptions.Builder builderForValue) {
       if (optionsBuilder_ == null) {
         options_ = builderForValue.build();
         onChanged();
@@ -773,8 +666,6 @@ public Builder setOptions(com.google.firestore.v1.TransactionOptions.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -786,9 +677,7 @@ public Builder mergeOptions(com.google.firestore.v1.TransactionOptions value) {
       if (optionsBuilder_ == null) {
         if (options_ != null) {
           options_ =
-              com.google.firestore.v1.TransactionOptions.newBuilder(options_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.v1.TransactionOptions.newBuilder(options_).mergeFrom(value).buildPartial();
         } else {
           options_ = value;
         }
@@ -800,8 +689,6 @@ public Builder mergeOptions(com.google.firestore.v1.TransactionOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -821,8 +708,6 @@ public Builder clearOptions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -831,13 +716,11 @@ public Builder clearOptions() {
      * .google.firestore.v1.TransactionOptions options = 2;
      */
     public com.google.firestore.v1.TransactionOptions.Builder getOptionsBuilder() {
-
+      
       onChanged();
       return getOptionsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -849,14 +732,11 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder()
       if (optionsBuilder_ != null) {
         return optionsBuilder_.getMessageOrBuilder();
       } else {
-        return options_ == null
-            ? com.google.firestore.v1.TransactionOptions.getDefaultInstance()
-            : options_;
+        return options_ == null ?
+            com.google.firestore.v1.TransactionOptions.getDefaultInstance() : options_;
       }
     }
     /**
-     *
-     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -865,24 +745,21 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder()
      * .google.firestore.v1.TransactionOptions options = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.TransactionOptions,
-            com.google.firestore.v1.TransactionOptions.Builder,
-            com.google.firestore.v1.TransactionOptionsOrBuilder>
+        com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> 
         getOptionsFieldBuilder() {
       if (optionsBuilder_ == null) {
-        optionsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.TransactionOptions,
-                com.google.firestore.v1.TransactionOptions.Builder,
-                com.google.firestore.v1.TransactionOptionsOrBuilder>(
-                getOptions(), getParentForChildren(), isClean());
+        optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder>(
+                getOptions(),
+                getParentForChildren(),
+                isClean());
         options_ = null;
       }
       return optionsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -892,12 +769,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();
   }
@@ -906,16 +783,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 {
-          return new BeginTransactionRequest(input, extensionRegistry);
-        }
-      };
+  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;
@@ -930,4 +818,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.BeginTransactionRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
similarity index 67%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
index d728054813..99a70bc56b 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
@@ -1,84 +1,55 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BeginTransactionRequestOrBuilder
-    extends
+public interface BeginTransactionRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BeginTransactionRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
    * 
* * .google.firestore.v1.TransactionOptions options = 2; - * * @return Whether the options field is set. */ boolean hasOptions(); /** - * - * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
    * 
* * .google.firestore.v1.TransactionOptions options = 2; - * * @return The options. */ com.google.firestore.v1.TransactionOptions getOptions(); /** - * - * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
similarity index 60%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
index f788cbc592..b69ce28b7b 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
@@ -1,127 +1,61 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The response for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
  * 
* * Protobuf type {@code google.firestore.v1.BeginTransactionResponse} */ -public final class BeginTransactionResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BeginTransactionResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.BeginTransactionResponse) BeginTransactionResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BeginTransactionResponse.newBuilder() to construct. private BeginTransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BeginTransactionResponse() { transaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BeginTransactionResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private BeginTransactionResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - transaction_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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_; /** - * - * *
    * The transaction that was started.
    * 
* * bytes transaction = 1; - * * @return The transaction. */ @java.lang.Override @@ -130,7 +64,6 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,11 +75,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 (!transaction_.isEmpty()) { output.writeBytes(1, transaction_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -156,9 +90,10 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -166,16 +101,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,148 +123,135 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; hash = (53 * hash) + getTransaction().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +261,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 @@ -360,8 +282,7 @@ 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); + com.google.firestore.v1.BeginTransactionResponse result = new com.google.firestore.v1.BeginTransactionResponse(this); result.transaction_ = transaction_; onBuilt(); return result; @@ -371,39 +292,38 @@ public com.google.firestore.v1.BeginTransactionResponse 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.v1.BeginTransactionResponse) { - return mergeFrom((com.google.firestore.v1.BeginTransactionResponse) other); + return mergeFrom((com.google.firestore.v1.BeginTransactionResponse)other); } else { super.mergeFrom(other); return this; @@ -411,12 +331,11 @@ 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()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -431,30 +350,45 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.BeginTransactionResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + transaction_ = input.readBytes(); + + 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) { - parsedMessage = (com.google.firestore.v1.BeginTransactionResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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 @@ -462,46 +396,40 @@ 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(); - } - + throw new NullPointerException(); + } + transaction_ = value; onChanged(); return this; } /** - * - * *
      * The transaction that was started.
      * 
* * bytes transaction = 1; - * * @return This builder for chaining. */ public Builder clearTransaction() { - + transaction_ = getDefaultInstance().getTransaction(); 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); } @@ -511,12 +439,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(); } @@ -525,16 +453,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 { - return new BeginTransactionResponse(input, extensionRegistry); - } - }; + 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; @@ -549,4 +488,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.BeginTransactionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java new file mode 100644 index 0000000000..844aceaeae --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface BeginTransactionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.BeginTransactionResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The transaction that was started.
+   * 
+ * + * bytes transaction = 1; + * @return The transaction. + */ + com.google.protobuf.ByteString getTransaction(); +} diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java similarity index 70% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java index 3079789bda..5c5c34c6ba 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
  * 
* * Protobuf type {@code google.firestore.v1.CommitRequest} */ -public final class CommitRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommitRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.CommitRequest) CommitRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommitRequest.newBuilder() to construct. private CommitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommitRequest() { database_ = ""; writes_ = java.util.Collections.emptyList(); @@ -45,107 +27,38 @@ private CommitRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private CommitRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - database_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - writes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - writes_.add( - input.readMessage(com.google.firestore.v1.Write.parser(), extensionRegistry)); - break; - } - case 26: - { - transaction_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - writes_ = java.util.Collections.unmodifiableList(writes_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -154,30 +67,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -188,8 +101,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int WRITES_FIELD_NUMBER = 2; private java.util.List writes_; /** - * - * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -202,8 +113,6 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -212,12 +121,11 @@ public java.util.List getWritesList() {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public java.util.List getWritesOrBuilderList() {
+  public java.util.List 
+      getWritesOrBuilderList() {
     return writes_;
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -230,8 +138,6 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -244,8 +150,6 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -254,21 +158,19 @@ public com.google.firestore.v1.Write getWrites(int index) {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
+  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+      int index) {
     return writes_.get(index);
   }
 
   public static final int TRANSACTION_FIELD_NUMBER = 3;
   private com.google.protobuf.ByteString transaction_;
   /**
-   *
-   *
    * 
    * If set, applies all writes in this transaction, and commits it.
    * 
* * bytes transaction = 3; - * * @return The transaction. */ @java.lang.Override @@ -277,7 +179,6 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,7 +190,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -299,7 +201,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!transaction_.isEmpty()) { output.writeBytes(3, transaction_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -312,12 +214,14 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -325,17 +229,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.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 (!unknownFields.equals(other.unknownFields)) 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; } @@ -354,149 +261,135 @@ public int hashCode() { } hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; hash = (53 * hash) + getTransaction().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getWritesFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); @@ -504,19 +397,20 @@ public Builder clear() { if (writesBuilder_ == null) { writes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + writes_ = null; writesBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); transaction_ = com.google.protobuf.ByteString.EMPTY; return this; } @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 @@ -535,8 +429,7 @@ 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); int from_bitField0_ = bitField0_; result.database_ = database_; if (writesBuilder_ == null) { @@ -557,39 +450,38 @@ public com.google.firestore.v1.CommitRequest 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.v1.CommitRequest) { - return mergeFrom((com.google.firestore.v1.CommitRequest) other); + return mergeFrom((com.google.firestore.v1.CommitRequest)other); } else { super.mergeFrom(other); return this; @@ -620,10 +512,9 @@ public Builder mergeFrom(com.google.firestore.v1.CommitRequest other) { writesBuilder_ = null; writes_ = other.writes_; bitField0_ = (bitField0_ & ~0x00000001); - writesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWritesFieldBuilder() - : null; + writesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWritesFieldBuilder() : null; } else { writesBuilder_.addAllMessages(other.writes_); } @@ -632,7 +523,7 @@ public Builder mergeFrom(com.google.firestore.v1.CommitRequest other) { if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) { setTransaction(other.getTransaction()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -647,39 +538,72 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.CommitRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + database_ = input.readStringRequireUtf8(); + + 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(); + + 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) { - parsedMessage = (com.google.firestore.v1.CommitRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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; @@ -688,22 +612,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -711,88 +634,75 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; } private java.util.List writes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWritesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writes_ = new java.util.ArrayList(writes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Write, - com.google.firestore.v1.Write.Builder, - com.google.firestore.v1.WriteOrBuilder> - writesBuilder_; + com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> writesBuilder_; /** - * - * *
      * The writes to apply.
      * Always executed atomically and in order.
@@ -808,8 +718,6 @@ public java.util.List getWritesList() {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -825,8 +733,6 @@ public int getWritesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -842,8 +748,6 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -851,7 +755,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder setWrites(int index, com.google.firestore.v1.Write value) {
+    public Builder setWrites(
+        int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -865,8 +770,6 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -874,7 +777,8 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder setWrites(
+        int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.set(index, builderForValue.build());
@@ -885,8 +789,6 @@ public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -908,8 +810,6 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -917,7 +817,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(int index, com.google.firestore.v1.Write value) {
+    public Builder addWrites(
+        int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -931,8 +832,6 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -940,7 +839,8 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(
+        com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(builderForValue.build());
@@ -951,8 +851,6 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -960,7 +858,8 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(
+        int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(index, builderForValue.build());
@@ -971,8 +870,6 @@ public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -984,7 +881,8 @@ public Builder addAllWrites(
         java.lang.Iterable values) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, writes_);
         onChanged();
       } else {
         writesBuilder_.addAllMessages(values);
@@ -992,8 +890,6 @@ public Builder addAllWrites(
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1012,8 +908,6 @@ public Builder clearWrites() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1032,8 +926,6 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1041,12 +933,11 @@ public Builder removeWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
+    public com.google.firestore.v1.Write.Builder getWritesBuilder(
+        int index) {
       return getWritesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1054,16 +945,14 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
+    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+        int index) {
       if (writesBuilder_ == null) {
-        return writes_.get(index);
-      } else {
+        return writes_.get(index);  } else {
         return writesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1071,8 +960,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public java.util.List
-        getWritesOrBuilderList() {
+    public java.util.List 
+         getWritesOrBuilderList() {
       if (writesBuilder_ != null) {
         return writesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1080,8 +969,6 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1090,11 +977,10 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
      * repeated .google.firestore.v1.Write writes = 2;
      */
     public com.google.firestore.v1.Write.Builder addWritesBuilder() {
-      return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance());
+      return getWritesFieldBuilder().addBuilder(
+          com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1102,13 +988,12 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
-      return getWritesFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance());
+    public com.google.firestore.v1.Write.Builder addWritesBuilder(
+        int index) {
+      return getWritesFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1116,22 +1001,20 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public java.util.List getWritesBuilderList() {
+    public java.util.List 
+         getWritesBuilderList() {
       return getWritesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Write,
-            com.google.firestore.v1.Write.Builder,
-            com.google.firestore.v1.WriteOrBuilder>
+        com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> 
         getWritesFieldBuilder() {
       if (writesBuilder_ == null) {
-        writesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.Write,
-                com.google.firestore.v1.Write.Builder,
-                com.google.firestore.v1.WriteOrBuilder>(
-                writes_, ((bitField0_ & 0x00000001) != 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_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         writes_ = null;
       }
       return writesBuilder_;
@@ -1139,14 +1022,11 @@ public java.util.List getWritesBuilderLis
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * If set, applies all writes in this transaction, and commits it.
      * 
* * bytes transaction = 3; - * * @return The transaction. */ @java.lang.Override @@ -1154,46 +1034,40 @@ 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(); - } - + throw new NullPointerException(); + } + transaction_ = value; 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() { - + transaction_ = getDefaultInstance().getTransaction(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1203,12 +1077,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(); } @@ -1217,16 +1091,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 { - return new CommitRequest(input, extensionRegistry); - } - }; + 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; @@ -1241,4 +1126,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.CommitRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java index 2d72b4b202..97e9470c1b 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface CommitRequestOrBuilder - extends +public interface CommitRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.CommitRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -60,10 +37,9 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List getWritesList();
+  java.util.List 
+      getWritesList();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -73,8 +49,6 @@ public interface CommitRequestOrBuilder
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -84,8 +58,6 @@ public interface CommitRequestOrBuilder
    */
   int getWritesCount();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -93,10 +65,9 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List getWritesOrBuilderList();
+  java.util.List 
+      getWritesOrBuilderList();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -104,17 +75,15 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index);
+  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If set, applies all writes in this transaction, and commits it.
    * 
* * bytes transaction = 3; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java similarity index 71% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java index c4c4f49460..c070342fda 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java @@ -1,146 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
  * 
* * Protobuf type {@code google.firestore.v1.CommitResponse} */ -public final class CommitResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommitResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.CommitResponse) CommitResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommitResponse.newBuilder() to construct. private CommitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommitResponse() { writeResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private CommitResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - writeResults_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - writeResults_.add( - input.readMessage( - com.google.firestore.v1.WriteResult.parser(), extensionRegistry)); - break; - } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (commitTime_ != null) { - subBuilder = commitTime_.toBuilder(); - } - commitTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(commitTime_); - commitTime_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - writeResults_ = java.util.Collections.unmodifiableList(writeResults_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private java.util.List writeResults_; /** - * - * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -154,8 +64,6 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -165,13 +73,11 @@ public java.util.List getWriteResultsList()
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getWriteResultsOrBuilderList() {
     return writeResults_;
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -185,8 +91,6 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -200,8 +104,6 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -211,22 +113,20 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
+  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+      int index) {
     return writeResults_.get(index);
   }
 
   public static final int COMMIT_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp commitTime_;
   /**
-   *
-   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; - * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -234,15 +134,12 @@ public boolean hasCommitTime() { return commitTime_ != null; } /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; - * * @return The commitTime. */ @java.lang.Override @@ -250,8 +147,6 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
@@ -265,7 +160,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -277,14 +171,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 {
     for (int i = 0; i < writeResults_.size(); i++) {
       output.writeMessage(1, writeResults_.get(i));
     }
     if (commitTime_ != null) {
       output.writeMessage(2, getCommitTime());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -294,12 +189,14 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -307,19 +204,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.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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -338,159 +237,145 @@ public int hashCode() {
       hash = (37 * hash) + COMMIT_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getCommitTime().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getWriteResultsFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); if (writeResultsBuilder_ == null) { writeResults_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + writeResults_ = null; writeResultsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); if (commitTimeBuilder_ == null) { commitTime_ = null; } else { @@ -501,9 +386,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 @@ -522,8 +407,7 @@ 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); int from_bitField0_ = bitField0_; if (writeResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -547,39 +431,38 @@ public com.google.firestore.v1.CommitResponse 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.v1.CommitResponse) { - return mergeFrom((com.google.firestore.v1.CommitResponse) other); + return mergeFrom((com.google.firestore.v1.CommitResponse)other); } else { super.mergeFrom(other); return this; @@ -606,10 +489,9 @@ public Builder mergeFrom(com.google.firestore.v1.CommitResponse other) { writeResultsBuilder_ = null; writeResults_ = other.writeResults_; bitField0_ = (bitField0_ & ~0x00000001); - writeResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWriteResultsFieldBuilder() - : null; + writeResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWriteResultsFieldBuilder() : null; } else { writeResultsBuilder_.addAllMessages(other.writeResults_); } @@ -618,7 +500,7 @@ public Builder mergeFrom(com.google.firestore.v1.CommitResponse other) { if (other.hasCommitTime()) { mergeCommitTime(other.getCommitTime()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -633,41 +515,67 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.CommitResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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); + + 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) { - parsedMessage = (com.google.firestore.v1.CommitResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } - private int bitField0_; private java.util.List writeResults_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWriteResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writeResults_ = new java.util.ArrayList(writeResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.WriteResult, - com.google.firestore.v1.WriteResult.Builder, - com.google.firestore.v1.WriteResultOrBuilder> - writeResultsBuilder_; + com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> writeResultsBuilder_; /** - * - * *
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -684,8 +592,6 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -702,8 +608,6 @@ public int getWriteResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -720,8 +624,6 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -730,7 +632,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult value) {
+    public Builder setWriteResults(
+        int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -744,8 +647,6 @@ public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult va
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -766,8 +667,6 @@ public Builder setWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -790,8 +689,6 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -800,7 +697,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult value) {
+    public Builder addWriteResults(
+        int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -814,8 +712,6 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -824,7 +720,8 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder builderForValue) {
+    public Builder addWriteResults(
+        com.google.firestore.v1.WriteResult.Builder builderForValue) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
         writeResults_.add(builderForValue.build());
@@ -835,8 +732,6 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -857,8 +752,6 @@ public Builder addWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -871,7 +764,8 @@ public Builder addAllWriteResults(
         java.lang.Iterable values) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, writeResults_);
         onChanged();
       } else {
         writeResultsBuilder_.addAllMessages(values);
@@ -879,8 +773,6 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -900,8 +792,6 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -921,8 +811,6 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -931,12 +819,11 @@ public Builder removeWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) {
+    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
+        int index) {
       return getWriteResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -945,16 +832,14 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int in
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
+    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+        int index) {
       if (writeResultsBuilder_ == null) {
-        return writeResults_.get(index);
-      } else {
+        return writeResults_.get(index);  } else {
         return writeResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -963,8 +848,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public java.util.List
-        getWriteResultsOrBuilderList() {
+    public java.util.List 
+         getWriteResultsOrBuilderList() {
       if (writeResultsBuilder_ != null) {
         return writeResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -972,8 +857,6 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -983,12 +866,10 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
     public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
-      return getWriteResultsFieldBuilder()
-          .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance());
+      return getWriteResultsFieldBuilder().addBuilder(
+          com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -997,13 +878,12 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) {
-      return getWriteResultsFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance());
+    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
+        int index) {
+      return getWriteResultsFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1012,23 +892,20 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int in
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public java.util.List
-        getWriteResultsBuilderList() {
+    public java.util.List 
+         getWriteResultsBuilderList() {
       return getWriteResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.WriteResult,
-            com.google.firestore.v1.WriteResult.Builder,
-            com.google.firestore.v1.WriteResultOrBuilder>
+        com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> 
         getWriteResultsFieldBuilder() {
       if (writeResultsBuilder_ == null) {
-        writeResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.WriteResult,
-                com.google.firestore.v1.WriteResult.Builder,
-                com.google.firestore.v1.WriteResultOrBuilder>(
-                writeResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        writeResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder>(
+                writeResults_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         writeResults_ = null;
       }
       return writeResultsBuilder_;
@@ -1036,49 +913,36 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int in
 
     private com.google.protobuf.Timestamp commitTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        commitTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
      * 
* * .google.protobuf.Timestamp commit_time = 2; - * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return commitTimeBuilder_ != null || 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. */ 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.
@@ -1100,8 +964,6 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1109,7 +971,8 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp commit_time = 2;
      */
-    public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCommitTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (commitTimeBuilder_ == null) {
         commitTime_ = builderForValue.build();
         onChanged();
@@ -1120,8 +983,6 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1133,7 +994,7 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
         if (commitTime_ != null) {
           commitTime_ =
-              com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial();
         } else {
           commitTime_ = value;
         }
@@ -1145,8 +1006,6 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1166,8 +1025,6 @@ public Builder clearCommitTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1176,13 +1033,11 @@ public Builder clearCommitTime() {
      * .google.protobuf.Timestamp commit_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
-
+      
       onChanged();
       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.
@@ -1194,14 +1049,11 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
       if (commitTimeBuilder_ != null) {
         return commitTimeBuilder_.getMessageOrBuilder();
       } else {
-        return commitTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : commitTime_;
+        return commitTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1210,24 +1062,21 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
      * .google.protobuf.Timestamp commit_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCommitTimeFieldBuilder() {
       if (commitTimeBuilder_ == null) {
-        commitTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCommitTime(), getParentForChildren(), isClean());
+        commitTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCommitTime(),
+                getParentForChildren(),
+                isClean());
         commitTime_ = null;
       }
       return commitTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1237,12 +1086,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();
   }
@@ -1251,16 +1100,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 {
-          return new CommitResponse(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1275,4 +1135,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.CommitResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
similarity index 76%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
index 76745e1248..983f0cd940 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface CommitResponseOrBuilder
-    extends
+public interface CommitResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.CommitResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -34,10 +16,9 @@ public interface CommitResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List getWriteResultsList();
+  java.util.List 
+      getWriteResultsList();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -48,8 +29,6 @@ public interface CommitResponseOrBuilder
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -60,8 +39,6 @@ public interface CommitResponseOrBuilder
    */
   int getWriteResultsCount();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -70,11 +47,9 @@ public interface CommitResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List
+  java.util.List 
       getWriteResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -83,37 +58,30 @@ public interface CommitResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index);
+  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; - * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; - * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java
new file mode 100644
index 0000000000..c4ff19db4e
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java
@@ -0,0 +1,110 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/common.proto
+
+package com.google.firestore.v1;
+
+public final class CommonProto {
+  private CommonProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_DocumentMask_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_Precondition_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Precondition_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_TransactionOptions_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n google/firestore/v1/common.proto\022\023goog" +
+      "le.firestore.v1\032\037google/protobuf/timesta" +
+      "mp.proto\"#\n\014DocumentMask\022\023\n\013field_paths\030" +
+      "\001 \003(\t\"e\n\014Precondition\022\020\n\006exists\030\001 \001(\010H\000\022" +
+      "1\n\013update_time\030\002 \001(\0132\032.google.protobuf.T" +
+      "imestampH\000B\020\n\016condition_type\"\251\002\n\022Transac" +
+      "tionOptions\022E\n\tread_only\030\002 \001(\01320.google." +
+      "firestore.v1.TransactionOptions.ReadOnly" +
+      "H\000\022G\n\nread_write\030\003 \001(\01321.google.firestor" +
+      "e.v1.TransactionOptions.ReadWriteH\000\032&\n\tR" +
+      "eadWrite\022\031\n\021retry_transaction\030\001 \001(\014\032S\n\010R" +
+      "eadOnly\022/\n\tread_time\030\002 \001(\0132\032.google.prot" +
+      "obuf.TimestampH\000B\026\n\024consistency_selector" +
+      "B\006\n\004modeB\304\001\n\027com.google.firestore.v1B\013Co" +
+      "mmonProtoP\001Z
  * The request for [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument].
  * 
* * 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_ = ""; @@ -45,126 +27,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private CreateDocumentRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - collectionId_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - documentId_ = s; - break; - } - case 34: - { - com.google.firestore.v1.Document.Builder subBuilder = null; - if (document_ != null) { - subBuilder = document_.toBuilder(); - } - document_ = - input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(document_); - document_ = subBuilder.buildPartial(); - } - - break; - } - case 42: - { - com.google.firestore.v1.DocumentMask.Builder subBuilder = null; - if (mask_ != null) { - subBuilder = mask_.toBuilder(); - } - mask_ = - input.readMessage( - com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(mask_); - mask_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource. For example:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -172,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -181,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource. For example:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -197,15 +83,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -216,14 +103,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int COLLECTION_ID_FIELD_NUMBER = 2; 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 @@ -232,29 +116,29 @@ 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 { @@ -265,15 +149,12 @@ public com.google.protobuf.ByteString getCollectionIdBytes() { public static final int DOCUMENT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object documentId_; /** - * - * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; - * * @return The documentId. */ @java.lang.Override @@ -282,30 +163,30 @@ public java.lang.String getDocumentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); documentId_ = s; return s; } } /** - * - * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; - * * @return The bytes for documentId. */ @java.lang.Override - public com.google.protobuf.ByteString getDocumentIdBytes() { + public com.google.protobuf.ByteString + getDocumentIdBytes() { java.lang.Object ref = documentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); documentId_ = b; return b; } else { @@ -316,15 +197,11 @@ public com.google.protobuf.ByteString getDocumentIdBytes() { public static final int DOCUMENT_FIELD_NUMBER = 4; private com.google.firestore.v1.Document document_; /** - * - * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the document field is set. */ @java.lang.Override @@ -332,15 +209,11 @@ public boolean hasDocument() { return document_ != null; } /** - * - * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The document. */ @java.lang.Override @@ -348,14 +221,11 @@ public com.google.firestore.v1.Document getDocument() { return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } /** - * - * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { @@ -365,8 +235,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { public static final int MASK_FIELD_NUMBER = 5; private com.google.firestore.v1.DocumentMask mask_; /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -374,7 +242,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
    * 
* * .google.firestore.v1.DocumentMask mask = 5; - * * @return Whether the mask field is set. */ @java.lang.Override @@ -382,8 +249,6 @@ public boolean hasMask() { return mask_ != null; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -391,7 +256,6 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 5; - * * @return The mask. */ @java.lang.Override @@ -399,8 +263,6 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -415,7 +277,6 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -427,7 +288,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -443,7 +305,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (mask_ != null) {
       output.writeMessage(5, getMask());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -462,12 +324,14 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -475,26 +339,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.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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -519,148 +387,135 @@ public int hashCode() {
       hash = (37 * hash) + MASK_FIELD_NUMBER;
       hash = (53 * hash) + getMask().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -686,9 +541,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 @@ -707,8 +562,7 @@ 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); + com.google.firestore.v1.CreateDocumentRequest result = new com.google.firestore.v1.CreateDocumentRequest(this); result.parent_ = parent_; result.collectionId_ = collectionId_; result.documentId_ = documentId_; @@ -730,39 +584,38 @@ public com.google.firestore.v1.CreateDocumentRequest 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.v1.CreateDocumentRequest) { - return mergeFrom((com.google.firestore.v1.CreateDocumentRequest) other); + return mergeFrom((com.google.firestore.v1.CreateDocumentRequest)other); } else { super.mergeFrom(other); return this; @@ -789,7 +642,7 @@ public Builder mergeFrom(com.google.firestore.v1.CreateDocumentRequest other) { if (other.hasMask()) { mergeMask(other.getMask()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -804,24 +657,64 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.CreateDocumentRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + collectionId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + documentId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + input.readMessage( + getDocumentFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + input.readMessage( + getMaskFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = (com.google.firestore.v1.CreateDocumentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -829,13 +722,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; @@ -844,8 +737,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -853,14 +744,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -868,8 +760,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -877,22 +767,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -900,18 +788,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -919,16 +804,16 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -936,20 +821,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object collectionId_ = ""; /** - * - * *
      * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The collectionId. */ public java.lang.String getCollectionId() { java.lang.Object ref = collectionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionId_ = s; return s; @@ -958,21 +841,20 @@ 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 { @@ -980,61 +862,54 @@ public com.google.protobuf.ByteString getCollectionIdBytes() { } } /** - * - * *
      * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionId(java.lang.String value) { + public Builder setCollectionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + collectionId_ = value; 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() { - + collectionId_ = getDefaultInstance().getCollectionId(); onChanged(); 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) { + public Builder setCollectionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + collectionId_ = value; onChanged(); return this; @@ -1042,21 +917,19 @@ public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object documentId_ = ""; /** - * - * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; - * * @return The documentId. */ public java.lang.String getDocumentId() { java.lang.Object ref = documentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); documentId_ = s; return s; @@ -1065,22 +938,21 @@ public java.lang.String getDocumentId() { } } /** - * - * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; - * * @return The bytes for documentId. */ - public com.google.protobuf.ByteString getDocumentIdBytes() { + public com.google.protobuf.ByteString + getDocumentIdBytes() { java.lang.Object ref = documentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); documentId_ = b; return b; } else { @@ -1088,64 +960,57 @@ public com.google.protobuf.ByteString getDocumentIdBytes() { } } /** - * - * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; - * * @param value The documentId to set. * @return This builder for chaining. */ - public Builder setDocumentId(java.lang.String value) { + public Builder setDocumentId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + documentId_ = value; onChanged(); return this; } /** - * - * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; - * * @return This builder for chaining. */ public Builder clearDocumentId() { - + documentId_ = getDefaultInstance().getDocumentId(); onChanged(); return this; } /** - * - * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; - * * @param value The bytes for documentId to set. * @return This builder for chaining. */ - public Builder setDocumentIdBytes(com.google.protobuf.ByteString value) { + public Builder setDocumentIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + documentId_ = value; onChanged(); return this; @@ -1153,55 +1018,39 @@ public Builder setDocumentIdBytes(com.google.protobuf.ByteString value) { private com.google.firestore.v1.Document document_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> - documentBuilder_; + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_; /** - * - * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the document field is set. */ public boolean hasDocument() { return documentBuilder_ != null || 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. */ 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) { @@ -1217,16 +1066,14 @@ public Builder setDocument(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setDocument( + com.google.firestore.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { document_ = builderForValue.build(); onChanged(); @@ -1237,22 +1084,17 @@ public Builder setDocument(com.google.firestore.v1.Document.Builder builderForVa return this; } /** - * - * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { if (document_ != null) { document_ = - com.google.firestore.v1.Document.newBuilder(document_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.v1.Document.newBuilder(document_).mergeFrom(value).buildPartial(); } else { document_ = value; } @@ -1264,14 +1106,11 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDocument() { if (documentBuilder_ == null) { @@ -1285,61 +1124,48 @@ 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() { - + onChanged(); 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_; @@ -1347,13 +1173,8 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder> - maskBuilder_; + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1361,15 +1182,12 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
      * 
* * .google.firestore.v1.DocumentMask mask = 5; - * * @return Whether the mask field is set. */ public boolean hasMask() { return maskBuilder_ != null || mask_ != null; } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1377,7 +1195,6 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 5; - * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1388,8 +1205,6 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1412,8 +1227,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1422,7 +1235,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 5;
      */
-    public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setMask(
+        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (maskBuilder_ == null) {
         mask_ = builderForValue.build();
         onChanged();
@@ -1433,8 +1247,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1447,9 +1259,7 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
         if (mask_ != null) {
           mask_ =
-              com.google.firestore.v1.DocumentMask.newBuilder(mask_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.v1.DocumentMask.newBuilder(mask_).mergeFrom(value).buildPartial();
         } else {
           mask_ = value;
         }
@@ -1461,8 +1271,6 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1483,8 +1291,6 @@ public Builder clearMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1494,13 +1300,11 @@ public Builder clearMask() {
      * .google.firestore.v1.DocumentMask mask = 5;
      */
     public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
-
+      
       onChanged();
       return getMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1513,12 +1317,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ?
+            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1528,24 +1331,21 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
         getMaskFieldBuilder() {
       if (maskBuilder_ == null) {
-        maskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.DocumentMask,
-                com.google.firestore.v1.DocumentMask.Builder,
-                com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getMask(), getParentForChildren(), isClean());
+        maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getMask(),
+                getParentForChildren(),
+                isClean());
         mask_ = null;
       }
       return maskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1555,12 +1355,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();
   }
@@ -1569,16 +1369,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 {
-          return new CreateDocumentRequest(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1593,4 +1404,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.CreateDocumentRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
similarity index 77%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
index cd1078c2b6..956d7ef21e 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface CreateDocumentRequestOrBuilder
-    extends
+public interface CreateDocumentRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.CreateDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The parent resource. For example:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -33,13 +15,10 @@ public interface CreateDocumentRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource. For example:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -47,104 +26,81 @@ public interface CreateDocumentRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The collectionId. */ java.lang.String getCollectionId(); /** - * - * *
    * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for collectionId. */ - com.google.protobuf.ByteString getCollectionIdBytes(); + com.google.protobuf.ByteString + getCollectionIdBytes(); /** - * - * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; - * * @return The documentId. */ java.lang.String getDocumentId(); /** - * - * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; - * * @return The bytes for documentId. */ - com.google.protobuf.ByteString getDocumentIdBytes(); + com.google.protobuf.ByteString + getDocumentIdBytes(); /** - * - * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the document field is set. */ boolean hasDocument(); /** - * - * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The document. */ com.google.firestore.v1.Document getDocument(); /** - * - * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -152,13 +108,10 @@ public interface CreateDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 5; - * * @return Whether the mask field is set. */ boolean hasMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -166,13 +119,10 @@ public interface CreateDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 5; - * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
similarity index 71%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
index f7d6a3c8b2..3a1f8b2036 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
@@ -1,124 +1,49 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/query.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A position in a query result set.
  * 
* * Protobuf type {@code google.firestore.v1.Cursor} */ -public final class Cursor extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Cursor extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Cursor) CursorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Cursor.newBuilder() to construct. private Cursor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Cursor() { values_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Cursor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private Cursor( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - values_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - values_.add( - input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry)); - break; - } - case 16: - { - before_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - values_ = java.util.Collections.unmodifiableList(values_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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); } @@ -126,8 +51,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int VALUES_FIELD_NUMBER = 1; private java.util.List values_; /** - * - * *
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -141,8 +64,6 @@ public java.util.List getValuesList() {
     return values_;
   }
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -152,12 +73,11 @@ public java.util.List getValuesList() {
    * repeated .google.firestore.v1.Value values = 1;
    */
   @java.lang.Override
-  public java.util.List getValuesOrBuilderList() {
+  public java.util.List 
+      getValuesOrBuilderList() {
     return values_;
   }
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -171,8 +91,6 @@ public int getValuesCount() {
     return values_.size();
   }
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -186,8 +104,6 @@ public com.google.firestore.v1.Value getValues(int index) {
     return values_.get(index);
   }
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -197,22 +113,20 @@ public com.google.firestore.v1.Value getValues(int index) {
    * repeated .google.firestore.v1.Value values = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
+  public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(
+      int index) {
     return values_.get(index);
   }
 
   public static final int BEFORE_FIELD_NUMBER = 2;
   private boolean before_;
   /**
-   *
-   *
    * 
    * 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 @@ -221,7 +135,6 @@ public boolean getBefore() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,14 +146,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 { for (int i = 0; i < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } if (before_ != false) { output.writeBool(2, before_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -250,12 +164,14 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -263,16 +179,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; + if (getBefore() + != other.getBefore()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -288,167 +206,156 @@ public int hashCode() { hash = (53 * hash) + getValuesList().hashCode(); } hash = (37 * hash) + BEFORE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBefore()); - hash = (29 * hash) + unknownFields.hashCode(); + 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getValuesFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); if (valuesBuilder_ == null) { values_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + values_ = null; valuesBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); before_ = false; return this; } @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 @@ -487,39 +394,38 @@ public com.google.firestore.v1.Cursor 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.v1.Cursor) { - return mergeFrom((com.google.firestore.v1.Cursor) other); + return mergeFrom((com.google.firestore.v1.Cursor)other); } else { super.mergeFrom(other); return this; @@ -546,10 +452,9 @@ public Builder mergeFrom(com.google.firestore.v1.Cursor other) { valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); - valuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getValuesFieldBuilder() - : null; + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValuesFieldBuilder() : null; } else { valuesBuilder_.addAllMessages(other.values_); } @@ -558,7 +463,7 @@ public Builder mergeFrom(com.google.firestore.v1.Cursor other) { if (other.getBefore() != false) { setBefore(other.getBefore()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -573,41 +478,65 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.Cursor parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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(); + + 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) { - parsedMessage = (com.google.firestore.v1.Cursor) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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.
@@ -624,8 +553,6 @@ public java.util.List getValuesList() {
       }
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -642,8 +569,6 @@ public int getValuesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -660,8 +585,6 @@ public com.google.firestore.v1.Value getValues(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -670,7 +593,8 @@ public com.google.firestore.v1.Value getValues(int index) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder setValues(int index, com.google.firestore.v1.Value value) {
+    public Builder setValues(
+        int index, com.google.firestore.v1.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -684,8 +608,6 @@ public Builder setValues(int index, com.google.firestore.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -694,7 +616,8 @@ public Builder setValues(int index, com.google.firestore.v1.Value value) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder setValues(int index, com.google.firestore.v1.Value.Builder builderForValue) {
+    public Builder setValues(
+        int index, com.google.firestore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.set(index, builderForValue.build());
@@ -705,8 +628,6 @@ public Builder setValues(int index, com.google.firestore.v1.Value.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -729,8 +650,6 @@ public Builder addValues(com.google.firestore.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -739,7 +658,8 @@ public Builder addValues(com.google.firestore.v1.Value value) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder addValues(int index, com.google.firestore.v1.Value value) {
+    public Builder addValues(
+        int index, com.google.firestore.v1.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -753,8 +673,6 @@ public Builder addValues(int index, com.google.firestore.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -763,7 +681,8 @@ public Builder addValues(int index, com.google.firestore.v1.Value value) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue) {
+    public Builder addValues(
+        com.google.firestore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(builderForValue.build());
@@ -774,8 +693,6 @@ public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -784,7 +701,8 @@ public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue)
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder addValues(int index, com.google.firestore.v1.Value.Builder builderForValue) {
+    public Builder addValues(
+        int index, com.google.firestore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(index, builderForValue.build());
@@ -795,8 +713,6 @@ public Builder addValues(int index, com.google.firestore.v1.Value.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -809,7 +725,8 @@ public Builder addAllValues(
         java.lang.Iterable values) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, values_);
         onChanged();
       } else {
         valuesBuilder_.addAllMessages(values);
@@ -817,8 +734,6 @@ public Builder addAllValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -838,8 +753,6 @@ public Builder clearValues() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -859,8 +772,6 @@ public Builder removeValues(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -869,12 +780,11 @@ public Builder removeValues(int index) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public com.google.firestore.v1.Value.Builder getValuesBuilder(int index) {
+    public com.google.firestore.v1.Value.Builder getValuesBuilder(
+        int index) {
       return getValuesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -883,16 +793,14 @@ public com.google.firestore.v1.Value.Builder getValuesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
+    public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(
+        int index) {
       if (valuesBuilder_ == null) {
-        return values_.get(index);
-      } else {
+        return values_.get(index);  } else {
         return valuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -901,8 +809,8 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public java.util.List
-        getValuesOrBuilderList() {
+    public java.util.List 
+         getValuesOrBuilderList() {
       if (valuesBuilder_ != null) {
         return valuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -910,8 +818,6 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -921,11 +827,10 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
      * repeated .google.firestore.v1.Value values = 1;
      */
     public com.google.firestore.v1.Value.Builder addValuesBuilder() {
-      return getValuesFieldBuilder().addBuilder(com.google.firestore.v1.Value.getDefaultInstance());
+      return getValuesFieldBuilder().addBuilder(
+          com.google.firestore.v1.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -934,13 +839,12 @@ public com.google.firestore.v1.Value.Builder addValuesBuilder() {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public com.google.firestore.v1.Value.Builder addValuesBuilder(int index) {
-      return getValuesFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.Value.getDefaultInstance());
+    public com.google.firestore.v1.Value.Builder addValuesBuilder(
+        int index) {
+      return getValuesFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -949,38 +853,33 @@ public com.google.firestore.v1.Value.Builder addValuesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public java.util.List getValuesBuilderList() {
+    public java.util.List 
+         getValuesBuilderList() {
       return getValuesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Value,
-            com.google.firestore.v1.Value.Builder,
-            com.google.firestore.v1.ValueOrBuilder>
+        com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> 
         getValuesFieldBuilder() {
       if (valuesBuilder_ == null) {
-        valuesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.Value,
-                com.google.firestore.v1.Value.Builder,
-                com.google.firestore.v1.ValueOrBuilder>(
-                values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>(
+                values_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         values_ = null;
       }
       return valuesBuilder_;
     }
 
-    private boolean before_;
+    private boolean before_ ;
     /**
-     *
-     *
      * 
      * If the position is just before or just after the given values, relative
      * to the sort order defined by the query.
      * 
* * bool before = 2; - * * @return The before. */ @java.lang.Override @@ -988,45 +887,39 @@ public boolean getBefore() { return before_; } /** - * - * *
      * If the position is just before or just after the given values, relative
      * to the sort order defined by the query.
      * 
* * bool before = 2; - * * @param value The before to set. * @return This builder for chaining. */ public Builder setBefore(boolean value) { - + before_ = value; onChanged(); return this; } /** - * - * *
      * If the position is just before or just after the given values, relative
      * to the sort order defined by the query.
      * 
* * bool before = 2; - * * @return This builder for chaining. */ public Builder clearBefore() { - + before_ = false; 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); } @@ -1036,12 +929,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(); } @@ -1050,16 +943,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 { - return new Cursor(input, extensionRegistry); - } - }; + 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; @@ -1074,4 +978,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Cursor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java similarity index 70% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java index 0d7526a9d9..f8eadb55f3 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/query.proto package com.google.firestore.v1; -public interface CursorOrBuilder - extends +public interface CursorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Cursor) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -34,10 +16,9 @@ public interface CursorOrBuilder
    *
    * repeated .google.firestore.v1.Value values = 1;
    */
-  java.util.List getValuesList();
+  java.util.List 
+      getValuesList();
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -48,8 +29,6 @@ public interface CursorOrBuilder
    */
   com.google.firestore.v1.Value getValues(int index);
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -60,8 +39,6 @@ public interface CursorOrBuilder
    */
   int getValuesCount();
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -70,10 +47,9 @@ public interface CursorOrBuilder
    *
    * repeated .google.firestore.v1.Value values = 1;
    */
-  java.util.List getValuesOrBuilderList();
+  java.util.List 
+      getValuesOrBuilderList();
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -82,18 +58,16 @@ public interface CursorOrBuilder
    *
    * repeated .google.firestore.v1.Value values = 1;
    */
-  com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index);
+  com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If the position is just before or just after the given values, relative
    * to the sort order defined by the query.
    * 
* * bool before = 2; - * * @return The before. */ boolean getBefore(); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java similarity index 66% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java index 100f6550e8..05856b297d 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java @@ -1,146 +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/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument].
  * 
* * Protobuf type {@code google.firestore.v1.DeleteDocumentRequest} */ -public final class DeleteDocumentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteDocumentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.DeleteDocumentRequest) DeleteDocumentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteDocumentRequest.newBuilder() to construct. private DeleteDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteDocumentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDocumentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private DeleteDocumentRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - com.google.firestore.v1.Precondition.Builder subBuilder = null; - if (currentDocument_ != null) { - subBuilder = currentDocument_.toBuilder(); - } - currentDocument_ = - input.readMessage( - com.google.firestore.v1.Precondition.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(currentDocument_); - currentDocument_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -149,30 +65,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 { @@ -183,15 +99,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 2; private com.google.firestore.v1.Precondition currentDocument_; /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 2; - * * @return Whether the currentDocument field is set. */ @java.lang.Override @@ -199,26 +112,19 @@ public boolean hasCurrentDocument() { return currentDocument_ != null; } /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 2; - * * @return The currentDocument. */ @java.lang.Override public com.google.firestore.v1.Precondition getCurrentDocument() { - return currentDocument_ == null - ? com.google.firestore.v1.Precondition.getDefaultInstance() - : currentDocument_; + return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; } /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
@@ -232,7 +138,6 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -244,14 +149,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(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
     if (currentDocument_ != null) {
       output.writeMessage(2, getCurrentDocument());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -264,9 +170,10 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -274,20 +181,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.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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -304,148 +212,135 @@ public int hashCode() {
       hash = (37 * hash) + CURRENT_DOCUMENT_FIELD_NUMBER;
       hash = (53 * hash) + getCurrentDocument().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -461,9 +356,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 @@ -482,8 +377,7 @@ 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); + com.google.firestore.v1.DeleteDocumentRequest result = new com.google.firestore.v1.DeleteDocumentRequest(this); result.name_ = name_; if (currentDocumentBuilder_ == null) { result.currentDocument_ = currentDocument_; @@ -498,39 +392,38 @@ public com.google.firestore.v1.DeleteDocumentRequest 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.v1.DeleteDocumentRequest) { - return mergeFrom((com.google.firestore.v1.DeleteDocumentRequest) other); + return mergeFrom((com.google.firestore.v1.DeleteDocumentRequest)other); } else { super.mergeFrom(other); return this; @@ -546,7 +439,7 @@ public Builder mergeFrom(com.google.firestore.v1.DeleteDocumentRequest other) { if (other.hasCurrentDocument()) { mergeCurrentDocument(other.getCurrentDocument()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -561,37 +454,60 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.DeleteDocumentRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getCurrentDocumentFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = (com.google.firestore.v1.DeleteDocumentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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; @@ -600,22 +516,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the Document to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -623,64 +538,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the Document to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -688,49 +596,36 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.firestore.v1.Precondition currentDocument_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Precondition, - com.google.firestore.v1.Precondition.Builder, - com.google.firestore.v1.PreconditionOrBuilder> - currentDocumentBuilder_; + com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> currentDocumentBuilder_; /** - * - * *
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 2; - * * @return Whether the currentDocument field is set. */ public boolean hasCurrentDocument() { return currentDocumentBuilder_ != null || 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. */ 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.
@@ -752,8 +647,6 @@ public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -773,8 +666,6 @@ public Builder setCurrentDocument(
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -786,9 +677,7 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       if (currentDocumentBuilder_ == null) {
         if (currentDocument_ != null) {
           currentDocument_ =
-              com.google.firestore.v1.Precondition.newBuilder(currentDocument_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.v1.Precondition.newBuilder(currentDocument_).mergeFrom(value).buildPartial();
         } else {
           currentDocument_ = value;
         }
@@ -800,8 +689,6 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -821,8 +708,6 @@ public Builder clearCurrentDocument() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -831,13 +716,11 @@ public Builder clearCurrentDocument() {
      * .google.firestore.v1.Precondition current_document = 2;
      */
     public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder() {
-
+      
       onChanged();
       return getCurrentDocumentFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -849,14 +732,11 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
       if (currentDocumentBuilder_ != null) {
         return currentDocumentBuilder_.getMessageOrBuilder();
       } else {
-        return currentDocument_ == null
-            ? com.google.firestore.v1.Precondition.getDefaultInstance()
-            : currentDocument_;
+        return currentDocument_ == null ?
+            com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
       }
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -865,24 +745,21 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
      * .google.firestore.v1.Precondition current_document = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Precondition,
-            com.google.firestore.v1.Precondition.Builder,
-            com.google.firestore.v1.PreconditionOrBuilder>
+        com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> 
         getCurrentDocumentFieldBuilder() {
       if (currentDocumentBuilder_ == null) {
-        currentDocumentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.Precondition,
-                com.google.firestore.v1.Precondition.Builder,
-                com.google.firestore.v1.PreconditionOrBuilder>(
-                getCurrentDocument(), getParentForChildren(), isClean());
+        currentDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder>(
+                getCurrentDocument(),
+                getParentForChildren(),
+                isClean());
         currentDocument_ = null;
       }
       return currentDocumentBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -892,12 +769,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();
   }
@@ -906,16 +783,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 {
-          return new DeleteDocumentRequest(input, extensionRegistry);
-        }
-      };
+  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;
@@ -930,4 +818,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.DeleteDocumentRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
similarity index 70%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
index ff6e2f1218..65416d9c80 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
@@ -1,84 +1,55 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface DeleteDocumentRequestOrBuilder
-    extends
+public interface DeleteDocumentRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.DeleteDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The resource name of the Document to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the Document to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 2; - * * @return Whether the currentDocument field is set. */ boolean hasCurrentDocument(); /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 2; - * * @return The currentDocument. */ com.google.firestore.v1.Precondition getCurrentDocument(); /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
similarity index 74%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
index 16dd7dbccb..71daf63c5c 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A Firestore document.
  * Must not exceed 1 MiB - 4 bytes.
@@ -28,144 +11,52 @@
  *
  * Protobuf type {@code google.firestore.v1.Document}
  */
-public final class Document extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Document extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.Document)
     DocumentOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Document.newBuilder() to construct.
   private Document(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Document() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Document();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private Document(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    int mutable_bitField0_ = 0;
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                fields_ =
-                    com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry
-                  fields__ =
-                      input.readMessage(
-                          FieldsDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-              fields_.getMutableMap().put(fields__.getKey(), fields__.getValue());
-              break;
-            }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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);
   }
@@ -173,15 +64,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
   public static final int NAME_FIELD_NUMBER = 1;
   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 @@ -190,30 +78,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 { @@ -222,26 +110,24 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int FIELDS_FIELD_NUMBER = 2; - private static final class FieldsDefaultEntryHolder { - static final com.google.protobuf.MapEntry - defaultEntry = + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.firestore.v1.Value> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_Document_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.firestore.v1.Value.getDefaultInstance()); + .newDefaultInstance( + com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.firestore.v1.Value.getDefaultInstance()); } - - private com.google.protobuf.MapField fields_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.firestore.v1.Value> fields_; private com.google.protobuf.MapField - internalGetFields() { + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } @@ -250,8 +136,6 @@ public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
    * The document's fields.
    * The map keys represent field names.
@@ -276,22 +160,22 @@ public int getFieldsCount() {
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
+
   @java.lang.Override
-  public boolean containsFields(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsFields(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetFields().getMap().containsKey(key);
   }
-  /** Use {@link #getFieldsMap()} instead. */
+  /**
+   * Use {@link #getFieldsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getFields() {
     return getFieldsMap();
   }
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -317,12 +201,11 @@ public java.util.Map getFields(
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
   @java.lang.Override
+
   public java.util.Map getFieldsMap() {
     return internalGetFields().getMap();
   }
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -348,18 +231,16 @@ public java.util.Map getFieldsM
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
   @java.lang.Override
+
   public com.google.firestore.v1.Value getFieldsOrDefault(
-      java.lang.String key, com.google.firestore.v1.Value defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String key,
+      com.google.firestore.v1.Value defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -385,10 +266,10 @@ public 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)) {
@@ -400,8 +281,6 @@ public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -410,7 +289,6 @@ public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -418,8 +296,6 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -428,7 +304,6 @@ public boolean hasCreateTime() {
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ @java.lang.Override @@ -436,8 +311,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -455,8 +328,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int UPDATE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp updateTime_;
   /**
-   *
-   *
    * 
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -465,7 +336,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -473,8 +343,6 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -483,7 +351,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ @java.lang.Override @@ -491,8 +358,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -508,7 +373,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -520,19 +384,24 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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());
     }
     if (updateTime_ != null) {
       output.writeMessage(4, getUpdateTime());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -544,23 +413,25 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -568,24 +439,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -610,108 +485,102 @@ public int hashCode() {
       hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getUpdateTime().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     return hash;
   }
 
-  public static com.google.firestore.v1.Document parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.Document parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.Document parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.Document parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.firestore.v1.Document parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.Document parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Document parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.Document parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Document parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.Document parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Document parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.Document parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Document parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.Document parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.Document prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A Firestore document.
    * Must not exceed 1 MiB - 4 bytes.
@@ -719,59 +588,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.Document}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.Document)
       com.google.firestore.v1.DocumentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.DocumentProto
-          .internal_static_google_firestore_v1_Document_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetFields();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetMutableFields();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.DocumentProto
-          .internal_static_google_firestore_v1_Document_fieldAccessorTable
+      return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.Document.class,
-              com.google.firestore.v1.Document.Builder.class);
+              com.google.firestore.v1.Document.class, com.google.firestore.v1.Document.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.Document.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -794,9 +659,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
@@ -838,39 +703,38 @@ public com.google.firestore.v1.Document 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.v1.Document) {
-        return mergeFrom((com.google.firestore.v1.Document) other);
+        return mergeFrom((com.google.firestore.v1.Document)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -883,14 +747,15 @@ public Builder mergeFrom(com.google.firestore.v1.Document other) {
         name_ = other.name_;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(other.internalGetFields());
+      internalGetMutableFields().mergeFrom(
+          other.internalGetFields());
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -905,39 +770,76 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.v1.Document parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              fields__ = input.readMessage(
+                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableFields().getMutableMap().put(
+                  fields__.getKey(), fields__.getValue());
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
-        parsedMessage = (com.google.firestore.v1.Document) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // 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; @@ -946,22 +848,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the document, for example
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -969,85 +870,78 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the document, for example
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.MapField fields_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.firestore.v1.Value> fields_; private com.google.protobuf.MapField - internalGetFields() { + 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() { - onChanged(); - ; + internalGetMutableFields() { + onChanged();; 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(); @@ -1059,8 +953,6 @@ public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
      * The document's fields.
      * The map keys represent field names.
@@ -1085,22 +977,22 @@ public int getFieldsCount() {
      *
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
+
     @java.lang.Override
-    public boolean containsFields(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsFields(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetFields().getMap().containsKey(key);
     }
-    /** Use {@link #getFieldsMap()} instead. */
+    /**
+     * Use {@link #getFieldsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getFields() {
       return getFieldsMap();
     }
     /**
-     *
-     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1126,12 +1018,11 @@ public java.util.Map getFields(
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
     @java.lang.Override
+
     public java.util.Map getFieldsMap() {
       return internalGetFields().getMap();
     }
     /**
-     *
-     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1157,18 +1048,16 @@ public java.util.Map getFieldsM
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
     @java.lang.Override
+
     public com.google.firestore.v1.Value getFieldsOrDefault(
-        java.lang.String key, com.google.firestore.v1.Value defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        com.google.firestore.v1.Value defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1194,10 +1083,10 @@ public 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)) {
@@ -1207,12 +1096,11 @@ public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
     }
 
     public Builder clearFields() {
-      internalGetMutableFields().getMutableMap().clear();
+      internalGetMutableFields().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1237,21 +1125,23 @@ public Builder clearFields() {
      *
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
-    public Builder removeFields(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableFields().getMutableMap().remove(key);
+
+    public Builder removeFields(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableFields().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableFields() {
+    public java.util.Map
+    getMutableFields() {
       return internalGetMutableFields().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1276,20 +1166,19 @@ public java.util.Map getMutable
      *
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
-    public Builder putFields(java.lang.String key, com.google.firestore.v1.Value value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableFields().getMutableMap().put(key, value);
+      internalGetMutableFields().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1314,21 +1203,18 @@ public Builder putFields(java.lang.String key, com.google.firestore.v1.Value val
      *
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
+
     public Builder putAllFields(
         java.util.Map values) {
-      internalGetMutableFields().getMutableMap().putAll(values);
+      internalGetMutableFields().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1337,15 +1223,12 @@ public Builder putAllFields(
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1354,21 +1237,16 @@ public boolean hasCreateTime() {
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1392,8 +1270,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1403,7 +1279,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 3;
      */
-    public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCreateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (createTimeBuilder_ == null) {
         createTime_ = builderForValue.build();
         onChanged();
@@ -1414,8 +1291,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1429,7 +1304,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
         if (createTime_ != null) {
           createTime_ =
-              com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
         } else {
           createTime_ = value;
         }
@@ -1441,8 +1316,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1464,8 +1337,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1476,13 +1347,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1496,14 +1365,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
       if (createTimeBuilder_ != null) {
         return createTimeBuilder_.getMessageOrBuilder();
       } else {
-        return createTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : createTime_;
+        return createTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1514,17 +1380,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCreateTimeFieldBuilder() {
       if (createTimeBuilder_ == null) {
-        createTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCreateTime(), getParentForChildren(), isClean());
+        createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCreateTime(),
+                getParentForChildren(),
+                isClean());
         createTime_ = null;
       }
       return createTimeBuilder_;
@@ -1532,13 +1395,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp updateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        updateTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1547,15 +1405,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1564,21 +1419,16 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1602,8 +1452,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1613,7 +1461,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 4;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1624,8 +1473,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1639,7 +1486,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1651,8 +1498,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1674,8 +1519,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1686,13 +1529,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1706,14 +1547,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : updateTime_;
+        return updateTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1724,24 +1562,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(), getParentForChildren(), isClean());
+        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(),
+                getParentForChildren(),
+                isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1751,12 +1586,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.Document)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.Document)
   private static final com.google.firestore.v1.Document DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.Document();
   }
@@ -1765,16 +1600,27 @@ public static com.google.firestore.v1.Document getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Document parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Document(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1789,4 +1635,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.Document getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
similarity index 69%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
index 41a5094cb4..98c2fce240 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A [Document][google.firestore.v1.Document] has changed.
  * May be the result of multiple [writes][google.firestore.v1.Write], including deletes, that
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.firestore.v1.DocumentChange}
  */
-public final class DocumentChange extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DocumentChange extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentChange)
     DocumentChangeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DocumentChange.newBuilder() to construct.
   private DocumentChange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DocumentChange() {
     targetIds_ = emptyIntList();
     removedTargetIds_ = emptyIntList();
@@ -48,149 +30,38 @@ private DocumentChange() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DocumentChange();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private DocumentChange(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    int mutable_bitField0_ = 0;
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              com.google.firestore.v1.Document.Builder subBuilder = null;
-              if (document_ != null) {
-                subBuilder = document_.toBuilder();
-              }
-              document_ =
-                  input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(document_);
-                document_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 40:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                targetIds_ = newIntList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              targetIds_.addInt(input.readInt32());
-              break;
-            }
-          case 42:
-            {
-              int length = input.readRawVarint32();
-              int limit = input.pushLimit(length);
-              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
-                targetIds_ = newIntList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              while (input.getBytesUntilLimit() > 0) {
-                targetIds_.addInt(input.readInt32());
-              }
-              input.popLimit(limit);
-              break;
-            }
-          case 48:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                removedTargetIds_ = newIntList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              removedTargetIds_.addInt(input.readInt32());
-              break;
-            }
-          case 50:
-            {
-              int length = input.readRawVarint32();
-              int limit = input.pushLimit(length);
-              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
-                removedTargetIds_ = newIntList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              while (input.getBytesUntilLimit() > 0) {
-                removedTargetIds_.addInt(input.readInt32());
-              }
-              input.popLimit(limit);
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        targetIds_.makeImmutable(); // C
-      }
-      if (((mutable_bitField0_ & 0x00000002) != 0)) {
-        removedTargetIds_.makeImmutable(); // C
-      }
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.WriteProto
-        .internal_static_google_firestore_v1_DocumentChange_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.WriteProto
-        .internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
+    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DocumentChange.class,
-            com.google.firestore.v1.DocumentChange.Builder.class);
+            com.google.firestore.v1.DocumentChange.class, com.google.firestore.v1.DocumentChange.Builder.class);
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
   private com.google.firestore.v1.Document document_;
   /**
-   *
-   *
    * 
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return Whether the document field is set. */ @java.lang.Override @@ -198,15 +69,12 @@ public boolean hasDocument() { return document_ != null; } /** - * - * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return The document. */ @java.lang.Override @@ -214,8 +82,6 @@ public com.google.firestore.v1.Document getDocument() { return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } /** - * - * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
@@ -231,103 +97,84 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
   public static final int TARGET_IDS_FIELD_NUMBER = 5;
   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; 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; @@ -339,7 +186,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (document_ != null) { output.writeMessage(1, getDocument()); @@ -358,7 +206,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < removedTargetIds_.size(); i++) { output.writeInt32NoTag(removedTargetIds_.getInt(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -368,36 +216,38 @@ 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; } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -405,7 +255,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); @@ -414,11 +264,14 @@ public boolean equals(final java.lang.Object obj) { if (hasDocument() != other.hasDocument()) return false; if (hasDocument()) { - if (!getDocument().equals(other.getDocument())) return false; - } - if (!getTargetIdsList().equals(other.getTargetIdsList())) return false; - if (!getRemovedTargetIdsList().equals(other.getRemovedTargetIdsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getDocument() + .equals(other.getDocument())) 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; } @@ -441,109 +294,102 @@ public int hashCode() { hash = (37 * hash) + REMOVED_TARGET_IDS_FIELD_NUMBER; hash = (53 * hash) + getRemovedTargetIdsList().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.firestore.v1.DocumentChange parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.DocumentChange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.DocumentChange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.DocumentChange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.DocumentChange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.DocumentChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.DocumentChange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.DocumentChange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.DocumentChange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.DocumentChange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.DocumentChange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.DocumentChange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.DocumentChange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.DocumentChange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * May be the result of multiple [writes][google.firestore.v1.Write], including deletes, that
@@ -554,39 +400,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.DocumentChange}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentChange)
       com.google.firestore.v1.DocumentChangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentChange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DocumentChange.class,
-              com.google.firestore.v1.DocumentChange.Builder.class);
+              com.google.firestore.v1.DocumentChange.class, com.google.firestore.v1.DocumentChange.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DocumentChange.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -604,9 +444,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
@@ -625,8 +465,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (documentBuilder_ == null) {
         result.document_ = document_;
@@ -651,39 +490,38 @@ public com.google.firestore.v1.DocumentChange 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.v1.DocumentChange) {
-        return mergeFrom((com.google.firestore.v1.DocumentChange) other);
+        return mergeFrom((com.google.firestore.v1.DocumentChange)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -715,7 +553,7 @@ public Builder mergeFrom(com.google.firestore.v1.DocumentChange other) {
         }
         onChanged();
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -730,67 +568,105 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.v1.DocumentChange parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              input.readMessage(
+                  getDocumentFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
-        parsedMessage = (com.google.firestore.v1.DocumentChange) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.firestore.v1.Document document_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Document,
-            com.google.firestore.v1.Document.Builder,
-            com.google.firestore.v1.DocumentOrBuilder>
-        documentBuilder_;
+        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_;
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
      * 
* * .google.firestore.v1.Document document = 1; - * * @return Whether the document field is set. */ public boolean hasDocument() { return documentBuilder_ != null || document_ != null; } /** - * - * *
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
      * 
* * .google.firestore.v1.Document document = 1; - * * @return The document. */ public com.google.firestore.v1.Document getDocument() { if (documentBuilder_ == null) { - return document_ == null - ? com.google.firestore.v1.Document.getDefaultInstance() - : document_; + return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } else { return documentBuilder_.getMessage(); } } /** - * - * *
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -812,8 +688,6 @@ public Builder setDocument(com.google.firestore.v1.Document value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -821,7 +695,8 @@ public Builder setDocument(com.google.firestore.v1.Document value) {
      *
      * .google.firestore.v1.Document document = 1;
      */
-    public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) {
+    public Builder setDocument(
+        com.google.firestore.v1.Document.Builder builderForValue) {
       if (documentBuilder_ == null) {
         document_ = builderForValue.build();
         onChanged();
@@ -832,8 +707,6 @@ public Builder setDocument(com.google.firestore.v1.Document.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -845,9 +718,7 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) {
       if (documentBuilder_ == null) {
         if (document_ != null) {
           document_ =
-              com.google.firestore.v1.Document.newBuilder(document_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.v1.Document.newBuilder(document_).mergeFrom(value).buildPartial();
         } else {
           document_ = value;
         }
@@ -859,8 +730,6 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -880,8 +749,6 @@ public Builder clearDocument() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -890,13 +757,11 @@ public Builder clearDocument() {
      * .google.firestore.v1.Document document = 1;
      */
     public com.google.firestore.v1.Document.Builder getDocumentBuilder() {
-
+      
       onChanged();
       return getDocumentFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -908,14 +773,11 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
       if (documentBuilder_ != null) {
         return documentBuilder_.getMessageOrBuilder();
       } else {
-        return document_ == null
-            ? com.google.firestore.v1.Document.getDefaultInstance()
-            : document_;
+        return document_ == null ?
+            com.google.firestore.v1.Document.getDefaultInstance() : document_;
       }
     }
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -924,69 +786,56 @@ 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_ & 0x00000001) != 0)) {
         targetIds_ = mutableCopy(targetIds_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * 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_ & 0x00000001) != 0) - ? java.util.Collections.unmodifiableList(targetIds_) - : targetIds_; + public java.util.List + getTargetIdsList() { + return ((bitField0_ & 0x00000001) != 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. */ @@ -994,33 +843,28 @@ public int getTargetIds(int index) { return targetIds_.getInt(index); } /** - * - * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; - * * @param index The index to set the value at. * @param value The targetIds to set. * @return This builder for chaining. */ - public Builder setTargetIds(int index, int value) { + public Builder setTargetIds( + int index, int value) { ensureTargetIdsIsMutable(); targetIds_.setInt(index, value); onChanged(); return this; } /** - * - * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; - * * @param value The targetIds to add. * @return This builder for chaining. */ @@ -1031,32 +875,28 @@ 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() { @@ -1067,52 +907,42 @@ public Builder clearTargetIds() { } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); - private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * 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_ & 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 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. */ @@ -1120,33 +950,28 @@ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } /** - * - * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; - * * @param index The index to set the value at. * @param value The removedTargetIds to set. * @return This builder for chaining. */ - public Builder setRemovedTargetIds(int index, int value) { + public Builder setRemovedTargetIds( + int index, int value) { ensureRemovedTargetIdsIsMutable(); removedTargetIds_.setInt(index, value); onChanged(); return this; } /** - * - * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; - * * @param value The removedTargetIds to add. * @return This builder for chaining. */ @@ -1157,32 +982,28 @@ 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() { @@ -1191,9 +1012,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); } @@ -1203,12 +1024,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(); } @@ -1217,16 +1038,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 { - return new DocumentChange(input, extensionRegistry); - } - }; + 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; @@ -1241,4 +1073,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.DocumentChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java similarity index 78% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java index faf5f3daba..0a931ac080 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; -public interface DocumentChangeOrBuilder - extends +public interface DocumentChangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentChange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return Whether the document field is set. */ boolean hasDocument(); /** - * - * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return The document. */ com.google.firestore.v1.Document getDocument(); /** - * - * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
@@ -62,76 +38,58 @@ public interface DocumentChangeOrBuilder
   com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder();
 
   /**
-   *
-   *
    * 
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; - * * @return A list containing the targetIds. */ java.util.List getTargetIdsList(); /** - * - * *
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; - * * @return The count of targetIds. */ int getTargetIdsCount(); /** - * - * *
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; - * * @param index The index of the element to return. * @return The targetIds at the given index. */ int getTargetIds(int index); /** - * - * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return A list containing the removedTargetIds. */ java.util.List getRemovedTargetIdsList(); /** - * - * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return The count of removedTargetIds. */ int getRemovedTargetIdsCount(); /** - * - * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java similarity index 69% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java index 702dd14966..7ae2e13a1a 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; /** - * - * *
  * A [Document][google.firestore.v1.Document] has been deleted.
  * May be the result of multiple [writes][google.firestore.v1.Write], including updates, the
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.firestore.v1.DocumentDelete}
  */
-public final class DocumentDelete extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DocumentDelete extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentDelete)
     DocumentDeleteOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DocumentDelete.newBuilder() to construct.
   private DocumentDelete(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DocumentDelete() {
     document_ = "";
     removedTargetIds_ = emptyIntList();
@@ -48,129 +30,37 @@ private DocumentDelete() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DocumentDelete();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private DocumentDelete(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    int mutable_bitField0_ = 0;
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              document_ = s;
-              break;
-            }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (readTime_ != null) {
-                subBuilder = readTime_.toBuilder();
-              }
-              readTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(readTime_);
-                readTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          case 48:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                removedTargetIds_ = newIntList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              removedTargetIds_.addInt(input.readInt32());
-              break;
-            }
-          case 50:
-            {
-              int length = input.readRawVarint32();
-              int limit = input.pushLimit(length);
-              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
-                removedTargetIds_ = newIntList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              while (input.getBytesUntilLimit() > 0) {
-                removedTargetIds_.addInt(input.readInt32());
-              }
-              input.popLimit(limit);
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        removedTargetIds_.makeImmutable(); // C
-      }
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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;
   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 @@ -179,29 +69,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 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 { @@ -212,64 +102,52 @@ public com.google.protobuf.ByteString getDocumentBytes() { public static final int REMOVED_TARGET_IDS_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList removedTargetIds_; /** - * - * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return A list containing the removedTargetIds. */ @java.lang.Override - public java.util.List getRemovedTargetIdsList() { + public java.util.List + getRemovedTargetIdsList() { return removedTargetIds_; } /** - * - * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** - * - * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } - private int removedTargetIdsMemoizedSerializedSize = -1; public static final int READ_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -277,15 +155,12 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override @@ -293,8 +168,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
@@ -308,7 +181,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -320,7 +192,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getSerializedSize();
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(document_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, document_);
@@ -335,7 +208,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     for (int i = 0; i < removedTargetIds_.size(); i++) {
       output.writeInt32NoTag(removedTargetIds_.getInt(i));
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -348,23 +221,24 @@ 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;
     }
-    size += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -372,20 +246,23 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -406,109 +283,102 @@ public int hashCode() {
       hash = (37 * hash) + READ_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getReadTime().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     return hash;
   }
 
-  public static com.google.firestore.v1.DocumentDelete parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.DocumentDelete parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.DocumentDelete prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A [Document][google.firestore.v1.Document] has been deleted.
    * May be the result of multiple [writes][google.firestore.v1.Write], including updates, the
@@ -519,39 +389,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.DocumentDelete}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentDelete)
       com.google.firestore.v1.DocumentDeleteOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentDelete_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DocumentDelete.class,
-              com.google.firestore.v1.DocumentDelete.Builder.class);
+              com.google.firestore.v1.DocumentDelete.class, com.google.firestore.v1.DocumentDelete.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DocumentDelete.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -569,9 +433,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
@@ -590,8 +454,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.document_ = document_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -612,39 +475,38 @@ public com.google.firestore.v1.DocumentDelete 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.v1.DocumentDelete) {
-        return mergeFrom((com.google.firestore.v1.DocumentDelete) other);
+        return mergeFrom((com.google.firestore.v1.DocumentDelete)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -670,7 +532,7 @@ public Builder mergeFrom(com.google.firestore.v1.DocumentDelete other) {
       if (other.hasReadTime()) {
         mergeReadTime(other.getReadTime());
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -685,38 +547,76 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.v1.DocumentDelete parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              document_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 34: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
-        parsedMessage = (com.google.firestore.v1.DocumentDelete) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // 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; @@ -725,21 +625,20 @@ 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 { @@ -747,113 +646,96 @@ public com.google.protobuf.ByteString getDocumentBytes() { } } /** - * - * *
      * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
      * 
* * string document = 1; - * * @param value The document to set. * @return This builder for chaining. */ - public Builder setDocument(java.lang.String value) { + public Builder setDocument( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + document_ = value; 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() { - + document_ = getDefaultInstance().getDocument(); onChanged(); 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) { + public Builder setDocumentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + document_ = value; onChanged(); return this; } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); - private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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_ & 0x00000001) != 0) - ? java.util.Collections.unmodifiableList(removedTargetIds_) - : removedTargetIds_; + public java.util.List + getRemovedTargetIdsList() { + return ((bitField0_ & 0x00000001) != 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. */ @@ -861,33 +743,28 @@ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } /** - * - * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; - * * @param index The index to set the value at. * @param value The removedTargetIds to set. * @return This builder for chaining. */ - public Builder setRemovedTargetIds(int index, int value) { + public Builder setRemovedTargetIds( + int index, int value) { ensureRemovedTargetIdsIsMutable(); removedTargetIds_.setInt(index, value); onChanged(); return this; } /** - * - * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; - * * @param value The removedTargetIds to add. * @return This builder for chaining. */ @@ -898,32 +775,28 @@ 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() { @@ -935,35 +808,26 @@ public Builder clearRemovedTargetIds() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -974,8 +838,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -997,8 +859,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -1006,7 +866,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 4;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
         onChanged();
@@ -1017,8 +878,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -1030,7 +889,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -1042,8 +901,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -1063,8 +920,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -1073,13 +928,11 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-
+      
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -1091,12 +944,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -1105,24 +957,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1132,12 +981,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();
   }
@@ -1146,16 +995,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 {
-          return new DocumentDelete(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1170,4 +1030,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.DocumentDelete getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
similarity index 74%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
index 5a06fbc212..de91f72f66 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
@@ -1,120 +1,82 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface DocumentDeleteOrBuilder
-    extends
+public interface DocumentDeleteOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentDelete)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
    * 
* * string document = 1; - * * @return The document. */ java.lang.String getDocument(); /** - * - * *
    * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
    * 
* * string document = 1; - * * @return The bytes for document. */ - com.google.protobuf.ByteString getDocumentBytes(); + com.google.protobuf.ByteString + getDocumentBytes(); /** - * - * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return A list containing the removedTargetIds. */ java.util.List getRemovedTargetIdsList(); /** - * - * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return The count of removedTargetIds. */ int getRemovedTargetIdsCount(); /** - * - * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ int getRemovedTargetIds(int index); /** - * - * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
similarity index 65%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
index 88a5bcbccf..647ad08208 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/common.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A set of field paths on a document.
  * Used to restrict a get or update operation on a document to a subset of its
@@ -31,141 +14,78 @@
  *
  * Protobuf type {@code google.firestore.v1.DocumentMask}
  */
-public final class DocumentMask extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DocumentMask extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentMask)
     DocumentMaskOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DocumentMask.newBuilder() to construct.
   private DocumentMask(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DocumentMask() {
     fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DocumentMask();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private DocumentMask(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    int mutable_bitField0_ = 0;
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                fieldPaths_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              fieldPaths_.add(s);
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        fieldPaths_ = fieldPaths_.getUnmodifiableView();
-      }
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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;
   private com.google.protobuf.LazyStringList fieldPaths_;
   /**
-   *
-   *
    * 
    * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
    * path syntax reference.
    * 
* * 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 syntax reference.
    * 
* * 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 syntax reference.
    * 
* * repeated string field_paths = 1; - * * @param index The index of the element to return. * @return The fieldPaths at the given index. */ @@ -173,24 +93,21 @@ 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 syntax reference.
    * 
* * 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; @@ -202,11 +119,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 { for (int i = 0; i < fieldPaths_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPaths_.getRaw(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -223,7 +141,7 @@ public int getSerializedSize() { size += dataSize; size += 1 * getFieldPathsList().size(); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -231,15 +149,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getFieldPathsList() + .equals(other.getFieldPathsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -254,108 +173,102 @@ public int hashCode() { hash = (37 * hash) + FIELD_PATHS_FIELD_NUMBER; hash = (53 * hash) + getFieldPathsList().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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
@@ -366,39 +279,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.DocumentMask}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentMask)
       com.google.firestore.v1.DocumentMaskOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.CommonProto
-          .internal_static_google_firestore_v1_DocumentMask_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.CommonProto
-          .internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
+      return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DocumentMask.class,
-              com.google.firestore.v1.DocumentMask.Builder.class);
+              com.google.firestore.v1.DocumentMask.class, com.google.firestore.v1.DocumentMask.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DocumentMask.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -408,9 +315,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.CommonProto
-          .internal_static_google_firestore_v1_DocumentMask_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_descriptor;
     }
 
     @java.lang.Override
@@ -444,39 +351,38 @@ public com.google.firestore.v1.DocumentMask 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.v1.DocumentMask) {
-        return mergeFrom((com.google.firestore.v1.DocumentMask) other);
+        return mergeFrom((com.google.firestore.v1.DocumentMask)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -495,7 +401,7 @@ public Builder mergeFrom(com.google.firestore.v1.DocumentMask other) {
         }
         onChanged();
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -510,71 +416,79 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.v1.DocumentMask parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            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:
+          } // switch (tag)
+        } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.firestore.v1.DocumentMask) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList fieldPaths_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureFieldPathsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         fieldPaths_ = new com.google.protobuf.LazyStringArrayList(fieldPaths_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
      * path syntax reference.
      * 
* * repeated string field_paths = 1; - * * @return A list containing the fieldPaths. */ - public com.google.protobuf.ProtocolStringList getFieldPathsList() { + public com.google.protobuf.ProtocolStringList + getFieldPathsList() { return fieldPaths_.getUnmodifiableView(); } /** - * - * *
      * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
      * path syntax reference.
      * 
* * 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 syntax reference.
      * 
* * repeated string field_paths = 1; - * * @param index The index of the element to return. * @return The fieldPaths at the given index. */ @@ -582,95 +496,85 @@ 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 syntax reference.
      * 
* * 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 syntax reference.
      * 
* * 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) { + public Builder setFieldPaths( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFieldPathsIsMutable(); + throw new NullPointerException(); + } + ensureFieldPathsIsMutable(); fieldPaths_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
      * path syntax reference.
      * 
* * repeated string field_paths = 1; - * * @param value The fieldPaths to add. * @return This builder for chaining. */ - public Builder addFieldPaths(java.lang.String value) { + public Builder addFieldPaths( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFieldPathsIsMutable(); + throw new NullPointerException(); + } + ensureFieldPathsIsMutable(); fieldPaths_.add(value); onChanged(); return this; } /** - * - * *
      * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
      * path syntax reference.
      * 
* * repeated string field_paths = 1; - * * @param values The fieldPaths to add. * @return This builder for chaining. */ - public Builder addAllFieldPaths(java.lang.Iterable values) { + public Builder addAllFieldPaths( + java.lang.Iterable values) { ensureFieldPathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldPaths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fieldPaths_); onChanged(); return this; } /** - * - * *
      * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
      * path syntax reference.
      * 
* * repeated string field_paths = 1; - * * @return This builder for chaining. */ public Builder clearFieldPaths() { @@ -680,31 +584,29 @@ public Builder clearFieldPaths() { return this; } /** - * - * *
      * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
      * path syntax reference.
      * 
* * 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) { + public Builder addFieldPathsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFieldPathsIsMutable(); fieldPaths_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,12 +616,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(); } @@ -728,16 +630,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 { - return new DocumentMask(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentMask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -752,4 +665,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.DocumentMask getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java similarity index 65% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java index 0df1fc8f78..5c2cf0d314 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java @@ -1,80 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; -public interface 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 syntax reference.
    * 
* * 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 syntax reference.
    * 
* * 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 syntax reference.
    * 
* * 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 syntax reference.
    * 
* * repeated string field_paths = 1; - * * @param index The index of the value to return. * @return The bytes of the fieldPaths at the given index. */ - com.google.protobuf.ByteString getFieldPathsBytes(int index); + com.google.protobuf.ByteString + getFieldPathsBytes(int index); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java similarity index 89% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java index 5aac72d9a9..9a6ffbcd52 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/document.proto package com.google.firestore.v1; -public interface DocumentOrBuilder - extends +public interface DocumentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Document) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the document, for example
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the document, for example
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The document's fields.
    * The map keys represent field names.
@@ -79,8 +56,6 @@ public interface DocumentOrBuilder
    */
   int getFieldsCount();
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -105,13 +80,15 @@ public interface DocumentOrBuilder
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-  boolean containsFields(java.lang.String key);
-  /** Use {@link #getFieldsMap()} instead. */
+  boolean containsFields(
+      java.lang.String key);
+  /**
+   * Use {@link #getFieldsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getFields();
+  java.util.Map
+  getFields();
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -136,10 +113,9 @@ public interface DocumentOrBuilder
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-  java.util.Map getFieldsMap();
+  java.util.Map
+  getFieldsMap();
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -166,13 +142,11 @@ public interface DocumentOrBuilder
    */
 
   /* nullable */
-  com.google.firestore.v1.Value getFieldsOrDefault(
+com.google.firestore.v1.Value getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.firestore.v1.Value defaultValue);
+com.google.firestore.v1.Value defaultValue);
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -197,11 +171,11 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-  com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key);
+
+  com.google.firestore.v1.Value getFieldsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -210,13 +184,10 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -225,13 +196,10 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -244,8 +212,6 @@ com.google.firestore.v1.Value getFieldsOrDefault(
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -254,13 +220,10 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -269,13 +232,10 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
new file mode 100644
index 0000000000..4289e4c46d
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
@@ -0,0 +1,138 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/document.proto
+
+package com.google.firestore.v1;
+
+public final class DocumentProto {
+  private DocumentProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_Document_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Document_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_Document_FieldsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Document_FieldsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_Value_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Value_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_ArrayValue_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_MapValue_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_MapValue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_MapValue_FieldsEntry_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\"google/firestore/v1/document.proto\022\023go" +
+      "ogle.firestore.v1\032\034google/protobuf/struc" +
+      "t.proto\032\037google/protobuf/timestamp.proto" +
+      "\032\030google/type/latlng.proto\"\200\002\n\010Document\022" +
+      "\014\n\004name\030\001 \001(\t\0229\n\006fields\030\002 \003(\0132).google.f" +
+      "irestore.v1.Document.FieldsEntry\022/\n\013crea" +
+      "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" +
+      "p\022/\n\013update_time\030\004 \001(\0132\032.google.protobuf" +
+      ".Timestamp\032I\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022)" +
+      "\n\005value\030\002 \001(\0132\032.google.firestore.v1.Valu" +
+      "e:\0028\001\"\256\003\n\005Value\0220\n\nnull_value\030\013 \001(\0162\032.go" +
+      "ogle.protobuf.NullValueH\000\022\027\n\rboolean_val" +
+      "ue\030\001 \001(\010H\000\022\027\n\rinteger_value\030\002 \001(\003H\000\022\026\n\014d" +
+      "ouble_value\030\003 \001(\001H\000\0225\n\017timestamp_value\030\n" +
+      " \001(\0132\032.google.protobuf.TimestampH\000\022\026\n\014st" +
+      "ring_value\030\021 \001(\tH\000\022\025\n\013bytes_value\030\022 \001(\014H" +
+      "\000\022\031\n\017reference_value\030\005 \001(\tH\000\022.\n\017geo_poin" +
+      "t_value\030\010 \001(\0132\023.google.type.LatLngH\000\0226\n\013" +
+      "array_value\030\t \001(\0132\037.google.firestore.v1." +
+      "ArrayValueH\000\0222\n\tmap_value\030\006 \001(\0132\035.google" +
+      ".firestore.v1.MapValueH\000B\014\n\nvalue_type\"8" +
+      "\n\nArrayValue\022*\n\006values\030\001 \003(\0132\032.google.fi" +
+      "restore.v1.Value\"\220\001\n\010MapValue\0229\n\006fields\030" +
+      "\001 \003(\0132).google.firestore.v1.MapValue.Fie" +
+      "ldsEntry\032I\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022)\n\005" +
+      "value\030\002 \001(\0132\032.google.firestore.v1.Value:" +
+      "\0028\001B\306\001\n\027com.google.firestore.v1B\rDocumen" +
+      "tProtoP\001Z
  * A [Document][google.firestore.v1.Document] has been removed from the view of the targets.
  * Sent if the document is no longer relevant to a target and is out of view.
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.firestore.v1.DocumentRemove}
  */
-public final class DocumentRemove extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DocumentRemove extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentRemove)
     DocumentRemoveOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DocumentRemove.newBuilder() to construct.
   private DocumentRemove(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DocumentRemove() {
     document_ = "";
     removedTargetIds_ = emptyIntList();
@@ -49,129 +31,37 @@ private DocumentRemove() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DocumentRemove();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private DocumentRemove(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    int mutable_bitField0_ = 0;
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              document_ = s;
-              break;
-            }
-          case 16:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                removedTargetIds_ = newIntList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              removedTargetIds_.addInt(input.readInt32());
-              break;
-            }
-          case 18:
-            {
-              int length = input.readRawVarint32();
-              int limit = input.pushLimit(length);
-              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
-                removedTargetIds_ = newIntList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              while (input.getBytesUntilLimit() > 0) {
-                removedTargetIds_.addInt(input.readInt32());
-              }
-              input.popLimit(limit);
-              break;
-            }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (readTime_ != null) {
-                subBuilder = readTime_.toBuilder();
-              }
-              readTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(readTime_);
-                readTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        removedTargetIds_.makeImmutable(); // C
-      }
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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;
   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 @@ -180,29 +70,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 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 { @@ -213,64 +103,52 @@ public com.google.protobuf.ByteString getDocumentBytes() { public static final int REMOVED_TARGET_IDS_FIELD_NUMBER = 2; private com.google.protobuf.Internal.IntList removedTargetIds_; /** - * - * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; - * * @return A list containing the removedTargetIds. */ @java.lang.Override - public java.util.List getRemovedTargetIdsList() { + public java.util.List + getRemovedTargetIdsList() { return removedTargetIds_; } /** - * - * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; - * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** - * - * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } - private int removedTargetIdsMemoizedSerializedSize = -1; public static final int READ_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -278,15 +156,12 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override @@ -294,8 +169,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -309,7 +182,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -321,7 +193,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getSerializedSize();
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(document_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, document_);
@@ -336,7 +209,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (readTime_ != null) {
       output.writeMessage(4, getReadTime());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -351,21 +224,22 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -373,20 +247,23 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -407,109 +284,102 @@ public int hashCode() {
       hash = (37 * hash) + READ_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getReadTime().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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.
    * Sent if the document is no longer relevant to a target and is out of view.
@@ -521,39 +391,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.DocumentRemove}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentRemove)
       com.google.firestore.v1.DocumentRemoveOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentRemove_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DocumentRemove.class,
-              com.google.firestore.v1.DocumentRemove.Builder.class);
+              com.google.firestore.v1.DocumentRemove.class, com.google.firestore.v1.DocumentRemove.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DocumentRemove.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -571,9 +435,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
@@ -592,8 +456,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.document_ = document_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -614,39 +477,38 @@ public com.google.firestore.v1.DocumentRemove 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.v1.DocumentRemove) {
-        return mergeFrom((com.google.firestore.v1.DocumentRemove) other);
+        return mergeFrom((com.google.firestore.v1.DocumentRemove)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -672,7 +534,7 @@ public Builder mergeFrom(com.google.firestore.v1.DocumentRemove other) {
       if (other.hasReadTime()) {
         mergeReadTime(other.getReadTime());
       }
-      this.mergeUnknownFields(other.unknownFields);
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -687,38 +549,76 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.v1.DocumentRemove parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              document_ = input.readStringRequireUtf8();
+
+              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);
+
+              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) {
-        parsedMessage = (com.google.firestore.v1.DocumentRemove) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // 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; @@ -727,21 +627,20 @@ 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 { @@ -749,113 +648,96 @@ public com.google.protobuf.ByteString getDocumentBytes() { } } /** - * - * *
      * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
      * 
* * string document = 1; - * * @param value The document to set. * @return This builder for chaining. */ - public Builder setDocument(java.lang.String value) { + public Builder setDocument( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + document_ = value; 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() { - + document_ = getDefaultInstance().getDocument(); onChanged(); 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) { + public Builder setDocumentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + document_ = value; onChanged(); return this; } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); - private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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_ & 0x00000001) != 0) - ? java.util.Collections.unmodifiableList(removedTargetIds_) - : removedTargetIds_; + public java.util.List + getRemovedTargetIdsList() { + return ((bitField0_ & 0x00000001) != 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. */ @@ -863,33 +745,28 @@ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } /** - * - * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; - * * @param index The index to set the value at. * @param value The removedTargetIds to set. * @return This builder for chaining. */ - public Builder setRemovedTargetIds(int index, int value) { + public Builder setRemovedTargetIds( + int index, int value) { ensureRemovedTargetIdsIsMutable(); removedTargetIds_.setInt(index, value); onChanged(); return this; } /** - * - * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; - * * @param value The removedTargetIds to add. * @return This builder for chaining. */ @@ -900,32 +777,28 @@ 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() { @@ -937,35 +810,26 @@ public Builder clearRemovedTargetIds() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -976,8 +840,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -999,8 +861,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -1008,7 +868,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 4;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
         onChanged();
@@ -1019,8 +880,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -1032,7 +891,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -1044,8 +903,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -1065,8 +922,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -1075,13 +930,11 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-
+      
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -1093,12 +946,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -1107,24 +959,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1134,12 +983,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();
   }
@@ -1148,16 +997,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 {
-          return new DocumentRemove(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1172,4 +1032,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.DocumentRemove getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
similarity index 75%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
index 06137bfdd4..edc296f9f6 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
@@ -1,120 +1,82 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface DocumentRemoveOrBuilder
-    extends
+public interface DocumentRemoveOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentRemove)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
    * 
* * string document = 1; - * * @return The document. */ java.lang.String getDocument(); /** - * - * *
    * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
    * 
* * string document = 1; - * * @return The bytes for document. */ - com.google.protobuf.ByteString getDocumentBytes(); + com.google.protobuf.ByteString + getDocumentBytes(); /** - * - * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; - * * @return A list containing the removedTargetIds. */ java.util.List getRemovedTargetIdsList(); /** - * - * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; - * * @return The count of removedTargetIds. */ int getRemovedTargetIdsCount(); /** - * - * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ int getRemovedTargetIds(int index); /** - * - * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
similarity index 78%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
index b8fb7e4665..195459d81c 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A transformation of a document.
  * 
* * Protobuf type {@code google.firestore.v1.DocumentTransform} */ -public final class DocumentTransform extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DocumentTransform extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentTransform) DocumentTransformOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DocumentTransform.newBuilder() to construct. private DocumentTransform(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DocumentTransform() { document_ = ""; fieldTransforms_ = java.util.Collections.emptyList(); @@ -44,172 +26,84 @@ private DocumentTransform() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DocumentTransform(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private DocumentTransform( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - document_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fieldTransforms_ = - new java.util.ArrayList< - com.google.firestore.v1.DocumentTransform.FieldTransform>(); - mutable_bitField0_ |= 0x00000001; - } - fieldTransforms_.add( - input.readMessage( - com.google.firestore.v1.DocumentTransform.FieldTransform.parser(), - extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - fieldTransforms_ = java.util.Collections.unmodifiableList(fieldTransforms_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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 syntax
      * reference.
      * 
* * 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 syntax
      * reference.
      * 
* * string field_path = 1; - * * @return The bytes for fieldPath. */ - com.google.protobuf.ByteString getFieldPathBytes(); + com.google.protobuf.ByteString + getFieldPathBytes(); /** - * - * *
      * Sets the field to the given server value.
      * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return Whether the setToServerValue field is set. */ boolean hasSetToServerValue(); /** - * - * *
      * Sets the field to the given server value.
      * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return The enum numeric value on the wire for setToServerValue. */ int getSetToServerValueValue(); /** - * - * *
      * Sets the field to the given server value.
      * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return The setToServerValue. */ com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue getSetToServerValue(); /** - * - * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -223,13 +117,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.Value increment = 3; - * * @return Whether the increment field is set. */ boolean hasIncrement(); /** - * - * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -243,13 +134,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.Value increment = 3; - * * @return The increment. */ com.google.firestore.v1.Value getIncrement(); /** - * - * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -267,8 +155,6 @@ public interface FieldTransformOrBuilder
     com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder();
 
     /**
-     *
-     *
      * 
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -284,13 +170,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.Value maximum = 4; - * * @return Whether the maximum field is set. */ boolean hasMaximum(); /** - * - * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -306,13 +189,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.Value maximum = 4; - * * @return The maximum. */ com.google.firestore.v1.Value getMaximum(); /** - * - * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -332,8 +212,6 @@ public interface FieldTransformOrBuilder
     com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder();
 
     /**
-     *
-     *
      * 
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -349,13 +227,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.Value minimum = 5; - * * @return Whether the minimum field is set. */ boolean hasMinimum(); /** - * - * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -371,13 +246,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.Value minimum = 5; - * * @return The minimum. */ com.google.firestore.v1.Value getMinimum(); /** - * - * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -397,8 +269,6 @@ public interface FieldTransformOrBuilder
     com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder();
 
     /**
-     *
-     *
      * 
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -413,13 +283,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; - * * @return Whether the appendMissingElements field is set. */ boolean hasAppendMissingElements(); /** - * - * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -434,13 +301,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; - * * @return The appendMissingElements. */ com.google.firestore.v1.ArrayValue getAppendMissingElements(); /** - * - * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -459,8 +323,6 @@ public interface FieldTransformOrBuilder
     com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBuilder();
 
     /**
-     *
-     *
      * 
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -473,13 +335,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; - * * @return Whether the removeAllFromArray field is set. */ boolean hasRemoveAllFromArray(); /** - * - * *
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -492,13 +351,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; - * * @return The removeAllFromArray. */ com.google.firestore.v1.ArrayValue getRemoveAllFromArray(); /** - * - * *
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -514,201 +370,63 @@ public interface FieldTransformOrBuilder
      */
     com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder();
 
-    public com.google.firestore.v1.DocumentTransform.FieldTransform.TransformTypeCase
-        getTransformTypeCase();
+    public com.google.firestore.v1.DocumentTransform.FieldTransform.TransformTypeCase getTransformTypeCase();
   }
   /**
-   *
-   *
    * 
    * A transformation of a field of the document.
    * 
* * Protobuf type {@code google.firestore.v1.DocumentTransform.FieldTransform} */ - public static final class FieldTransform extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class FieldTransform extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentTransform.FieldTransform) FieldTransformOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldTransform.newBuilder() to construct. private FieldTransform(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FieldTransform() { fieldPath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FieldTransform(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private FieldTransform( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - fieldPath_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); - transformTypeCase_ = 2; - transformType_ = rawValue; - break; - } - case 26: - { - com.google.firestore.v1.Value.Builder subBuilder = null; - if (transformTypeCase_ == 3) { - subBuilder = ((com.google.firestore.v1.Value) transformType_).toBuilder(); - } - transformType_ = - input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.Value) transformType_); - transformType_ = subBuilder.buildPartial(); - } - transformTypeCase_ = 3; - break; - } - case 34: - { - com.google.firestore.v1.Value.Builder subBuilder = null; - if (transformTypeCase_ == 4) { - subBuilder = ((com.google.firestore.v1.Value) transformType_).toBuilder(); - } - transformType_ = - input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.Value) transformType_); - transformType_ = subBuilder.buildPartial(); - } - transformTypeCase_ = 4; - break; - } - case 42: - { - com.google.firestore.v1.Value.Builder subBuilder = null; - if (transformTypeCase_ == 5) { - subBuilder = ((com.google.firestore.v1.Value) transformType_).toBuilder(); - } - transformType_ = - input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.Value) transformType_); - transformType_ = subBuilder.buildPartial(); - } - transformTypeCase_ = 5; - break; - } - case 50: - { - com.google.firestore.v1.ArrayValue.Builder subBuilder = null; - if (transformTypeCase_ == 6) { - subBuilder = ((com.google.firestore.v1.ArrayValue) transformType_).toBuilder(); - } - transformType_ = - input.readMessage( - com.google.firestore.v1.ArrayValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.ArrayValue) transformType_); - transformType_ = subBuilder.buildPartial(); - } - transformTypeCase_ = 6; - break; - } - case 58: - { - com.google.firestore.v1.ArrayValue.Builder subBuilder = null; - if (transformTypeCase_ == 7) { - subBuilder = ((com.google.firestore.v1.ArrayValue) transformType_).toBuilder(); - } - transformType_ = - input.readMessage( - com.google.firestore.v1.ArrayValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.ArrayValue) transformType_); - transformType_ = subBuilder.buildPartial(); - } - transformTypeCase_ = 7; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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.
        * 
@@ -717,8 +435,6 @@ public enum ServerValue implements com.google.protobuf.ProtocolMessageEnum { */ SERVER_VALUE_UNSPECIFIED(0), /** - * - * *
        * The time at which the server processed the request, with millisecond
        * precision. If used on multiple fields (same or different documents) in
@@ -732,8 +448,6 @@ public enum ServerValue implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -742,8 +456,6 @@ public enum ServerValue implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVER_VALUE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The time at which the server processed the request, with millisecond
        * precision. If used on multiple fields (same or different documents) in
@@ -754,6 +466,7 @@ public enum ServerValue implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int REQUEST_TIME_VALUE = 1;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -778,49 +491,48 @@ public static ServerValue valueOf(int value) {
        */
       public static ServerValue forNumber(int value) {
         switch (value) {
-          case 0:
-            return SERVER_VALUE_UNSPECIFIED;
-          case 1:
-            return REQUEST_TIME;
-          default:
-            return null;
+          case 0: return SERVER_VALUE_UNSPECIFIED;
+          case 1: return REQUEST_TIME;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ServerValue> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ServerValue findValueByNumber(int number) {
+                return ServerValue.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ServerValue findValueByNumber(int number) {
-              return ServerValue.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.firestore.v1.DocumentTransform.FieldTransform.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.firestore.v1.DocumentTransform.FieldTransform.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ServerValue[] VALUES = values();
 
-      public static ServerValue valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static ServerValue valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -839,10 +551,8 @@ private ServerValue(int value) {
 
     private int transformTypeCase_ = 0;
     private java.lang.Object transformType_;
-
     public enum TransformTypeCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       SET_TO_SERVER_VALUE(2),
       INCREMENT(3),
@@ -852,7 +562,6 @@ public enum TransformTypeCase
       REMOVE_ALL_FROM_ARRAY(7),
       TRANSFORMTYPE_NOT_SET(0);
       private final int value;
-
       private TransformTypeCase(int value) {
         this.value = value;
       }
@@ -868,46 +577,36 @@ 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;
     private volatile java.lang.Object fieldPath_;
     /**
-     *
-     *
      * 
      * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
      * reference.
      * 
* * string field_path = 1; - * * @return The fieldPath. */ @java.lang.Override @@ -916,30 +615,30 @@ 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 syntax
      * reference.
      * 
* * 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 { @@ -949,32 +648,22 @@ public com.google.protobuf.ByteString getFieldPathBytes() { public static final int SET_TO_SERVER_VALUE_FIELD_NUMBER = 2; /** - * - * *
      * Sets the field to the given server value.
      * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return Whether the setToServerValue field is set. */ public boolean hasSetToServerValue() { return transformTypeCase_ == 2; } /** - * - * *
      * Sets the field to the given server value.
      * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return The enum numeric value on the wire for setToServerValue. */ public int getSetToServerValueValue() { @@ -984,37 +673,25 @@ 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) { @SuppressWarnings("deprecation") - com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = - com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.valueOf( - (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.valueOf( + (java.lang.Integer) transformType_); + return result == null ? com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.UNRECOGNIZED : result; + } + return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.SERVER_VALUE_UNSPECIFIED; } public static final int INCREMENT_FIELD_NUMBER = 3; /** - * - * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -1028,7 +705,6 @@ public int getSetToServerValueValue() {
      * 
* * .google.firestore.v1.Value increment = 3; - * * @return Whether the increment field is set. */ @java.lang.Override @@ -1036,8 +712,6 @@ public boolean hasIncrement() { return transformTypeCase_ == 3; } /** - * - * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -1051,19 +725,16 @@ public boolean hasIncrement() {
      * 
* * .google.firestore.v1.Value increment = 3; - * * @return The increment. */ @java.lang.Override public com.google.firestore.v1.Value getIncrement() { if (transformTypeCase_ == 3) { - return (com.google.firestore.v1.Value) transformType_; + return (com.google.firestore.v1.Value) transformType_; } return com.google.firestore.v1.Value.getDefaultInstance(); } /** - * - * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -1081,15 +752,13 @@ public com.google.firestore.v1.Value getIncrement() {
     @java.lang.Override
     public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
       if (transformTypeCase_ == 3) {
-        return (com.google.firestore.v1.Value) transformType_;
+         return (com.google.firestore.v1.Value) transformType_;
       }
       return com.google.firestore.v1.Value.getDefaultInstance();
     }
 
     public static final int MAXIMUM_FIELD_NUMBER = 4;
     /**
-     *
-     *
      * 
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -1105,7 +774,6 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
      * 
* * .google.firestore.v1.Value maximum = 4; - * * @return Whether the maximum field is set. */ @java.lang.Override @@ -1113,8 +781,6 @@ public boolean hasMaximum() { return transformTypeCase_ == 4; } /** - * - * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -1130,19 +796,16 @@ public boolean hasMaximum() {
      * 
* * .google.firestore.v1.Value maximum = 4; - * * @return The maximum. */ @java.lang.Override public com.google.firestore.v1.Value getMaximum() { if (transformTypeCase_ == 4) { - return (com.google.firestore.v1.Value) transformType_; + return (com.google.firestore.v1.Value) transformType_; } return com.google.firestore.v1.Value.getDefaultInstance(); } /** - * - * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -1162,15 +825,13 @@ public com.google.firestore.v1.Value getMaximum() {
     @java.lang.Override
     public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
       if (transformTypeCase_ == 4) {
-        return (com.google.firestore.v1.Value) transformType_;
+         return (com.google.firestore.v1.Value) transformType_;
       }
       return com.google.firestore.v1.Value.getDefaultInstance();
     }
 
     public static final int MINIMUM_FIELD_NUMBER = 5;
     /**
-     *
-     *
      * 
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -1186,7 +847,6 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
      * 
* * .google.firestore.v1.Value minimum = 5; - * * @return Whether the minimum field is set. */ @java.lang.Override @@ -1194,8 +854,6 @@ public boolean hasMinimum() { return transformTypeCase_ == 5; } /** - * - * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -1211,19 +869,16 @@ public boolean hasMinimum() {
      * 
* * .google.firestore.v1.Value minimum = 5; - * * @return The minimum. */ @java.lang.Override public com.google.firestore.v1.Value getMinimum() { if (transformTypeCase_ == 5) { - return (com.google.firestore.v1.Value) transformType_; + return (com.google.firestore.v1.Value) transformType_; } return com.google.firestore.v1.Value.getDefaultInstance(); } /** - * - * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -1243,15 +898,13 @@ public com.google.firestore.v1.Value getMinimum() {
     @java.lang.Override
     public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
       if (transformTypeCase_ == 5) {
-        return (com.google.firestore.v1.Value) transformType_;
+         return (com.google.firestore.v1.Value) transformType_;
       }
       return com.google.firestore.v1.Value.getDefaultInstance();
     }
 
     public static final int APPEND_MISSING_ELEMENTS_FIELD_NUMBER = 6;
     /**
-     *
-     *
      * 
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -1266,7 +919,6 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
      * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; - * * @return Whether the appendMissingElements field is set. */ @java.lang.Override @@ -1274,8 +926,6 @@ public boolean hasAppendMissingElements() { return transformTypeCase_ == 6; } /** - * - * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -1290,19 +940,16 @@ public boolean hasAppendMissingElements() {
      * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; - * * @return The appendMissingElements. */ @java.lang.Override public com.google.firestore.v1.ArrayValue getAppendMissingElements() { if (transformTypeCase_ == 6) { - return (com.google.firestore.v1.ArrayValue) transformType_; + return (com.google.firestore.v1.ArrayValue) transformType_; } return com.google.firestore.v1.ArrayValue.getDefaultInstance(); } /** - * - * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -1321,15 +968,13 @@ public com.google.firestore.v1.ArrayValue getAppendMissingElements() {
     @java.lang.Override
     public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBuilder() {
       if (transformTypeCase_ == 6) {
-        return (com.google.firestore.v1.ArrayValue) transformType_;
+         return (com.google.firestore.v1.ArrayValue) transformType_;
       }
       return com.google.firestore.v1.ArrayValue.getDefaultInstance();
     }
 
     public static final int REMOVE_ALL_FROM_ARRAY_FIELD_NUMBER = 7;
     /**
-     *
-     *
      * 
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -1342,7 +987,6 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
      * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; - * * @return Whether the removeAllFromArray field is set. */ @java.lang.Override @@ -1350,8 +994,6 @@ public boolean hasRemoveAllFromArray() { return transformTypeCase_ == 7; } /** - * - * *
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -1364,19 +1006,16 @@ public boolean hasRemoveAllFromArray() {
      * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; - * * @return The removeAllFromArray. */ @java.lang.Override public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() { if (transformTypeCase_ == 7) { - return (com.google.firestore.v1.ArrayValue) transformType_; + return (com.google.firestore.v1.ArrayValue) transformType_; } return com.google.firestore.v1.ArrayValue.getDefaultInstance(); } /** - * - * *
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -1393,13 +1032,12 @@ public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() {
     @java.lang.Override
     public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder() {
       if (transformTypeCase_ == 7) {
-        return (com.google.firestore.v1.ArrayValue) transformType_;
+         return (com.google.firestore.v1.ArrayValue) transformType_;
       }
       return com.google.firestore.v1.ArrayValue.getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1411,7 +1049,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPath_);
       }
@@ -1433,7 +1072,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       if (transformTypeCase_ == 7) {
         output.writeMessage(7, (com.google.firestore.v1.ArrayValue) transformType_);
       }
-      unknownFields.writeTo(output);
+      getUnknownFields().writeTo(output);
     }
 
     @java.lang.Override
@@ -1446,36 +1085,30 @@ 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 += unknownFields.getSerializedSize();
+      size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
       return size;
     }
@@ -1483,39 +1116,45 @@ public int getSerializedSize() {
     @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:
       }
-      if (!unknownFields.equals(other.unknownFields)) return false;
+      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
 
@@ -1556,100 +1195,93 @@ public int hashCode() {
         case 0:
         default:
       }
-      hash = (29 * hash) + unknownFields.hashCode();
+      hash = (29 * hash) + getUnknownFields().hashCode();
       memoizedHashCode = hash;
       return hash;
     }
 
     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
@@ -1659,62 +1291,68 @@ 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); fieldPath_ = ""; + if (incrementBuilder_ != null) { + incrementBuilder_.clear(); + } + if (maximumBuilder_ != null) { + maximumBuilder_.clear(); + } + if (minimumBuilder_ != null) { + minimumBuilder_.clear(); + } + if (appendMissingElementsBuilder_ != null) { + appendMissingElementsBuilder_.clear(); + } + if (removeAllFromArrayBuilder_ != null) { + removeAllFromArrayBuilder_.clear(); + } transformTypeCase_ = 0; transformType_ = null; return this; } @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 @@ -1733,8 +1371,7 @@ 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); + com.google.firestore.v1.DocumentTransform.FieldTransform result = new com.google.firestore.v1.DocumentTransform.FieldTransform(this); result.fieldPath_ = fieldPath_; if (transformTypeCase_ == 2) { result.transformType_ = transformType_; @@ -1783,41 +1420,38 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -1825,49 +1459,41 @@ 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_; 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -1882,26 +1508,84 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.DocumentTransform.FieldTransform parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + fieldPath_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = - (com.google.firestore.v1.DocumentTransform.FieldTransform) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -1911,23 +1595,22 @@ public Builder clearTransformType() { return this; } + private java.lang.Object fieldPath_ = ""; /** - * - * *
        * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
        * reference.
        * 
* * 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; @@ -1936,22 +1619,21 @@ public java.lang.String getFieldPath() { } } /** - * - * *
        * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
        * reference.
        * 
* * 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 { @@ -1959,80 +1641,68 @@ public com.google.protobuf.ByteString getFieldPathBytes() { } } /** - * - * *
        * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
        * reference.
        * 
* * string field_path = 1; - * * @param value The fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPath(java.lang.String value) { + public Builder setFieldPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fieldPath_ = value; onChanged(); return this; } /** - * - * *
        * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
        * reference.
        * 
* * string field_path = 1; - * * @return This builder for chaining. */ public Builder clearFieldPath() { - + fieldPath_ = getDefaultInstance().getFieldPath(); onChanged(); return this; } /** - * - * *
        * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
        * reference.
        * 
* * 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) { + public Builder setFieldPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fieldPath_ = value; onChanged(); 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 Whether the setToServerValue field is set. */ @java.lang.Override @@ -2040,16 +1710,11 @@ public boolean hasSetToServerValue() { return transformTypeCase_ == 2; } /** - * - * *
        * Sets the field to the given server value.
        * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return The enum numeric value on the wire for setToServerValue. */ @java.lang.Override @@ -2060,16 +1725,11 @@ public int getSetToServerValueValue() { return 0; } /** - * - * *
        * Sets the field to the given server value.
        * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @param value The enum numeric value on the wire for setToServerValue to set. * @return This builder for chaining. */ @@ -2080,49 +1740,33 @@ 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) { @SuppressWarnings("deprecation") - com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = - com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.valueOf( - (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.valueOf( + (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(); } @@ -2132,16 +1776,11 @@ public Builder setSetToServerValue( return this; } /** - * - * *
        * Sets the field to the given server value.
        * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return This builder for chaining. */ public Builder clearSetToServerValue() { @@ -2154,13 +1793,8 @@ public Builder clearSetToServerValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder> - incrementBuilder_; + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> incrementBuilder_; /** - * - * *
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2174,7 +1808,6 @@ public Builder clearSetToServerValue() {
        * 
* * .google.firestore.v1.Value increment = 3; - * * @return Whether the increment field is set. */ @java.lang.Override @@ -2182,8 +1815,6 @@ public boolean hasIncrement() { return transformTypeCase_ == 3; } /** - * - * *
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2197,7 +1828,6 @@ public boolean hasIncrement() {
        * 
* * .google.firestore.v1.Value increment = 3; - * * @return The increment. */ @java.lang.Override @@ -2215,8 +1845,6 @@ public com.google.firestore.v1.Value getIncrement() { } } /** - * - * *
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2245,8 +1873,6 @@ public Builder setIncrement(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2261,7 +1887,8 @@ public Builder setIncrement(com.google.firestore.v1.Value value) {
        *
        * .google.firestore.v1.Value increment = 3;
        */
-      public Builder setIncrement(com.google.firestore.v1.Value.Builder builderForValue) {
+      public Builder setIncrement(
+          com.google.firestore.v1.Value.Builder builderForValue) {
         if (incrementBuilder_ == null) {
           transformType_ = builderForValue.build();
           onChanged();
@@ -2272,8 +1899,6 @@ public Builder setIncrement(com.google.firestore.v1.Value.Builder builderForValu
         return this;
       }
       /**
-       *
-       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2290,13 +1915,10 @@ public Builder setIncrement(com.google.firestore.v1.Value.Builder builderForValu
        */
       public Builder mergeIncrement(com.google.firestore.v1.Value value) {
         if (incrementBuilder_ == null) {
-          if (transformTypeCase_ == 3
-              && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
-            transformType_ =
-                com.google.firestore.v1.Value.newBuilder(
-                        (com.google.firestore.v1.Value) transformType_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (transformTypeCase_ == 3 &&
+              transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
+            transformType_ = com.google.firestore.v1.Value.newBuilder((com.google.firestore.v1.Value) transformType_)
+                .mergeFrom(value).buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2312,8 +1934,6 @@ public Builder mergeIncrement(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2345,8 +1965,6 @@ public Builder clearIncrement() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2365,8 +1983,6 @@ public com.google.firestore.v1.Value.Builder getIncrementBuilder() {
         return getIncrementFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2393,8 +2009,6 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2410,38 +2024,27 @@ 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());
           transformType_ = null;
         }
         transformTypeCase_ = 3;
-        onChanged();
-        ;
+        onChanged();;
         return incrementBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.Value,
-              com.google.firestore.v1.Value.Builder,
-              com.google.firestore.v1.ValueOrBuilder>
-          maximumBuilder_;
+          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> maximumBuilder_;
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2457,7 +2060,6 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
        * 
* * .google.firestore.v1.Value maximum = 4; - * * @return Whether the maximum field is set. */ @java.lang.Override @@ -2465,8 +2067,6 @@ public boolean hasMaximum() { return transformTypeCase_ == 4; } /** - * - * *
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2482,7 +2082,6 @@ public boolean hasMaximum() {
        * 
* * .google.firestore.v1.Value maximum = 4; - * * @return The maximum. */ @java.lang.Override @@ -2500,8 +2099,6 @@ public com.google.firestore.v1.Value getMaximum() { } } /** - * - * *
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2532,8 +2129,6 @@ public Builder setMaximum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2550,7 +2145,8 @@ public Builder setMaximum(com.google.firestore.v1.Value value) {
        *
        * .google.firestore.v1.Value maximum = 4;
        */
-      public Builder setMaximum(com.google.firestore.v1.Value.Builder builderForValue) {
+      public Builder setMaximum(
+          com.google.firestore.v1.Value.Builder builderForValue) {
         if (maximumBuilder_ == null) {
           transformType_ = builderForValue.build();
           onChanged();
@@ -2561,8 +2157,6 @@ public Builder setMaximum(com.google.firestore.v1.Value.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2581,13 +2175,10 @@ public Builder setMaximum(com.google.firestore.v1.Value.Builder builderForValue)
        */
       public Builder mergeMaximum(com.google.firestore.v1.Value value) {
         if (maximumBuilder_ == null) {
-          if (transformTypeCase_ == 4
-              && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
-            transformType_ =
-                com.google.firestore.v1.Value.newBuilder(
-                        (com.google.firestore.v1.Value) transformType_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (transformTypeCase_ == 4 &&
+              transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
+            transformType_ = com.google.firestore.v1.Value.newBuilder((com.google.firestore.v1.Value) transformType_)
+                .mergeFrom(value).buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2603,8 +2194,6 @@ public Builder mergeMaximum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2638,8 +2227,6 @@ public Builder clearMaximum() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2660,8 +2247,6 @@ public com.google.firestore.v1.Value.Builder getMaximumBuilder() {
         return getMaximumFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2690,8 +2275,6 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2709,38 +2292,27 @@ 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());
           transformType_ = null;
         }
         transformTypeCase_ = 4;
-        onChanged();
-        ;
+        onChanged();;
         return maximumBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.Value,
-              com.google.firestore.v1.Value.Builder,
-              com.google.firestore.v1.ValueOrBuilder>
-          minimumBuilder_;
+          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> minimumBuilder_;
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2756,7 +2328,6 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
        * 
* * .google.firestore.v1.Value minimum = 5; - * * @return Whether the minimum field is set. */ @java.lang.Override @@ -2764,8 +2335,6 @@ public boolean hasMinimum() { return transformTypeCase_ == 5; } /** - * - * *
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2781,7 +2350,6 @@ public boolean hasMinimum() {
        * 
* * .google.firestore.v1.Value minimum = 5; - * * @return The minimum. */ @java.lang.Override @@ -2799,8 +2367,6 @@ public com.google.firestore.v1.Value getMinimum() { } } /** - * - * *
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2831,8 +2397,6 @@ public Builder setMinimum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2849,7 +2413,8 @@ public Builder setMinimum(com.google.firestore.v1.Value value) {
        *
        * .google.firestore.v1.Value minimum = 5;
        */
-      public Builder setMinimum(com.google.firestore.v1.Value.Builder builderForValue) {
+      public Builder setMinimum(
+          com.google.firestore.v1.Value.Builder builderForValue) {
         if (minimumBuilder_ == null) {
           transformType_ = builderForValue.build();
           onChanged();
@@ -2860,8 +2425,6 @@ public Builder setMinimum(com.google.firestore.v1.Value.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2880,13 +2443,10 @@ public Builder setMinimum(com.google.firestore.v1.Value.Builder builderForValue)
        */
       public Builder mergeMinimum(com.google.firestore.v1.Value value) {
         if (minimumBuilder_ == null) {
-          if (transformTypeCase_ == 5
-              && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
-            transformType_ =
-                com.google.firestore.v1.Value.newBuilder(
-                        (com.google.firestore.v1.Value) transformType_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (transformTypeCase_ == 5 &&
+              transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
+            transformType_ = com.google.firestore.v1.Value.newBuilder((com.google.firestore.v1.Value) transformType_)
+                .mergeFrom(value).buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2902,8 +2462,6 @@ public Builder mergeMinimum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2937,8 +2495,6 @@ public Builder clearMinimum() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2959,8 +2515,6 @@ public com.google.firestore.v1.Value.Builder getMinimumBuilder() {
         return getMinimumFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2989,8 +2543,6 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -3008,38 +2560,27 @@ 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());
           transformType_ = null;
         }
         transformTypeCase_ = 5;
-        onChanged();
-        ;
+        onChanged();;
         return minimumBuilder_;
       }
 
       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.
@@ -3054,7 +2595,6 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
        * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; - * * @return Whether the appendMissingElements field is set. */ @java.lang.Override @@ -3062,8 +2602,6 @@ public boolean hasAppendMissingElements() { return transformTypeCase_ == 6; } /** - * - * *
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3078,7 +2616,6 @@ public boolean hasAppendMissingElements() {
        * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; - * * @return The appendMissingElements. */ @java.lang.Override @@ -3096,8 +2633,6 @@ public com.google.firestore.v1.ArrayValue getAppendMissingElements() { } } /** - * - * *
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3127,8 +2662,6 @@ public Builder setAppendMissingElements(com.google.firestore.v1.ArrayValue value
         return this;
       }
       /**
-       *
-       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3156,8 +2689,6 @@ public Builder setAppendMissingElements(
         return this;
       }
       /**
-       *
-       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3175,13 +2706,10 @@ public Builder setAppendMissingElements(
        */
       public Builder mergeAppendMissingElements(com.google.firestore.v1.ArrayValue value) {
         if (appendMissingElementsBuilder_ == null) {
-          if (transformTypeCase_ == 6
-              && transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
-            transformType_ =
-                com.google.firestore.v1.ArrayValue.newBuilder(
-                        (com.google.firestore.v1.ArrayValue) transformType_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (transformTypeCase_ == 6 &&
+              transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
+            transformType_ = com.google.firestore.v1.ArrayValue.newBuilder((com.google.firestore.v1.ArrayValue) transformType_)
+                .mergeFrom(value).buildPartial();
           } else {
             transformType_ = value;
           }
@@ -3197,8 +2725,6 @@ public Builder mergeAppendMissingElements(com.google.firestore.v1.ArrayValue val
         return this;
       }
       /**
-       *
-       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3231,8 +2757,6 @@ public Builder clearAppendMissingElements() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3252,8 +2776,6 @@ public com.google.firestore.v1.ArrayValue.Builder getAppendMissingElementsBuilde
         return getAppendMissingElementsFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3281,8 +2803,6 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
         }
       }
       /**
-       *
-       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3299,38 +2819,27 @@ 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());
           transformType_ = null;
         }
         transformTypeCase_ = 6;
-        onChanged();
-        ;
+        onChanged();;
         return appendMissingElementsBuilder_;
       }
 
       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
@@ -3343,7 +2852,6 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
        * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; - * * @return Whether the removeAllFromArray field is set. */ @java.lang.Override @@ -3351,8 +2859,6 @@ public boolean hasRemoveAllFromArray() { return transformTypeCase_ == 7; } /** - * - * *
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3365,7 +2871,6 @@ public boolean hasRemoveAllFromArray() {
        * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; - * * @return The removeAllFromArray. */ @java.lang.Override @@ -3383,8 +2888,6 @@ public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() { } } /** - * - * *
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3412,8 +2915,6 @@ public Builder setRemoveAllFromArray(com.google.firestore.v1.ArrayValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3439,8 +2940,6 @@ public Builder setRemoveAllFromArray(
         return this;
       }
       /**
-       *
-       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3456,13 +2955,10 @@ public Builder setRemoveAllFromArray(
        */
       public Builder mergeRemoveAllFromArray(com.google.firestore.v1.ArrayValue value) {
         if (removeAllFromArrayBuilder_ == null) {
-          if (transformTypeCase_ == 7
-              && transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
-            transformType_ =
-                com.google.firestore.v1.ArrayValue.newBuilder(
-                        (com.google.firestore.v1.ArrayValue) transformType_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (transformTypeCase_ == 7 &&
+              transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
+            transformType_ = com.google.firestore.v1.ArrayValue.newBuilder((com.google.firestore.v1.ArrayValue) transformType_)
+                .mergeFrom(value).buildPartial();
           } else {
             transformType_ = value;
           }
@@ -3478,8 +2974,6 @@ public Builder mergeRemoveAllFromArray(com.google.firestore.v1.ArrayValue value)
         return this;
       }
       /**
-       *
-       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3510,8 +3004,6 @@ public Builder clearRemoveAllFromArray() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3529,8 +3021,6 @@ public com.google.firestore.v1.ArrayValue.Builder getRemoveAllFromArrayBuilder()
         return getRemoveAllFromArrayFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3556,8 +3046,6 @@ public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilde
         }
       }
       /**
-       *
-       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3572,30 +3060,23 @@ 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());
           transformType_ = null;
         }
         transformTypeCase_ = 7;
-        onChanged();
-        ;
+        onChanged();;
         return removeAllFromArrayBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3608,12 +3089,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentTransform.FieldTransform)
     }
 
     // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentTransform.FieldTransform)
     private static final com.google.firestore.v1.DocumentTransform.FieldTransform DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentTransform.FieldTransform();
     }
@@ -3622,16 +3103,27 @@ public static com.google.firestore.v1.DocumentTransform.FieldTransform getDefaul
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public FieldTransform parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new FieldTransform(input, extensionRegistry);
-          }
-        };
+    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;
@@ -3646,19 +3138,17 @@ 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;
   private volatile java.lang.Object document_;
   /**
-   *
-   *
    * 
    * The name of the document to transform.
    * 
* * string document = 1; - * * @return The document. */ @java.lang.Override @@ -3667,29 +3157,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 { @@ -3700,91 +3190,74 @@ public com.google.protobuf.ByteString getDocumentBytes() { public static final int FIELD_TRANSFORMS_FIELD_NUMBER = 2; 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; @@ -3796,14 +3269,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(document_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, document_); } for (int i = 0; i < fieldTransforms_.size(); i++) { output.writeMessage(2, fieldTransforms_.get(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -3816,9 +3290,10 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -3826,17 +3301,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.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 (!unknownFields.equals(other.unknownFields)) 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; } @@ -3853,150 +3329,135 @@ public int hashCode() { hash = (37 * hash) + FIELD_TRANSFORMS_FIELD_NUMBER; hash = (53 * hash) + getFieldTransformsList().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getFieldTransformsFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4004,17 +3465,18 @@ public Builder clear() { if (fieldTransformsBuilder_ == null) { fieldTransforms_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + fieldTransforms_ = null; fieldTransformsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); return this; } @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 @@ -4033,8 +3495,7 @@ 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); int from_bitField0_ = bitField0_; result.document_ = document_; if (fieldTransformsBuilder_ == null) { @@ -4054,39 +3515,38 @@ public com.google.firestore.v1.DocumentTransform 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.v1.DocumentTransform) { - return mergeFrom((com.google.firestore.v1.DocumentTransform) other); + return mergeFrom((com.google.firestore.v1.DocumentTransform)other); } else { super.mergeFrom(other); return this; @@ -4117,16 +3577,15 @@ public Builder mergeFrom(com.google.firestore.v1.DocumentTransform other) { fieldTransformsBuilder_ = null; fieldTransforms_ = other.fieldTransforms_; bitField0_ = (bitField0_ & ~0x00000001); - fieldTransformsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldTransformsFieldBuilder() - : null; + fieldTransformsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldTransformsFieldBuilder() : null; } else { fieldTransformsBuilder_.addAllMessages(other.fieldTransforms_); } } } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -4141,38 +3600,66 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.DocumentTransform parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + document_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = (com.google.firestore.v1.DocumentTransform) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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; @@ -4181,21 +3668,20 @@ public java.lang.String getDocument() { } } /** - * - * *
      * The name of the document to transform.
      * 
* * string document = 1; - * * @return The bytes for document. */ - public com.google.protobuf.ByteString getDocumentBytes() { + public com.google.protobuf.ByteString + getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); document_ = b; return b; } else { @@ -4203,98 +3689,81 @@ public com.google.protobuf.ByteString getDocumentBytes() { } } /** - * - * *
      * The name of the document to transform.
      * 
* * string document = 1; - * * @param value The document to set. * @return This builder for chaining. */ - public Builder setDocument(java.lang.String value) { + public Builder setDocument( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + document_ = value; onChanged(); return this; } /** - * - * *
      * The name of the document to transform.
      * 
* * string document = 1; - * * @return This builder for chaining. */ public Builder clearDocument() { - + document_ = getDefaultInstance().getDocument(); onChanged(); 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) { + public Builder setDocumentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + document_ = value; onChanged(); 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_ & 0x00000001) != 0)) { - fieldTransforms_ = - new java.util.ArrayList( - fieldTransforms_); + fieldTransforms_ = new java.util.ArrayList(fieldTransforms_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -4302,16 +3771,13 @@ private void ensureFieldTransformsIsMutable() { } } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public int getFieldTransformsCount() { if (fieldTransformsBuilder_ == null) { @@ -4321,16 +3787,13 @@ public int getFieldTransformsCount() { } } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransforms(int index) { if (fieldTransformsBuilder_ == null) { @@ -4340,16 +3803,13 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransfor } } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder setFieldTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -4366,20 +3826,16 @@ public Builder setFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder setFieldTransforms( - int index, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (fieldTransformsBuilder_ == null) { ensureFieldTransformsIsMutable(); fieldTransforms_.set(index, builderForValue.build()); @@ -4390,19 +3846,15 @@ public Builder setFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public Builder addFieldTransforms( - com.google.firestore.v1.DocumentTransform.FieldTransform value) { + public Builder addFieldTransforms(com.google.firestore.v1.DocumentTransform.FieldTransform value) { if (fieldTransformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4416,16 +3868,13 @@ public Builder addFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder addFieldTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -4442,16 +3891,13 @@ public Builder addFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder addFieldTransforms( com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { @@ -4465,20 +3911,16 @@ public Builder addFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder addFieldTransforms( - int index, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (fieldTransformsBuilder_ == null) { ensureFieldTransformsIsMutable(); fieldTransforms_.add(index, builderForValue.build()); @@ -4489,23 +3931,20 @@ public Builder addFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder addAllFieldTransforms( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (fieldTransformsBuilder_ == null) { ensureFieldTransformsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldTransforms_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fieldTransforms_); onChanged(); } else { fieldTransformsBuilder_.addAllMessages(values); @@ -4513,16 +3952,13 @@ public Builder addAllFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder clearFieldTransforms() { if (fieldTransformsBuilder_ == null) { @@ -4535,16 +3971,13 @@ public Builder clearFieldTransforms() { return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder removeFieldTransforms(int index) { if (fieldTransformsBuilder_ == null) { @@ -4557,56 +3990,45 @@ public Builder removeFieldTransforms(int index) { return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder - getFieldTransformsBuilder(int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder getFieldTransformsBuilder( + int index) { return getFieldTransformsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder - getFieldTransformsOrBuilder(int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getFieldTransformsOrBuilder( + int index) { if (fieldTransformsBuilder_ == null) { - return fieldTransforms_.get(index); - } else { + return fieldTransforms_.get(index); } else { return fieldTransformsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public java.util.List< - ? extends com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> - getFieldTransformsOrBuilderList() { + public java.util.List + getFieldTransformsOrBuilderList() { if (fieldTransformsBuilder_ != null) { return fieldTransformsBuilder_.getMessageOrBuilderList(); } else { @@ -4614,69 +4036,51 @@ public Builder removeFieldTransforms(int index) { } } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder - addFieldTransformsBuilder() { - return getFieldTransformsFieldBuilder() - .addBuilder( - com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addFieldTransformsBuilder() { + return getFieldTransformsFieldBuilder().addBuilder( + com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder - addFieldTransformsBuilder(int index) { - return getFieldTransformsFieldBuilder() - .addBuilder( - index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addFieldTransformsBuilder( + int index) { + return getFieldTransformsFieldBuilder().addBuilder( + index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public java.util.List - getFieldTransformsBuilderList() { + public java.util.List + getFieldTransformsBuilderList() { return getFieldTransformsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, - com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> + com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> getFieldTransformsFieldBuilder() { if (fieldTransformsBuilder_ == null) { - fieldTransformsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, - com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>( + fieldTransformsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>( fieldTransforms_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4685,9 +4089,9 @@ public Builder removeFieldTransforms(int index) { } return fieldTransformsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4697,12 +4101,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(); } @@ -4711,16 +4115,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 { - return new DocumentTransform(input, extensionRegistry); - } - }; + 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; @@ -4735,4 +4150,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.DocumentTransform getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java similarity index 66% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java index 455bbc270f..dffa934730 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java @@ -1,117 +1,82 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; -public interface DocumentTransformOrBuilder - extends +public interface DocumentTransformOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentTransform) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the document to transform.
    * 
* * string document = 1; - * * @return The document. */ java.lang.String getDocument(); /** - * - * *
    * The name of the document to transform.
    * 
* * string document = 1; - * * @return The bytes for document. */ - com.google.protobuf.ByteString getDocumentBytes(); + com.google.protobuf.ByteString + getDocumentBytes(); /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - java.util.List getFieldTransformsList(); + java.util.List + getFieldTransformsList(); /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransforms(int index); /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ int getFieldTransformsCount(); /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - java.util.List + java.util.List getFieldTransformsOrBuilderList(); /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getFieldTransformsOrBuilder( int index); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java similarity index 63% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java index bd2953a738..ebe9e7c767 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java @@ -1,130 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; /** - * - * *
  * A digest of all the documents that match a given target.
  * 
* * Protobuf type {@code google.firestore.v1.ExistenceFilter} */ -public final class ExistenceFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExistenceFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ExistenceFilter) ExistenceFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExistenceFilter.newBuilder() to construct. private ExistenceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ExistenceFilter() {} + private ExistenceFilter() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExistenceFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ExistenceFilter( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - targetId_ = input.readInt32(); - break; - } - case 16: - { - count_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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_; /** - * - * *
    * The target ID to which this filter applies.
    * 
* * int32 target_id = 1; - * * @return The targetId. */ @java.lang.Override @@ -135,8 +65,6 @@ public int getTargetId() { public static final int COUNT_FIELD_NUMBER = 2; private int count_; /** - * - * *
    * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
    * If different from the count of documents in the client that match, the
@@ -144,7 +72,6 @@ public int getTargetId() {
    * 
* * int32 count = 2; - * * @return The count. */ @java.lang.Override @@ -153,7 +80,6 @@ public int getCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,14 +91,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 (targetId_ != 0) { output.writeInt32(1, targetId_); } if (count_ != 0) { output.writeInt32(2, count_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -182,12 +109,14 @@ public int getSerializedSize() { size = 0; if (targetId_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, targetId_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, targetId_); } if (count_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, count_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, count_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -195,16 +124,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 (!unknownFields.equals(other.unknownFields)) return false; + if (getTargetId() + != other.getTargetId()) return false; + if (getCount() + != other.getCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -219,148 +150,135 @@ public int hashCode() { hash = (53 * hash) + getTargetId(); hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + getCount(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +290,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_ExistenceFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_descriptor; } @java.lang.Override @@ -393,8 +311,7 @@ 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); + com.google.firestore.v1.ExistenceFilter result = new com.google.firestore.v1.ExistenceFilter(this); result.targetId_ = targetId_; result.count_ = count_; onBuilt(); @@ -405,39 +322,38 @@ public com.google.firestore.v1.ExistenceFilter 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.v1.ExistenceFilter) { - return mergeFrom((com.google.firestore.v1.ExistenceFilter) other); + return mergeFrom((com.google.firestore.v1.ExistenceFilter)other); } else { super.mergeFrom(other); return this; @@ -452,7 +368,7 @@ public Builder mergeFrom(com.google.firestore.v1.ExistenceFilter other) { if (other.getCount() != 0) { setCount(other.getCount()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -467,30 +383,50 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.ExistenceFilter parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + targetId_ = input.readInt32(); + + break; + } // case 8 + case 16: { + count_ = input.readInt32(); + + 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) { - parsedMessage = (com.google.firestore.v1.ExistenceFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } - private int targetId_; + private int targetId_ ; /** - * - * *
      * The target ID to which this filter applies.
      * 
* * int32 target_id = 1; - * * @return The targetId. */ @java.lang.Override @@ -498,45 +434,37 @@ public int getTargetId() { return targetId_; } /** - * - * *
      * The target ID to which this filter applies.
      * 
* * int32 target_id = 1; - * * @param value The targetId to set. * @return This builder for chaining. */ public Builder setTargetId(int value) { - + targetId_ = value; onChanged(); return this; } /** - * - * *
      * The target ID to which this filter applies.
      * 
* * int32 target_id = 1; - * * @return This builder for chaining. */ public Builder clearTargetId() { - + targetId_ = 0; onChanged(); return this; } - private int count_; + private int count_ ; /** - * - * *
      * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
      * If different from the count of documents in the client that match, the
@@ -544,7 +472,6 @@ public Builder clearTargetId() {
      * 
* * int32 count = 2; - * * @return The count. */ @java.lang.Override @@ -552,8 +479,6 @@ public int getCount() { return count_; } /** - * - * *
      * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
      * If different from the count of documents in the client that match, the
@@ -561,19 +486,16 @@ public int getCount() {
      * 
* * int32 count = 2; - * * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { - + count_ = value; onChanged(); return this; } /** - * - * *
      * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
      * If different from the count of documents in the client that match, the
@@ -581,18 +503,17 @@ public Builder setCount(int value) {
      * 
* * int32 count = 2; - * * @return This builder for chaining. */ public Builder clearCount() { - + count_ = 0; 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); } @@ -602,12 +523,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(); } @@ -616,16 +537,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 { - return new ExistenceFilter(input, extensionRegistry); - } - }; + 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; @@ -640,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ExistenceFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java similarity index 54% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java index 6d0ce82393..6a5d3505cc 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java @@ -1,44 +1,23 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; -public interface ExistenceFilterOrBuilder - extends +public interface ExistenceFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ExistenceFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The target ID to which this filter applies.
    * 
* * int32 target_id = 1; - * * @return The targetId. */ int getTargetId(); /** - * - * *
    * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
    * If different from the count of documents in the client that match, the
@@ -46,7 +25,6 @@ public interface ExistenceFilterOrBuilder
    * 
* * int32 count = 2; - * * @return The count. */ int getCount(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java new file mode 100644 index 0000000000..b56ab5b6af --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java @@ -0,0 +1,678 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public final class FirestoreProto { + private FirestoreProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_GetDocumentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListDocumentsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CreateDocumentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BeginTransactionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BeginTransactionResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CommitRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CommitResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RollbackRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunQueryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunQueryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_PartitionQueryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_PartitionQueryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_TargetChange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_TargetChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchWriteRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchWriteResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n#google/firestore/v1/firestore.proto\022\023g" + + "oogle.firestore.v1\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032\037googl" + + "e/api/field_behavior.proto\032,google/fires" + + "tore/v1/aggregation_result.proto\032 google" + + "/firestore/v1/common.proto\032\"google/fires" + + "tore/v1/document.proto\032\037google/firestore" + + "/v1/query.proto\032\037google/firestore/v1/wri" + + "te.proto\032\033google/protobuf/empty.proto\032\037g" + + "oogle/protobuf/timestamp.proto\032\027google/r" + + "pc/status.proto\"\270\001\n\022GetDocumentRequest\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\002\022/\n\004mask\030\002 \001(\0132!.google" + + ".firestore.v1.DocumentMask\022\025\n\013transactio" + + "n\030\003 \001(\014H\000\022/\n\tread_time\030\005 \001(\0132\032.google.pr" + + "otobuf.TimestampH\000B\026\n\024consistency_select" + + "or\"\247\002\n\024ListDocumentsRequest\022\023\n\006parent\030\001 " + + "\001(\tB\003\340A\002\022\032\n\rcollection_id\030\002 \001(\tB\003\340A\002\022\021\n\t" + + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n\010o" + + "rder_by\030\006 \001(\t\022/\n\004mask\030\007 \001(\0132!.google.fir" + + "estore.v1.DocumentMask\022\025\n\013transaction\030\010 " + + "\001(\014H\000\022/\n\tread_time\030\n \001(\0132\032.google.protob" + + "uf.TimestampH\000\022\024\n\014show_missing\030\014 \001(\010B\026\n\024" + + "consistency_selector\"b\n\025ListDocumentsRes" + + "ponse\0220\n\tdocuments\030\001 \003(\0132\035.google.firest" + + "ore.v1.Document\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\304\001\n\025CreateDocumentRequest\022\023\n\006parent\030\001 \001" + + "(\tB\003\340A\002\022\032\n\rcollection_id\030\002 \001(\tB\003\340A\002\022\023\n\013d" + + "ocument_id\030\003 \001(\t\0224\n\010document\030\004 \001(\0132\035.goo" + + "gle.firestore.v1.DocumentB\003\340A\002\022/\n\004mask\030\005" + + " \001(\0132!.google.firestore.v1.DocumentMask\"" + + "\363\001\n\025UpdateDocumentRequest\0224\n\010document\030\001 " + + "\001(\0132\035.google.firestore.v1.DocumentB\003\340A\002\022" + + "6\n\013update_mask\030\002 \001(\0132!.google.firestore." + + "v1.DocumentMask\022/\n\004mask\030\003 \001(\0132!.google.f" + + "irestore.v1.DocumentMask\022;\n\020current_docu" + + "ment\030\004 \001(\0132!.google.firestore.v1.Precond" + + "ition\"g\n\025DeleteDocumentRequest\022\021\n\004name\030\001" + + " \001(\tB\003\340A\002\022;\n\020current_document\030\002 \001(\0132!.go" + + "ogle.firestore.v1.Precondition\"\231\002\n\030Batch" + + "GetDocumentsRequest\022\025\n\010database\030\001 \001(\tB\003\340" + + "A\002\022\021\n\tdocuments\030\002 \003(\t\022/\n\004mask\030\003 \001(\0132!.go" + + "ogle.firestore.v1.DocumentMask\022\025\n\013transa" + + "ction\030\004 \001(\014H\000\022B\n\017new_transaction\030\005 \001(\0132\'" + + ".google.firestore.v1.TransactionOptionsH" + + "\000\022/\n\tread_time\030\007 \001(\0132\032.google.protobuf.T" + + "imestampH\000B\026\n\024consistency_selector\"\254\001\n\031B" + + "atchGetDocumentsResponse\022.\n\005found\030\001 \001(\0132" + + "\035.google.firestore.v1.DocumentH\000\022\021\n\007miss" + + "ing\030\002 \001(\tH\000\022\023\n\013transaction\030\003 \001(\014\022-\n\tread" + + "_time\030\004 \001(\0132\032.google.protobuf.TimestampB" + + "\010\n\006result\"j\n\027BeginTransactionRequest\022\025\n\010" + + "database\030\001 \001(\tB\003\340A\002\0228\n\007options\030\002 \001(\0132\'.g" + + "oogle.firestore.v1.TransactionOptions\"/\n" + + "\030BeginTransactionResponse\022\023\n\013transaction" + + "\030\001 \001(\014\"g\n\rCommitRequest\022\025\n\010database\030\001 \001(" + + "\tB\003\340A\002\022*\n\006writes\030\002 \003(\0132\032.google.firestor" + + "e.v1.Write\022\023\n\013transaction\030\003 \001(\014\"z\n\016Commi" + + "tResponse\0227\n\rwrite_results\030\001 \003(\0132 .googl" + + "e.firestore.v1.WriteResult\022/\n\013commit_tim" + + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\"B\n\017R" + + "ollbackRequest\022\025\n\010database\030\001 \001(\tB\003\340A\002\022\030\n" + + "\013transaction\030\002 \001(\014B\003\340A\002\"\232\002\n\017RunQueryRequ" + + "est\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022@\n\020structured_q" + + "uery\030\002 \001(\0132$.google.firestore.v1.Structu" + + "redQueryH\000\022\025\n\013transaction\030\005 \001(\014H\001\022B\n\017new" + + "_transaction\030\006 \001(\0132\'.google.firestore.v1" + + ".TransactionOptionsH\001\022/\n\tread_time\030\007 \001(\013" + + "2\032.google.protobuf.TimestampH\001B\014\n\nquery_" + + "typeB\026\n\024consistency_selector\"\311\001\n\020RunQuer" + + "yResponse\022\023\n\013transaction\030\002 \001(\014\022/\n\010docume" + + "nt\030\001 \001(\0132\035.google.firestore.v1.Document\022" + + "-\n\tread_time\030\003 \001(\0132\032.google.protobuf.Tim" + + "estamp\022\027\n\017skipped_results\030\004 \001(\005\022\016\n\004done\030" + + "\006 \001(\010H\000B\027\n\025continuation_selector\"\274\002\n\032Run" + + "AggregationQueryRequest\022\023\n\006parent\030\001 \001(\tB" + + "\003\340A\002\022W\n\034structured_aggregation_query\030\002 \001" + + "(\0132/.google.firestore.v1.StructuredAggre" + + "gationQueryH\000\022\025\n\013transaction\030\004 \001(\014H\001\022B\n\017" + + "new_transaction\030\005 \001(\0132\'.google.firestore" + + ".v1.TransactionOptionsH\001\022/\n\tread_time\030\006 " + + "\001(\0132\032.google.protobuf.TimestampH\001B\014\n\nque" + + "ry_typeB\026\n\024consistency_selector\"\231\001\n\033RunA" + + "ggregationQueryResponse\0226\n\006result\030\001 \001(\0132" + + "&.google.firestore.v1.AggregationResult\022" + + "\023\n\013transaction\030\002 \001(\014\022-\n\tread_time\030\003 \001(\0132" + + "\032.google.protobuf.Timestamp\"\205\002\n\025Partitio" + + "nQueryRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022@\n\020st" + + "ructured_query\030\002 \001(\0132$.google.firestore." + + "v1.StructuredQueryH\000\022\027\n\017partition_count\030" + + "\003 \001(\003\022\022\n\npage_token\030\004 \001(\t\022\021\n\tpage_size\030\005" + + " \001(\005\022/\n\tread_time\030\006 \001(\0132\032.google.protobu" + + "f.TimestampH\001B\014\n\nquery_typeB\026\n\024consisten" + + "cy_selector\"b\n\026PartitionQueryResponse\022/\n" + + "\npartitions\030\001 \003(\0132\033.google.firestore.v1." + + "Cursor\022\027\n\017next_page_token\030\002 \001(\t\"\350\001\n\014Writ" + + "eRequest\022\025\n\010database\030\001 \001(\tB\003\340A\002\022\021\n\tstrea" + + "m_id\030\002 \001(\t\022*\n\006writes\030\003 \003(\0132\032.google.fire" + + "store.v1.Write\022\024\n\014stream_token\030\004 \001(\014\022=\n\006" + + "labels\030\005 \003(\0132-.google.firestore.v1.Write" + + "Request.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\242\001\n\rWriteResp" + + "onse\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.fi" + + "restore.v1.WriteResult\022/\n\013commit_time\030\004 " + + "\001(\0132\032.google.protobuf.Timestamp\"\362\001\n\rList" + + "enRequest\022\025\n\010database\030\001 \001(\tB\003\340A\002\0221\n\nadd_" + + "target\030\002 \001(\0132\033.google.firestore.v1.Targe" + + "tH\000\022\027\n\rremove_target\030\003 \001(\005H\000\022>\n\006labels\030\004" + + " \003(\0132..google.firestore.v1.ListenRequest" + + ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001B\017\n\rtarget_change\"\325\002\n" + + "\016ListenResponse\022:\n\rtarget_change\030\002 \001(\0132!" + + ".google.firestore.v1.TargetChangeH\000\022>\n\017d" + + "ocument_change\030\003 \001(\0132#.google.firestore." + + "v1.DocumentChangeH\000\022>\n\017document_delete\030\004" + + " \001(\0132#.google.firestore.v1.DocumentDelet" + + "eH\000\022>\n\017document_remove\030\006 \001(\0132#.google.fi" + + "restore.v1.DocumentRemoveH\000\0226\n\006filter\030\005 " + + "\001(\0132$.google.firestore.v1.ExistenceFilte" + + "rH\000B\017\n\rresponse_type\"\241\003\n\006Target\0228\n\005query" + + "\030\002 \001(\0132\'.google.firestore.v1.Target.Quer" + + "yTargetH\000\022@\n\tdocuments\030\003 \001(\0132+.google.fi" + + "restore.v1.Target.DocumentsTargetH\000\022\026\n\014r" + + "esume_token\030\004 \001(\014H\001\022/\n\tread_time\030\013 \001(\0132\032" + + ".google.protobuf.TimestampH\001\022\021\n\ttarget_i" + + "d\030\005 \001(\005\022\014\n\004once\030\006 \001(\010\032$\n\017DocumentsTarget" + + "\022\021\n\tdocuments\030\002 \003(\t\032m\n\013QueryTarget\022\016\n\006pa" + + "rent\030\001 \001(\t\022@\n\020structured_query\030\002 \001(\0132$.g" + + "oogle.firestore.v1.StructuredQueryH\000B\014\n\n" + + "query_typeB\r\n\013target_typeB\r\n\013resume_type" + + "\"\252\002\n\014TargetChange\022N\n\022target_change_type\030" + + "\001 \001(\01622.google.firestore.v1.TargetChange" + + ".TargetChangeType\022\022\n\ntarget_ids\030\002 \003(\005\022!\n" + + "\005cause\030\003 \001(\0132\022.google.rpc.Status\022\024\n\014resu" + + "me_token\030\004 \001(\014\022-\n\tread_time\030\006 \001(\0132\032.goog" + + "le.protobuf.Timestamp\"N\n\020TargetChangeTyp" + + "e\022\r\n\tNO_CHANGE\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\022\013\n" + + "\007CURRENT\020\003\022\t\n\005RESET\020\004\"\237\001\n\030ListCollection" + + "IdsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_" + + "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/\n\tread_t" + + "ime\030\004 \001(\0132\032.google.protobuf.TimestampH\000B" + + "\026\n\024consistency_selector\"L\n\031ListCollectio" + + "nIdsResponse\022\026\n\016collection_ids\030\001 \003(\t\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\311\001\n\021BatchWriteRequ" + + "est\022\025\n\010database\030\001 \001(\tB\003\340A\002\022*\n\006writes\030\002 \003" + + "(\0132\032.google.firestore.v1.Write\022B\n\006labels" + + "\030\003 \003(\01322.google.firestore.v1.BatchWriteR" + + "equest.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"q\n\022BatchWriteR" + + "esponse\0227\n\rwrite_results\030\001 \003(\0132 .google." + + "firestore.v1.WriteResult\022\"\n\006status\030\002 \003(\013" + + "2\022.google.rpc.Status2\332\031\n\tFirestore\022\217\001\n\013G" + + "etDocument\022\'.google.firestore.v1.GetDocu" + + "mentRequest\032\035.google.firestore.v1.Docume" + + "nt\"8\202\323\344\223\0022\0220/v1/{name=projects/*/databas" + + "es/*/documents/*/**}\022\365\001\n\rListDocuments\022)" + + ".google.firestore.v1.ListDocumentsReques" + + "t\032*.google.firestore.v1.ListDocumentsRes" + + "ponse\"\214\001\202\323\344\223\002\205\001\022B/v1/{parent=projects/*/" + + "databases/*/documents/*/**}/{collection_" + + "id}Z?\022=/v1/{parent=projects/*/databases/" + + "*/documents}/{collection_id}\022\277\001\n\016UpdateD" + + "ocument\022*.google.firestore.v1.UpdateDocu" + + "mentRequest\032\035.google.firestore.v1.Docume" + + "nt\"b\202\323\344\223\002E29/v1/{document.name=projects/" + + "*/databases/*/documents/*/**}:\010document\332" + + "A\024document,update_mask\022\225\001\n\016DeleteDocumen" + + "t\022*.google.firestore.v1.DeleteDocumentRe" + + "quest\032\026.google.protobuf.Empty\"?\202\323\344\223\0022*0/" + + "v1/{name=projects/*/databases/*/document" + + "s/*/**}\332A\004name\022\271\001\n\021BatchGetDocuments\022-.g" + + "oogle.firestore.v1.BatchGetDocumentsRequ" + + "est\032..google.firestore.v1.BatchGetDocume" + + "ntsResponse\"C\202\323\344\223\002=\"8/v1/{database=proje" + + "cts/*/databases/*}/documents:batchGet:\001*" + + "0\001\022\307\001\n\020BeginTransaction\022,.google.firesto" + + "re.v1.BeginTransactionRequest\032-.google.f" + + "irestore.v1.BeginTransactionResponse\"V\202\323" + + "\344\223\002E\"@/v1/{database=projects/*/databases" + + "/*}/documents:beginTransaction:\001*\332A\010data" + + "base\022\246\001\n\006Commit\022\".google.firestore.v1.Co" + + "mmitRequest\032#.google.firestore.v1.Commit" + + "Response\"S\202\323\344\223\002;\"6/v1/{database=projects" + + "/*/databases/*}/documents:commit:\001*\332A\017da" + + "tabase,writes\022\244\001\n\010Rollback\022$.google.fire" + + "store.v1.RollbackRequest\032\026.google.protob" + + "uf.Empty\"Z\202\323\344\223\002=\"8/v1/{database=projects" + + "/*/databases/*}/documents:rollback:\001*\332A\024" + + "database,transaction\022\337\001\n\010RunQuery\022$.goog" + + "le.firestore.v1.RunQueryRequest\032%.google" + + ".firestore.v1.RunQueryResponse\"\203\001\202\323\344\223\002}\"" + + "6/v1/{parent=projects/*/databases/*/docu" + + "ments}:runQuery:\001*Z@\";/v1/{parent=projec" + + "ts/*/databases/*/documents/*/**}:runQuer" + + "y:\001*0\001\022\227\002\n\023RunAggregationQuery\022/.google." + + "firestore.v1.RunAggregationQueryRequest\032" + + "0.google.firestore.v1.RunAggregationQuer" + + "yResponse\"\232\001\202\323\344\223\002\223\001\"A/v1/{parent=project" + + "s/*/databases/*/documents}:runAggregatio" + + "nQuery:\001*ZK\"F/v1/{parent=projects/*/data" + + "bases/*/documents/*/**}:runAggregationQu" + + "ery:\001*0\001\022\374\001\n\016PartitionQuery\022*.google.fir" + + "estore.v1.PartitionQueryRequest\032+.google" + + ".firestore.v1.PartitionQueryResponse\"\220\001\202" + + "\323\344\223\002\211\001\" * The request for [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument]. *
* * Protobuf type {@code google.firestore.v1.GetDocumentRequest} */ -public final class GetDocumentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDocumentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.GetDocumentRequest) GetDocumentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDocumentRequest.newBuilder() to construct. private GetDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDocumentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDocumentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private GetDocumentRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - com.google.firestore.v1.DocumentMask.Builder subBuilder = null; - if (mask_ != null) { - subBuilder = mask_.toBuilder(); - } - mask_ = - input.readMessage( - com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(mask_); - mask_ = subBuilder.buildPartial(); - } - - break; - } - case 26: - { - consistencySelector_ = input.readBytes(); - consistencySelectorCase_ = 3; - break; - } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (consistencySelectorCase_ == 5) { - subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder(); - } - consistencySelector_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_); - consistencySelector_ = subBuilder.buildPartial(); - } - consistencySelectorCase_ = 5; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_GetDocumentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.GetDocumentRequest.class, - com.google.firestore.v1.GetDocumentRequest.Builder.class); + com.google.firestore.v1.GetDocumentRequest.class, com.google.firestore.v1.GetDocumentRequest.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - public enum ConsistencySelectorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(3), READ_TIME(5), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; - private ConsistencySelectorCase(int value) { this.value = value; } @@ -177,38 +72,32 @@ 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; 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 @@ -217,30 +106,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 { @@ -251,8 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int MASK_FIELD_NUMBER = 2; private com.google.firestore.v1.DocumentMask mask_; /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -260,7 +147,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.firestore.v1.DocumentMask mask = 2; - * * @return Whether the mask field is set. */ @java.lang.Override @@ -268,8 +154,6 @@ public boolean hasMask() { return mask_ != null; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -277,7 +161,6 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 2; - * * @return The mask. */ @java.lang.Override @@ -285,8 +168,6 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -302,14 +183,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
 
   public static final int TRANSACTION_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -317,14 +195,11 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 3; } /** - * - * *
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; - * * @return The transaction. */ @java.lang.Override @@ -337,15 +212,12 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 5; /** - * - * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -353,27 +225,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 5; } /** - * - * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 5) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
@@ -384,13 +251,12 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 5) {
-      return (com.google.protobuf.Timestamp) consistencySelector_;
+       return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -402,7 +268,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -410,12 +277,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       output.writeMessage(2, getMask());
     }
     if (consistencySelectorCase_ == 3) {
-      output.writeBytes(3, (com.google.protobuf.ByteString) consistencySelector_);
+      output.writeBytes(
+          3, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
       output.writeMessage(5, (com.google.protobuf.Timestamp) consistencySelector_);
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -428,19 +296,19 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -448,31 +316,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.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:
     }
-    if (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -501,148 +372,135 @@ public int hashCode() {
       case 0:
       default:
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -654,15 +512,18 @@ public Builder clear() { mask_ = null; maskBuilder_ = null; } + if (readTimeBuilder_ != null) { + readTimeBuilder_.clear(); + } consistencySelectorCase_ = 0; consistencySelector_ = null; return this; } @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 @@ -681,8 +542,7 @@ 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); + com.google.firestore.v1.GetDocumentRequest result = new com.google.firestore.v1.GetDocumentRequest(this); result.name_ = name_; if (maskBuilder_ == null) { result.mask_ = mask_; @@ -708,39 +568,38 @@ public com.google.firestore.v1.GetDocumentRequest 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.v1.GetDocumentRequest) { - return mergeFrom((com.google.firestore.v1.GetDocumentRequest) other); + return mergeFrom((com.google.firestore.v1.GetDocumentRequest)other); } else { super.mergeFrom(other); return this; @@ -757,22 +616,19 @@ 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -787,25 +643,62 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.GetDocumentRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getMaskFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = (com.google.firestore.v1.GetDocumentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -815,23 +708,22 @@ public Builder clearConsistencySelector() { return this; } + 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; @@ -840,22 +732,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the Document to get. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -863,64 +754,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the Document to get. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -928,13 +812,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder> - maskBuilder_; + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -942,15 +821,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.firestore.v1.DocumentMask mask = 2; - * * @return Whether the mask field is set. */ public boolean hasMask() { return maskBuilder_ != null || mask_ != null; } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -958,7 +834,6 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 2; - * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -969,8 +844,6 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -993,8 +866,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1003,7 +874,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 2;
      */
-    public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setMask(
+        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (maskBuilder_ == null) {
         mask_ = builderForValue.build();
         onChanged();
@@ -1014,8 +886,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1028,9 +898,7 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
         if (mask_ != null) {
           mask_ =
-              com.google.firestore.v1.DocumentMask.newBuilder(mask_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.v1.DocumentMask.newBuilder(mask_).mergeFrom(value).buildPartial();
         } else {
           mask_ = value;
         }
@@ -1042,8 +910,6 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1064,8 +930,6 @@ public Builder clearMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1075,13 +939,11 @@ public Builder clearMask() {
      * .google.firestore.v1.DocumentMask mask = 2;
      */
     public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
-
+      
       onChanged();
       return getMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1094,12 +956,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ?
+            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1109,45 +970,36 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
         getMaskFieldBuilder() {
       if (maskBuilder_ == null) {
-        maskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.DocumentMask,
-                com.google.firestore.v1.DocumentMask.Builder,
-                com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getMask(), getParentForChildren(), isClean());
+        maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getMask(),
+                getParentForChildren(),
+                isClean());
         mask_ = null;
       }
       return maskBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * Reads the document in a transaction.
      * 
* * bytes transaction = 3; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 3; } /** - * - * *
      * Reads the document in a transaction.
      * 
* * bytes transaction = 3; - * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1157,35 +1009,29 @@ 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(); - } - consistencySelectorCase_ = 3; + 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() { @@ -1198,20 +1044,14 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1219,15 +1059,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 5; } /** - * - * *
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return The readTime. */ @java.lang.Override @@ -1245,8 +1082,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1268,8 +1103,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1277,7 +1110,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 5;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1288,8 +1122,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1299,13 +1131,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 5
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 5 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1321,8 +1150,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1347,8 +1174,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1360,8 +1185,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1381,8 +1204,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1391,32 +1212,26 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 5;
-      onChanged();
-      ;
+      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);
     }
 
@@ -1426,12 +1241,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();
   }
@@ -1440,16 +1255,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 {
-          return new GetDocumentRequest(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1464,4 +1290,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.GetDocumentRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
similarity index 78%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
index 83a820a3f3..df242cec9f 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
@@ -1,58 +1,35 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface GetDocumentRequestOrBuilder
-    extends
+public interface GetDocumentRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.GetDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The resource name of the Document to get. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the Document to get. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -60,13 +37,10 @@ public interface GetDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 2; - * * @return Whether the mask field is set. */ boolean hasMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -74,13 +48,10 @@ public interface GetDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 2; - * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -92,59 +63,45 @@ public interface GetDocumentRequestOrBuilder
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
@@ -154,6 +111,5 @@ public interface GetDocumentRequestOrBuilder
    */
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-  public com.google.firestore.v1.GetDocumentRequest.ConsistencySelectorCase
-      getConsistencySelectorCase();
+  public com.google.firestore.v1.GetDocumentRequest.ConsistencySelectorCase getConsistencySelectorCase();
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
similarity index 69%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
index d783df6e4b..1ce6d2e245 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The request for [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
  * 
* * 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_ = ""; @@ -44,114 +26,37 @@ private ListCollectionIdsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCollectionIdsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ListCollectionIdsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (consistencySelectorCase_ == 4) { - subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder(); - } - consistencySelector_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_); - consistencySelector_ = subBuilder.buildPartial(); - } - consistencySelectorCase_ = 4; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListCollectionIdsRequest.class, - com.google.firestore.v1.ListCollectionIdsRequest.Builder.class); + com.google.firestore.v1.ListCollectionIdsRequest.class, com.google.firestore.v1.ListCollectionIdsRequest.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - public enum ConsistencySelectorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_TIME(4), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; - private ConsistencySelectorCase(int value) { this.value = value; } @@ -167,29 +72,25 @@ 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -198,7 +99,6 @@ public ConsistencySelectorCase getConsistencySelectorCase() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -207,15 +107,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -224,15 +123,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -243,14 +143,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -261,15 +158,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -278,30 +172,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 { @@ -311,15 +205,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int READ_TIME_FIELD_NUMBER = 4; /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -327,27 +218,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 4; } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 4) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -358,13 +244,12 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 4) {
-      return (com.google.protobuf.Timestamp) consistencySelector_;
+       return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -376,7 +261,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -389,7 +275,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (consistencySelectorCase_ == 4) {
       output.writeMessage(4, (com.google.protobuf.Timestamp) consistencySelector_);
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -402,17 +288,17 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -420,26 +306,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.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:
     }
-    if (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -464,148 +353,135 @@ public int hashCode() {
       case 0:
       default:
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -615,15 +491,18 @@ public Builder clear() { pageToken_ = ""; + if (readTimeBuilder_ != null) { + readTimeBuilder_.clear(); + } consistencySelectorCase_ = 0; consistencySelector_ = null; return this; } @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 @@ -642,8 +521,7 @@ 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); + com.google.firestore.v1.ListCollectionIdsRequest result = new com.google.firestore.v1.ListCollectionIdsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -663,39 +541,38 @@ public com.google.firestore.v1.ListCollectionIdsRequest 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.v1.ListCollectionIdsRequest) { - return mergeFrom((com.google.firestore.v1.ListCollectionIdsRequest) other); + return mergeFrom((com.google.firestore.v1.ListCollectionIdsRequest)other); } else { super.mergeFrom(other); return this; @@ -703,8 +580,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.ListCollectionIdsRequest other) { - if (other == com.google.firestore.v1.ListCollectionIdsRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.ListCollectionIdsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -717,17 +593,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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -742,25 +616,60 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.ListCollectionIdsRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = (com.google.firestore.v1.ListCollectionIdsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -770,10 +679,9 @@ public Builder clearConsistencySelector() { return this; } + private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -782,13 +690,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; @@ -797,8 +705,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -807,14 +713,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -822,8 +729,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -832,22 +737,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -856,18 +759,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -876,31 +776,28 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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 @@ -908,36 +805,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -945,21 +836,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token. Must be a value from
      * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -968,22 +857,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token. Must be a value from
      * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -991,84 +879,71 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token. Must be a value from
      * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } 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 @@ -1076,15 +951,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 4; } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override @@ -1102,8 +974,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1125,8 +995,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1134,7 +1002,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 4;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1145,8 +1014,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1156,13 +1023,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 4
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 4 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1178,8 +1042,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1204,8 +1066,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1217,8 +1077,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1238,8 +1096,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1248,32 +1104,26 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 4;
-      onChanged();
-      ;
+      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);
     }
 
@@ -1283,12 +1133,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();
   }
@@ -1297,16 +1147,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 {
-          return new ListCollectionIdsRequest(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1321,4 +1182,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.ListCollectionIdsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
similarity index 73%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
index 7a09c09957..1262f1e47f 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface ListCollectionIdsRequestOrBuilder
-    extends
+public interface ListCollectionIdsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListCollectionIdsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -34,13 +16,10 @@ public interface ListCollectionIdsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -49,80 +28,64 @@ public interface ListCollectionIdsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token. Must be a value from
    * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token. Must be a value from
    * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -132,6 +95,5 @@ public interface ListCollectionIdsRequestOrBuilder
    */
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-  public com.google.firestore.v1.ListCollectionIdsRequest.ConsistencySelectorCase
-      getConsistencySelectorCase();
+  public com.google.firestore.v1.ListCollectionIdsRequest.ConsistencySelectorCase getConsistencySelectorCase();
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
similarity index 65%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
index f2b34fed9d..500acac4cb 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The response from [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
  * 
* * Protobuf type {@code google.firestore.v1.ListCollectionIdsResponse} */ -public final class ListCollectionIdsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCollectionIdsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ListCollectionIdsResponse) ListCollectionIdsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCollectionIdsResponse.newBuilder() to construct. private ListCollectionIdsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCollectionIdsResponse() { collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; nextPageToken_ = ""; @@ -44,129 +26,60 @@ private ListCollectionIdsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCollectionIdsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ListCollectionIdsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - collectionIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - collectionIds_.add(s); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - collectionIds_ = collectionIds_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private com.google.protobuf.LazyStringList collectionIds_; /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_; } /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -174,32 +87,27 @@ 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; 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 @@ -208,29 +116,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 { @@ -239,7 +147,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,14 +158,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 { for (int i = 0; i < collectionIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, collectionIds_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -278,7 +186,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -286,17 +194,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.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 (!unknownFields.equals(other.unknownFields)) 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; } @@ -313,148 +222,135 @@ public int hashCode() { } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -466,9 +362,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; } @java.lang.Override @@ -487,8 +383,7 @@ public com.google.firestore.v1.ListCollectionIdsResponse build() { @java.lang.Override public com.google.firestore.v1.ListCollectionIdsResponse buildPartial() { - com.google.firestore.v1.ListCollectionIdsResponse result = - new com.google.firestore.v1.ListCollectionIdsResponse(this); + com.google.firestore.v1.ListCollectionIdsResponse result = new com.google.firestore.v1.ListCollectionIdsResponse(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { collectionIds_ = collectionIds_.getUnmodifiableView(); @@ -504,39 +399,38 @@ public com.google.firestore.v1.ListCollectionIdsResponse 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.v1.ListCollectionIdsResponse) { - return mergeFrom((com.google.firestore.v1.ListCollectionIdsResponse) other); + return mergeFrom((com.google.firestore.v1.ListCollectionIdsResponse)other); } else { super.mergeFrom(other); return this; @@ -544,8 +438,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.ListCollectionIdsResponse other) { - if (other == com.google.firestore.v1.ListCollectionIdsResponse.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.ListCollectionIdsResponse.getDefaultInstance()) return this; if (!other.collectionIds_.isEmpty()) { if (collectionIds_.isEmpty()) { collectionIds_ = other.collectionIds_; @@ -560,7 +453,7 @@ public Builder mergeFrom(com.google.firestore.v1.ListCollectionIdsResponse other nextPageToken_ = other.nextPageToken_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -575,69 +468,81 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.ListCollectionIdsResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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(); + + 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) { - parsedMessage = - (com.google.firestore.v1.ListCollectionIdsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList collectionIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -645,90 +550,80 @@ 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) { + public Builder setCollectionIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds(java.lang.String value) { + public Builder addCollectionIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds(java.lang.Iterable values) { + public Builder addAllCollectionIds( + java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, collectionIds_); onChanged(); return this; } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -738,22 +633,20 @@ public Builder clearCollectionIds() { return this; } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { + public Builder addCollectionIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); @@ -762,20 +655,18 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A page token that may be used to continue the list.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -784,21 +675,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A page token that may be used to continue the list.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -806,68 +696,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A page token that may be used to continue the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -877,12 +760,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(); } @@ -891,16 +774,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 { - return new ListCollectionIdsResponse(input, extensionRegistry); - } - }; + 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; @@ -915,4 +809,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.firestore.v1.ListCollectionIdsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java similarity index 62% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java index 42dc747825..53f354b702 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java @@ -1,101 +1,70 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface ListCollectionIdsResponseOrBuilder - extends +public interface ListCollectionIdsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListCollectionIdsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @return A list containing the collectionIds. */ - java.util.List getCollectionIdsList(); + java.util.List + getCollectionIdsList(); /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString getCollectionIdsBytes(int index); + com.google.protobuf.ByteString + getCollectionIdsBytes(int index); /** - * - * *
    * A page token that may be used to continue the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A page token that may be used to continue the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java similarity index 73% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java index 3071fdfc27..e5e24e92ff 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
  * 
* * 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_ = ""; @@ -46,156 +28,38 @@ private ListDocumentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDocumentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ListDocumentsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - collectionId_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - - orderBy_ = s; - break; - } - case 58: - { - com.google.firestore.v1.DocumentMask.Builder subBuilder = null; - if (mask_ != null) { - subBuilder = mask_.toBuilder(); - } - mask_ = - input.readMessage( - com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(mask_); - mask_ = subBuilder.buildPartial(); - } - - break; - } - case 66: - { - consistencySelector_ = input.readBytes(); - consistencySelectorCase_ = 8; - break; - } - case 82: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (consistencySelectorCase_ == 10) { - subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder(); - } - consistencySelector_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_); - consistencySelector_ = subBuilder.buildPartial(); - } - consistencySelectorCase_ = 10; - break; - } - case 96: - { - showMissing_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListDocumentsRequest.class, - com.google.firestore.v1.ListDocumentsRequest.Builder.class); + com.google.firestore.v1.ListDocumentsRequest.class, com.google.firestore.v1.ListDocumentsRequest.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - public enum ConsistencySelectorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(8), READ_TIME(10), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; - private ConsistencySelectorCase(int value) { this.value = value; } @@ -211,31 +75,26 @@ 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -246,7 +105,6 @@ public ConsistencySelectorCase getConsistencySelectorCase() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -255,15 +113,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -274,15 +131,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -293,15 +151,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int COLLECTION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object collectionId_; /** - * - * *
    * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
    * or `messages`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The collectionId. */ @java.lang.Override @@ -310,30 +165,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`
    * or `messages`.
    * 
* * 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 { @@ -344,14 +199,11 @@ public com.google.protobuf.ByteString getCollectionIdBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of documents to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -362,14 +214,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * The `next_page_token` value returned from a previous List request, if any.
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -378,29 +227,29 @@ 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 List request, if any.
    * 
* * 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 { @@ -411,14 +260,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 6; private volatile java.lang.Object orderBy_; /** - * - * *
    * The order to sort results by. For example: `priority desc, name`.
    * 
* * string order_by = 6; - * * @return The orderBy. */ @java.lang.Override @@ -427,29 +273,29 @@ 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; } } /** - * - * *
    * The order to sort results by. For example: `priority desc, name`.
    * 
* * string order_by = 6; - * * @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 { @@ -460,8 +306,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int MASK_FIELD_NUMBER = 7; private com.google.firestore.v1.DocumentMask mask_; /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
@@ -469,7 +313,6 @@ public com.google.protobuf.ByteString getOrderByBytes() {
    * 
* * .google.firestore.v1.DocumentMask mask = 7; - * * @return Whether the mask field is set. */ @java.lang.Override @@ -477,8 +320,6 @@ public boolean hasMask() { return mask_ != null; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
@@ -486,7 +327,6 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 7; - * * @return The mask. */ @java.lang.Override @@ -494,8 +334,6 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
@@ -511,14 +349,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
 
   public static final int TRANSACTION_FIELD_NUMBER = 8;
   /**
-   *
-   *
    * 
    * Reads documents in a transaction.
    * 
* * bytes transaction = 8; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -526,14 +361,11 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 8; } /** - * - * *
    * Reads documents in a transaction.
    * 
* * bytes transaction = 8; - * * @return The transaction. */ @java.lang.Override @@ -546,15 +378,12 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 10; /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -562,27 +391,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 10; } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 10) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -593,7 +417,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();
   }
@@ -601,8 +425,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int SHOW_MISSING_FIELD_NUMBER = 12;
   private boolean showMissing_;
   /**
-   *
-   *
    * 
    * If the list should show missing documents. A missing document is a
    * document that does not exist but has sub-documents. These documents will
@@ -613,7 +435,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * bool show_missing = 12; - * * @return The showMissing. */ @java.lang.Override @@ -622,7 +443,6 @@ public boolean getShowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -634,7 +454,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -654,7 +475,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(7, getMask()); } if (consistencySelectorCase_ == 8) { - output.writeBytes(8, (com.google.protobuf.ByteString) consistencySelector_); + output.writeBytes( + 8, (com.google.protobuf.ByteString) consistencySelector_); } if (consistencySelectorCase_ == 10) { output.writeMessage(10, (com.google.protobuf.Timestamp) consistencySelector_); @@ -662,7 +484,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (showMissing_ != false) { output.writeBool(12, showMissing_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -678,7 +500,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collectionId_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -687,22 +510,23 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -710,36 +534,44 @@ public int getSerializedSize() { @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: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -765,7 +597,8 @@ public int hashCode() { hash = (53 * hash) + getMask().hashCode(); } hash = (37 * hash) + SHOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowMissing()); switch (consistencySelectorCase_) { case 8: hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; @@ -778,148 +611,135 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -939,6 +759,9 @@ public Builder clear() { mask_ = null; maskBuilder_ = null; } + if (readTimeBuilder_ != null) { + readTimeBuilder_.clear(); + } showMissing_ = false; consistencySelectorCase_ = 0; @@ -947,9 +770,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 @@ -968,8 +791,7 @@ 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); + com.google.firestore.v1.ListDocumentsRequest result = new com.google.firestore.v1.ListDocumentsRequest(this); result.parent_ = parent_; result.collectionId_ = collectionId_; result.pageSize_ = pageSize_; @@ -1000,39 +822,38 @@ public com.google.firestore.v1.ListDocumentsRequest 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.v1.ListDocumentsRequest) { - return mergeFrom((com.google.firestore.v1.ListDocumentsRequest) other); + return mergeFrom((com.google.firestore.v1.ListDocumentsRequest)other); } else { super.mergeFrom(other); return this; @@ -1067,22 +888,19 @@ 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -1097,25 +915,87 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.ListDocumentsRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + collectionId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 50: { + orderBy_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + input.readMessage( + getMaskFieldBuilder().getBuilder(), + extensionRegistry); + + 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(); + + 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) { - parsedMessage = (com.google.firestore.v1.ListDocumentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } - private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - - public ConsistencySelectorCase getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + public ConsistencySelectorCase + getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber( + consistencySelectorCase_); } public Builder clearConsistencySelector() { @@ -1125,10 +1005,9 @@ public Builder clearConsistencySelector() { return this; } + private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1139,13 +1018,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; @@ -1154,8 +1033,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1166,14 +1043,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1181,8 +1059,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1193,22 +1069,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1219,18 +1093,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1241,16 +1112,16 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1258,21 +1129,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object collectionId_ = ""; /** - * - * *
      * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
      * or `messages`.
      * 
* * 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; @@ -1281,22 +1150,21 @@ public java.lang.String getCollectionId() { } } /** - * - * *
      * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
      * or `messages`.
      * 
* * 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 { @@ -1304,79 +1172,69 @@ public com.google.protobuf.ByteString getCollectionIdBytes() { } } /** - * - * *
      * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
      * or `messages`.
      * 
* * 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) { + public Builder setCollectionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + collectionId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
      * or `messages`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCollectionId() { - + collectionId_ = getDefaultInstance().getCollectionId(); onChanged(); return this; } /** - * - * *
      * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
      * or `messages`.
      * 
* * 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) { + public Builder setCollectionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + collectionId_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of documents to return.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1384,36 +1242,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of documents to return.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of documents to return.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1421,20 +1273,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `next_page_token` value returned from a previous List request, if any.
      * 
* * 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; @@ -1443,21 +1293,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `next_page_token` value returned from a previous List request, if any.
      * 
* * 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 { @@ -1465,61 +1314,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `next_page_token` value returned from a previous List request, if any.
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The `next_page_token` value returned from a previous List request, if any.
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The `next_page_token` value returned from a previous List request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1527,20 +1369,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * The order to sort results by. For example: `priority desc, name`.
      * 
* * string order_by = 6; - * * @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; @@ -1549,21 +1389,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * The order to sort results by. For example: `priority desc, name`.
      * 
* * string order_by = 6; - * * @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 { @@ -1571,61 +1410,54 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * The order to sort results by. For example: `priority desc, name`.
      * 
* * string order_by = 6; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * The order to sort results by. For example: `priority desc, name`.
      * 
* * string order_by = 6; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * The order to sort results by. For example: `priority desc, name`.
      * 
* * string order_by = 6; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1633,13 +1465,8 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder> - maskBuilder_; + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1647,15 +1474,12 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.firestore.v1.DocumentMask mask = 7; - * * @return Whether the mask field is set. */ public boolean hasMask() { return maskBuilder_ != null || mask_ != null; } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1663,7 +1487,6 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 7; - * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1674,8 +1497,6 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1698,8 +1519,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1708,7 +1527,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 7;
      */
-    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();
         onChanged();
@@ -1719,8 +1539,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1733,9 +1551,7 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
         if (mask_ != null) {
           mask_ =
-              com.google.firestore.v1.DocumentMask.newBuilder(mask_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.v1.DocumentMask.newBuilder(mask_).mergeFrom(value).buildPartial();
         } else {
           mask_ = value;
         }
@@ -1747,8 +1563,6 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1769,8 +1583,6 @@ public Builder clearMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1780,13 +1592,11 @@ public Builder clearMask() {
      * .google.firestore.v1.DocumentMask mask = 7;
      */
     public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
-
+      
       onChanged();
       return getMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1799,12 +1609,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ?
+            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1814,45 +1623,36 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 7;
      */
     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 = 8; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 8; } /** - * - * *
      * Reads documents in a transaction.
      * 
* * bytes transaction = 8; - * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1862,35 +1662,29 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Reads documents in a 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(); - } - consistencySelectorCase_ = 8; + throw new NullPointerException(); + } + consistencySelectorCase_ = 8; consistencySelector_ = value; onChanged(); return this; } /** - * - * *
      * Reads documents in a transaction.
      * 
* * bytes transaction = 8; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1903,20 +1697,14 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 10; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1924,15 +1712,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 10; } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 10; - * * @return The readTime. */ @java.lang.Override @@ -1950,8 +1735,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1973,8 +1756,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1982,7 +1763,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 10;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1993,8 +1775,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -2004,13 +1784,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 10
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 10 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -2026,8 +1803,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -2052,8 +1827,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -2065,8 +1838,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -2086,8 +1857,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -2096,34 +1865,26 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 10;
-      onChanged();
-      ;
+      onChanged();;
       return readTimeBuilder_;
     }
 
-    private boolean showMissing_;
+    private boolean showMissing_ ;
     /**
-     *
-     *
      * 
      * If the list should show missing documents. A missing document is a
      * document that does not exist but has sub-documents. These documents will
@@ -2134,7 +1895,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * 
* * bool show_missing = 12; - * * @return The showMissing. */ @java.lang.Override @@ -2142,8 +1902,6 @@ public boolean getShowMissing() { return showMissing_; } /** - * - * *
      * If the list should show missing documents. A missing document is a
      * document that does not exist but has sub-documents. These documents will
@@ -2154,19 +1912,16 @@ public boolean getShowMissing() {
      * 
* * bool show_missing = 12; - * * @param value The showMissing to set. * @return This builder for chaining. */ public Builder setShowMissing(boolean value) { - + showMissing_ = value; onChanged(); return this; } /** - * - * *
      * If the list should show missing documents. A missing document is a
      * document that does not exist but has sub-documents. These documents will
@@ -2177,18 +1932,17 @@ public Builder setShowMissing(boolean value) {
      * 
* * bool show_missing = 12; - * * @return This builder for chaining. */ public Builder clearShowMissing() { - + showMissing_ = false; 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); } @@ -2198,12 +1952,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(); } @@ -2212,16 +1966,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 { - return new ListDocumentsRequest(input, extensionRegistry); - } - }; + 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; @@ -2236,4 +2001,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ListDocumentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java similarity index 83% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java index 159db8632f..057a4eb4cd 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface ListDocumentsRequestOrBuilder - extends +public interface ListDocumentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListDocumentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -36,13 +18,10 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -53,104 +32,84 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
    * or `messages`.
    * 
* * 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`
    * or `messages`.
    * 
* * 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 maximum number of documents to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The `next_page_token` value returned from a previous List request, if any.
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The `next_page_token` value returned from a previous List request, if any.
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The order to sort results by. For example: `priority desc, name`.
    * 
* * string order_by = 6; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * The order to sort results by. For example: `priority desc, name`.
    * 
* * string order_by = 6; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
@@ -158,13 +117,10 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 7; - * * @return Whether the mask field is set. */ boolean hasMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
@@ -172,13 +128,10 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 7; - * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
@@ -190,59 +143,45 @@ public interface ListDocumentsRequestOrBuilder
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Reads documents in a transaction.
    * 
* * bytes transaction = 8; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Reads documents in a transaction.
    * 
* * bytes transaction = 8; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; - * * @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 = 10; - * * @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.
@@ -253,8 +192,6 @@ public interface ListDocumentsRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * If the list should show missing documents. A missing document is a
    * document that does not exist but has sub-documents. These documents will
@@ -265,11 +202,9 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * bool show_missing = 12; - * * @return The showMissing. */ boolean getShowMissing(); - public com.google.firestore.v1.ListDocumentsRequest.ConsistencySelectorCase - getConsistencySelectorCase(); + public com.google.firestore.v1.ListDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase(); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java similarity index 68% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java index 5bfae4f87b..4b57c0707a 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The response for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
  * 
* * 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_ = ""; @@ -44,95 +26,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ListDocumentsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - documents_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - documents_.add( - input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry)); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - documents_ = java.util.Collections.unmodifiableList(documents_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private java.util.List documents_; /** - * - * *
    * The Documents found.
    * 
@@ -144,8 +63,6 @@ public java.util.List getDocumentsList() { return documents_; } /** - * - * *
    * The Documents found.
    * 
@@ -153,13 +70,11 @@ public java.util.List getDocumentsList() { * repeated .google.firestore.v1.Document documents = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDocumentsOrBuilderList() { return documents_; } /** - * - * *
    * The Documents found.
    * 
@@ -171,8 +86,6 @@ public int getDocumentsCount() { return documents_.size(); } /** - * - * *
    * The Documents found.
    * 
@@ -184,8 +97,6 @@ public com.google.firestore.v1.Document getDocuments(int index) { return documents_.get(index); } /** - * - * *
    * The Documents found.
    * 
@@ -193,21 +104,19 @@ 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; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The next page token.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -216,29 +125,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; } } /** - * - * *
    * The next page token.
    * 
* * 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 { @@ -247,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,14 +167,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 { for (int i = 0; i < documents_.size(); i++) { output.writeMessage(1, documents_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -276,12 +185,13 @@ 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_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -289,17 +199,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.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 (!unknownFields.equals(other.unknownFields)) 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; } @@ -316,168 +227,154 @@ public int hashCode() { } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getDocumentsFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); if (documentsBuilder_ == null) { documents_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + documents_ = null; documentsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; return this; } @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 @@ -496,8 +393,7 @@ 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); int from_bitField0_ = bitField0_; if (documentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -517,39 +413,38 @@ public com.google.firestore.v1.ListDocumentsResponse 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.v1.ListDocumentsResponse) { - return mergeFrom((com.google.firestore.v1.ListDocumentsResponse) other); + return mergeFrom((com.google.firestore.v1.ListDocumentsResponse)other); } else { super.mergeFrom(other); return this; @@ -576,10 +471,9 @@ public Builder mergeFrom(com.google.firestore.v1.ListDocumentsResponse other) { documentsBuilder_ = null; documents_ = other.documents_; bitField0_ = (bitField0_ & ~0x00000001); - documentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDocumentsFieldBuilder() - : null; + documentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDocumentsFieldBuilder() : null; } else { documentsBuilder_.addAllMessages(other.documents_); } @@ -589,7 +483,7 @@ public Builder mergeFrom(com.google.firestore.v1.ListDocumentsResponse other) { nextPageToken_ = other.nextPageToken_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -604,41 +498,65 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.ListDocumentsResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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(); + + 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) { - parsedMessage = (com.google.firestore.v1.ListDocumentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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.
      * 
@@ -653,8 +571,6 @@ public java.util.List getDocumentsList() { } } /** - * - * *
      * The Documents found.
      * 
@@ -669,8 +585,6 @@ public int getDocumentsCount() { } } /** - * - * *
      * The Documents found.
      * 
@@ -685,15 +599,14 @@ public com.google.firestore.v1.Document getDocuments(int index) { } } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public Builder setDocuments(int index, com.google.firestore.v1.Document value) { + public Builder setDocuments( + int index, com.google.firestore.v1.Document value) { if (documentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -707,8 +620,6 @@ public Builder setDocuments(int index, com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * The Documents found.
      * 
@@ -727,8 +638,6 @@ public Builder setDocuments( return this; } /** - * - * *
      * The Documents found.
      * 
@@ -749,15 +658,14 @@ public Builder addDocuments(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public Builder addDocuments(int index, com.google.firestore.v1.Document value) { + public Builder addDocuments( + int index, com.google.firestore.v1.Document value) { if (documentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -771,15 +679,14 @@ public Builder addDocuments(int index, com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public Builder addDocuments(com.google.firestore.v1.Document.Builder builderForValue) { + public Builder addDocuments( + com.google.firestore.v1.Document.Builder builderForValue) { if (documentsBuilder_ == null) { ensureDocumentsIsMutable(); documents_.add(builderForValue.build()); @@ -790,8 +697,6 @@ public Builder addDocuments(com.google.firestore.v1.Document.Builder builderForV return this; } /** - * - * *
      * The Documents found.
      * 
@@ -810,8 +715,6 @@ public Builder addDocuments( return this; } /** - * - * *
      * The Documents found.
      * 
@@ -822,7 +725,8 @@ public Builder addAllDocuments( java.lang.Iterable values) { if (documentsBuilder_ == null) { ensureDocumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, documents_); onChanged(); } else { documentsBuilder_.addAllMessages(values); @@ -830,8 +734,6 @@ public Builder addAllDocuments( return this; } /** - * - * *
      * The Documents found.
      * 
@@ -849,8 +751,6 @@ public Builder clearDocuments() { return this; } /** - * - * *
      * The Documents found.
      * 
@@ -868,44 +768,39 @@ public Builder removeDocuments(int index) { return this; } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public com.google.firestore.v1.Document.Builder getDocumentsBuilder(int index) { + public com.google.firestore.v1.Document.Builder getDocumentsBuilder( + int index) { return getDocumentsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index) { + public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder( + int index) { if (documentsBuilder_ == null) { - return documents_.get(index); - } else { + return documents_.get(index); } else { return documentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public java.util.List - getDocumentsOrBuilderList() { + public java.util.List + getDocumentsOrBuilderList() { if (documentsBuilder_ != null) { return documentsBuilder_.getMessageOrBuilderList(); } else { @@ -913,8 +808,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index } } /** - * - * *
      * The Documents found.
      * 
@@ -922,47 +815,42 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index * repeated .google.firestore.v1.Document documents = 1; */ public com.google.firestore.v1.Document.Builder addDocumentsBuilder() { - return getDocumentsFieldBuilder() - .addBuilder(com.google.firestore.v1.Document.getDefaultInstance()); + return getDocumentsFieldBuilder().addBuilder( + com.google.firestore.v1.Document.getDefaultInstance()); } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public com.google.firestore.v1.Document.Builder addDocumentsBuilder(int index) { - return getDocumentsFieldBuilder() - .addBuilder(index, com.google.firestore.v1.Document.getDefaultInstance()); + public com.google.firestore.v1.Document.Builder addDocumentsBuilder( + int index) { + return getDocumentsFieldBuilder().addBuilder( + index, com.google.firestore.v1.Document.getDefaultInstance()); } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public java.util.List getDocumentsBuilderList() { + public java.util.List + getDocumentsBuilderList() { return getDocumentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> getDocumentsFieldBuilder() { if (documentsBuilder_ == null) { - documentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder>( - documents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + documentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( + documents_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); documents_ = null; } return documentsBuilder_; @@ -970,20 +858,18 @@ public java.util.List getDocumentsBuil private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The next page token.
      * 
* * 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; @@ -992,21 +878,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The next page token.
      * 
* * 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 { @@ -1014,68 +899,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The next page token.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next page token.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The next page token.
      * 
* * 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1085,12 +963,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(); } @@ -1099,16 +977,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 { - return new ListDocumentsResponse(input, extensionRegistry); - } - }; + 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; @@ -1123,4 +1012,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ListDocumentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java similarity index 62% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java index b32ba462ce..d5f8a47540 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface ListDocumentsResponseOrBuilder - extends +public interface ListDocumentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListDocumentsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Documents found.
    * 
* * repeated .google.firestore.v1.Document documents = 1; */ - java.util.List getDocumentsList(); + java.util.List + getDocumentsList(); /** - * - * *
    * The Documents found.
    * 
@@ -44,8 +25,6 @@ public interface ListDocumentsResponseOrBuilder */ com.google.firestore.v1.Document getDocuments(int index); /** - * - * *
    * The Documents found.
    * 
@@ -54,48 +33,41 @@ public interface ListDocumentsResponseOrBuilder */ int getDocumentsCount(); /** - * - * *
    * The Documents found.
    * 
* * repeated .google.firestore.v1.Document documents = 1; */ - java.util.List getDocumentsOrBuilderList(); + java.util.List + getDocumentsOrBuilderList(); /** - * - * *
    * The Documents found.
    * 
* * repeated .google.firestore.v1.Document documents = 1; */ - com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index); + com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder( + int index); /** - * - * *
    * The next page token.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The next page token.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java similarity index 63% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java index b0d2edcb95..30c2d39935 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java @@ -1,176 +1,74 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen]
  * 
* * Protobuf type {@code google.firestore.v1.ListenRequest} */ -public final class ListenRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListenRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ListenRequest) ListenRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListenRequest.newBuilder() to construct. private ListenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListenRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListenRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ListenRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - database_ = s; - break; - } - case 18: - { - com.google.firestore.v1.Target.Builder subBuilder = null; - if (targetChangeCase_ == 2) { - subBuilder = ((com.google.firestore.v1.Target) targetChange_).toBuilder(); - } - targetChange_ = - input.readMessage(com.google.firestore.v1.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.Target) targetChange_); - targetChange_ = subBuilder.buildPartial(); - } - targetChangeCase_ = 2; - break; - } - case 24: - { - targetChange_ = input.readInt32(); - targetChangeCase_ = 3; - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListenRequest.class, - com.google.firestore.v1.ListenRequest.Builder.class); + com.google.firestore.v1.ListenRequest.class, com.google.firestore.v1.ListenRequest.Builder.class); } private int targetChangeCase_ = 0; private java.lang.Object targetChange_; - public enum TargetChangeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ADD_TARGET(2), REMOVE_TARGET(3), TARGETCHANGE_NOT_SET(0); private final int value; - private TargetChangeCase(int value) { this.value = value; } @@ -186,38 +84,32 @@ 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; 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 @@ -226,30 +118,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 { @@ -259,14 +151,11 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int ADD_TARGET_FIELD_NUMBER = 2; /** - * - * *
    * A target to add to this stream.
    * 
* * .google.firestore.v1.Target add_target = 2; - * * @return Whether the addTarget field is set. */ @java.lang.Override @@ -274,26 +163,21 @@ public boolean hasAddTarget() { return targetChangeCase_ == 2; } /** - * - * *
    * A target to add to this stream.
    * 
* * .google.firestore.v1.Target add_target = 2; - * * @return The addTarget. */ @java.lang.Override public com.google.firestore.v1.Target getAddTarget() { if (targetChangeCase_ == 2) { - return (com.google.firestore.v1.Target) targetChange_; + return (com.google.firestore.v1.Target) targetChange_; } return com.google.firestore.v1.Target.getDefaultInstance(); } /** - * - * *
    * A target to add to this stream.
    * 
@@ -303,21 +187,18 @@ public com.google.firestore.v1.Target getAddTarget() { @java.lang.Override public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { if (targetChangeCase_ == 2) { - return (com.google.firestore.v1.Target) targetChange_; + return (com.google.firestore.v1.Target) targetChange_; } return com.google.firestore.v1.Target.getDefaultInstance(); } public static final int REMOVE_TARGET_FIELD_NUMBER = 3; /** - * - * *
    * The ID of a target to remove from this stream.
    * 
* * int32 remove_target = 3; - * * @return Whether the removeTarget field is set. */ @java.lang.Override @@ -325,14 +206,11 @@ public boolean hasRemoveTarget() { return targetChangeCase_ == 3; } /** - * - * *
    * The ID of a target to remove from this stream.
    * 
* * int32 remove_target = 3; - * * @return The removeTarget. */ @java.lang.Override @@ -344,23 +222,24 @@ public int getRemoveTarget() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -369,30 +248,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels associated with this target change.
    * 
* * 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.
    * 
@@ -400,12 +277,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels associated with this target change.
    * 
@@ -413,16 +289,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + 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.
    * 
@@ -430,11 +306,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * 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(); } @@ -442,7 +319,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -454,7 +330,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -462,11 +339,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(2, (com.google.firestore.v1.Target) targetChange_); } if (targetChangeCase_ == 3) { - output.writeInt32(3, (int) ((java.lang.Integer) targetChange_)); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); - unknownFields.writeTo(output); + output.writeInt32( + 3, (int)((java.lang.Integer) targetChange_)); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -479,26 +361,25 @@ 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 += unknownFields.getSerializedSize(); + 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; return size; } @@ -506,27 +387,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.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: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -555,172 +440,165 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); database_ = ""; + if (addTargetBuilder_ != null) { + addTargetBuilder_.clear(); + } internalGetMutableLabels().clear(); targetChangeCase_ = 0; targetChange_ = null; @@ -728,9 +606,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 @@ -749,8 +627,7 @@ 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); + com.google.firestore.v1.ListenRequest result = new com.google.firestore.v1.ListenRequest(this); int from_bitField0_ = bitField0_; result.database_ = database_; if (targetChangeCase_ == 2) { @@ -774,39 +651,38 @@ public com.google.firestore.v1.ListenRequest 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.v1.ListenRequest) { - return mergeFrom((com.google.firestore.v1.ListenRequest) other); + return mergeFrom((com.google.firestore.v1.ListenRequest)other); } else { super.mergeFrom(other); return this; @@ -819,24 +695,22 @@ public Builder mergeFrom(com.google.firestore.v1.ListenRequest other) { database_ = other.database_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -851,25 +725,63 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.ListenRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + database_ = input.readStringRequireUtf8(); + + 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()); + 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) { - parsedMessage = (com.google.firestore.v1.ListenRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -883,21 +795,19 @@ public Builder clearTargetChange() { private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -906,22 +816,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -929,83 +838,70 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; } 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 @@ -1013,14 +909,11 @@ public boolean hasAddTarget() { return targetChangeCase_ == 2; } /** - * - * *
      * A target to add to this stream.
      * 
* * .google.firestore.v1.Target add_target = 2; - * * @return The addTarget. */ @java.lang.Override @@ -1038,8 +931,6 @@ public com.google.firestore.v1.Target getAddTarget() { } } /** - * - * *
      * A target to add to this stream.
      * 
@@ -1060,15 +951,14 @@ public Builder setAddTarget(com.google.firestore.v1.Target value) { return this; } /** - * - * *
      * A target to add to this stream.
      * 
* * .google.firestore.v1.Target add_target = 2; */ - public Builder setAddTarget(com.google.firestore.v1.Target.Builder builderForValue) { + public Builder setAddTarget( + com.google.firestore.v1.Target.Builder builderForValue) { if (addTargetBuilder_ == null) { targetChange_ = builderForValue.build(); onChanged(); @@ -1079,8 +969,6 @@ public Builder setAddTarget(com.google.firestore.v1.Target.Builder builderForVal return this; } /** - * - * *
      * A target to add to this stream.
      * 
@@ -1089,13 +977,10 @@ public Builder setAddTarget(com.google.firestore.v1.Target.Builder builderForVal */ public Builder mergeAddTarget(com.google.firestore.v1.Target value) { if (addTargetBuilder_ == null) { - if (targetChangeCase_ == 2 - && targetChange_ != com.google.firestore.v1.Target.getDefaultInstance()) { - targetChange_ = - com.google.firestore.v1.Target.newBuilder( - (com.google.firestore.v1.Target) targetChange_) - .mergeFrom(value) - .buildPartial(); + if (targetChangeCase_ == 2 && + targetChange_ != com.google.firestore.v1.Target.getDefaultInstance()) { + targetChange_ = com.google.firestore.v1.Target.newBuilder((com.google.firestore.v1.Target) targetChange_) + .mergeFrom(value).buildPartial(); } else { targetChange_ = value; } @@ -1111,8 +996,6 @@ public Builder mergeAddTarget(com.google.firestore.v1.Target value) { return this; } /** - * - * *
      * A target to add to this stream.
      * 
@@ -1136,8 +1019,6 @@ public Builder clearAddTarget() { return this; } /** - * - * *
      * A target to add to this stream.
      * 
@@ -1148,8 +1029,6 @@ public com.google.firestore.v1.Target.Builder getAddTargetBuilder() { return getAddTargetFieldBuilder().getBuilder(); } /** - * - * *
      * A target to add to this stream.
      * 
@@ -1168,8 +1047,6 @@ public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { } } /** - * - * *
      * A target to add to this stream.
      * 
@@ -1177,51 +1054,41 @@ 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; - onChanged(); - ; + onChanged();; return addTargetBuilder_; } /** - * - * *
      * 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() { @@ -1231,14 +1098,11 @@ 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. */ @@ -1249,14 +1113,11 @@ 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() { @@ -1268,21 +1129,22 @@ public Builder clearRemoveTarget() { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -1294,30 +1156,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels associated with this target change.
      * 
* * 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.
      * 
@@ -1325,12 +1185,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels associated with this target change.
      * 
@@ -1338,17 +1197,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + 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.
      * 
@@ -1356,11 +1214,12 @@ public 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(); } @@ -1368,66 +1227,69 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - 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() { 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); 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); 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); } @@ -1437,12 +1299,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(); } @@ -1451,16 +1313,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 { - return new ListenRequest(input, extensionRegistry); - } - }; + 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; @@ -1475,4 +1348,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ListenRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java index 5044980afc..c06de1bfb6 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java @@ -1,82 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface ListenRequestOrBuilder - extends +public interface ListenRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListenRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * A target to add to this stream.
    * 
* * .google.firestore.v1.Target add_target = 2; - * * @return Whether the addTarget field is set. */ boolean hasAddTarget(); /** - * - * *
    * A target to add to this stream.
    * 
* * .google.firestore.v1.Target add_target = 2; - * * @return The addTarget. */ com.google.firestore.v1.Target getAddTarget(); /** - * - * *
    * A target to add to this stream.
    * 
@@ -86,33 +57,25 @@ public interface ListenRequestOrBuilder com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder(); /** - * - * *
    * The ID of a target to remove from this stream.
    * 
* * int32 remove_target = 3; - * * @return Whether the removeTarget field is set. */ boolean hasRemoveTarget(); /** - * - * *
    * The ID of a target to remove from this stream.
    * 
* * int32 remove_target = 3; - * * @return The removeTarget. */ int getRemoveTarget(); /** - * - * *
    * Labels associated with this target change.
    * 
@@ -121,31 +84,30 @@ public interface ListenRequestOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels associated with this target change.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels associated with this target change.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels associated with this target change.
    * 
@@ -154,20 +116,20 @@ public interface ListenRequestOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels associated with this target change.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); public com.google.firestore.v1.ListenRequest.TargetChangeCase getTargetChangeCase(); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java similarity index 71% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java index 1e1be2d641..3e8120ecd9 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java @@ -1,195 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].
  * 
* * Protobuf type {@code google.firestore.v1.ListenResponse} */ -public final class ListenResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListenResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ListenResponse) ListenResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListenResponse.newBuilder() to construct. private ListenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ListenResponse() {} + private ListenResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListenResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ListenResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: - { - com.google.firestore.v1.TargetChange.Builder subBuilder = null; - if (responseTypeCase_ == 2) { - subBuilder = ((com.google.firestore.v1.TargetChange) responseType_).toBuilder(); - } - responseType_ = - input.readMessage( - com.google.firestore.v1.TargetChange.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.TargetChange) responseType_); - responseType_ = subBuilder.buildPartial(); - } - responseTypeCase_ = 2; - break; - } - case 26: - { - com.google.firestore.v1.DocumentChange.Builder subBuilder = null; - if (responseTypeCase_ == 3) { - subBuilder = ((com.google.firestore.v1.DocumentChange) responseType_).toBuilder(); - } - responseType_ = - input.readMessage( - com.google.firestore.v1.DocumentChange.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.DocumentChange) responseType_); - responseType_ = subBuilder.buildPartial(); - } - responseTypeCase_ = 3; - break; - } - case 34: - { - com.google.firestore.v1.DocumentDelete.Builder subBuilder = null; - if (responseTypeCase_ == 4) { - subBuilder = ((com.google.firestore.v1.DocumentDelete) responseType_).toBuilder(); - } - responseType_ = - input.readMessage( - com.google.firestore.v1.DocumentDelete.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.DocumentDelete) responseType_); - responseType_ = subBuilder.buildPartial(); - } - responseTypeCase_ = 4; - break; - } - case 42: - { - com.google.firestore.v1.ExistenceFilter.Builder subBuilder = null; - if (responseTypeCase_ == 5) { - subBuilder = ((com.google.firestore.v1.ExistenceFilter) responseType_).toBuilder(); - } - responseType_ = - input.readMessage( - com.google.firestore.v1.ExistenceFilter.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.ExistenceFilter) responseType_); - responseType_ = subBuilder.buildPartial(); - } - responseTypeCase_ = 5; - break; - } - case 50: - { - com.google.firestore.v1.DocumentRemove.Builder subBuilder = null; - if (responseTypeCase_ == 6) { - subBuilder = ((com.google.firestore.v1.DocumentRemove) responseType_).toBuilder(); - } - responseType_ = - input.readMessage( - com.google.firestore.v1.DocumentRemove.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.DocumentRemove) responseType_); - responseType_ = subBuilder.buildPartial(); - } - responseTypeCase_ = 6; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListenResponse.class, - com.google.firestore.v1.ListenResponse.Builder.class); + com.google.firestore.v1.ListenResponse.class, com.google.firestore.v1.ListenResponse.Builder.class); } private int responseTypeCase_ = 0; private java.lang.Object responseType_; - public enum ResponseTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TARGET_CHANGE(2), DOCUMENT_CHANGE(3), @@ -198,7 +59,6 @@ public enum ResponseTypeCase FILTER(5), RESPONSETYPE_NOT_SET(0); private final int value; - private ResponseTypeCase(int value) { this.value = value; } @@ -214,42 +74,33 @@ public static ResponseTypeCase valueOf(int value) { public static ResponseTypeCase forNumber(int value) { switch (value) { - case 2: - return TARGET_CHANGE; - case 3: - return DOCUMENT_CHANGE; - case 4: - return DOCUMENT_DELETE; - case 6: - return DOCUMENT_REMOVE; - case 5: - return FILTER; - case 0: - return RESPONSETYPE_NOT_SET; - default: - return null; + case 2: return TARGET_CHANGE; + case 3: return DOCUMENT_CHANGE; + case 4: return DOCUMENT_DELETE; + case 6: return DOCUMENT_REMOVE; + case 5: return FILTER; + case 0: return RESPONSETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResponseTypeCase getResponseTypeCase() { - return ResponseTypeCase.forNumber(responseTypeCase_); + public ResponseTypeCase + getResponseTypeCase() { + return ResponseTypeCase.forNumber( + responseTypeCase_); } public static final int TARGET_CHANGE_FIELD_NUMBER = 2; /** - * - * *
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; - * * @return Whether the targetChange field is set. */ @java.lang.Override @@ -257,26 +108,21 @@ public boolean hasTargetChange() { return responseTypeCase_ == 2; } /** - * - * *
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; - * * @return The targetChange. */ @java.lang.Override public com.google.firestore.v1.TargetChange getTargetChange() { if (responseTypeCase_ == 2) { - return (com.google.firestore.v1.TargetChange) responseType_; + return (com.google.firestore.v1.TargetChange) responseType_; } return com.google.firestore.v1.TargetChange.getDefaultInstance(); } /** - * - * *
    * Targets have changed.
    * 
@@ -286,21 +132,18 @@ public com.google.firestore.v1.TargetChange getTargetChange() { @java.lang.Override public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() { if (responseTypeCase_ == 2) { - return (com.google.firestore.v1.TargetChange) responseType_; + return (com.google.firestore.v1.TargetChange) responseType_; } return com.google.firestore.v1.TargetChange.getDefaultInstance(); } public static final int DOCUMENT_CHANGE_FIELD_NUMBER = 3; /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; - * * @return Whether the documentChange field is set. */ @java.lang.Override @@ -308,26 +151,21 @@ public boolean hasDocumentChange() { return responseTypeCase_ == 3; } /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; - * * @return The documentChange. */ @java.lang.Override public com.google.firestore.v1.DocumentChange getDocumentChange() { if (responseTypeCase_ == 3) { - return (com.google.firestore.v1.DocumentChange) responseType_; + return (com.google.firestore.v1.DocumentChange) responseType_; } return com.google.firestore.v1.DocumentChange.getDefaultInstance(); } /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
@@ -337,21 +175,18 @@ public com.google.firestore.v1.DocumentChange getDocumentChange() { @java.lang.Override public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilder() { if (responseTypeCase_ == 3) { - return (com.google.firestore.v1.DocumentChange) responseType_; + return (com.google.firestore.v1.DocumentChange) responseType_; } return com.google.firestore.v1.DocumentChange.getDefaultInstance(); } public static final int DOCUMENT_DELETE_FIELD_NUMBER = 4; /** - * - * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; - * * @return Whether the documentDelete field is set. */ @java.lang.Override @@ -359,26 +194,21 @@ public boolean hasDocumentDelete() { return responseTypeCase_ == 4; } /** - * - * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; - * * @return The documentDelete. */ @java.lang.Override public com.google.firestore.v1.DocumentDelete getDocumentDelete() { if (responseTypeCase_ == 4) { - return (com.google.firestore.v1.DocumentDelete) responseType_; + return (com.google.firestore.v1.DocumentDelete) responseType_; } return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); } /** - * - * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
@@ -388,22 +218,19 @@ public com.google.firestore.v1.DocumentDelete getDocumentDelete() { @java.lang.Override public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilder() { if (responseTypeCase_ == 4) { - return (com.google.firestore.v1.DocumentDelete) responseType_; + return (com.google.firestore.v1.DocumentDelete) responseType_; } return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); } public static final int DOCUMENT_REMOVE_FIELD_NUMBER = 6; /** - * - * *
    * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
    * relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; - * * @return Whether the documentRemove field is set. */ @java.lang.Override @@ -411,27 +238,22 @@ public boolean hasDocumentRemove() { return responseTypeCase_ == 6; } /** - * - * *
    * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
    * relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; - * * @return The documentRemove. */ @java.lang.Override public com.google.firestore.v1.DocumentRemove getDocumentRemove() { if (responseTypeCase_ == 6) { - return (com.google.firestore.v1.DocumentRemove) responseType_; + return (com.google.firestore.v1.DocumentRemove) responseType_; } return com.google.firestore.v1.DocumentRemove.getDefaultInstance(); } /** - * - * *
    * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
    * relevant to that target).
@@ -442,15 +264,13 @@ public com.google.firestore.v1.DocumentRemove getDocumentRemove() {
   @java.lang.Override
   public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilder() {
     if (responseTypeCase_ == 6) {
-      return (com.google.firestore.v1.DocumentRemove) responseType_;
+       return (com.google.firestore.v1.DocumentRemove) responseType_;
     }
     return com.google.firestore.v1.DocumentRemove.getDefaultInstance();
   }
 
   public static final int FILTER_FIELD_NUMBER = 5;
   /**
-   *
-   *
    * 
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -459,7 +279,6 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -467,8 +286,6 @@ public boolean hasFilter() { return responseTypeCase_ == 5; } /** - * - * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -477,19 +294,16 @@ public boolean hasFilter() {
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; - * * @return The filter. */ @java.lang.Override public com.google.firestore.v1.ExistenceFilter getFilter() { if (responseTypeCase_ == 5) { - return (com.google.firestore.v1.ExistenceFilter) responseType_; + return (com.google.firestore.v1.ExistenceFilter) responseType_; } return com.google.firestore.v1.ExistenceFilter.getDefaultInstance(); } /** - * - * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -502,13 +316,12 @@ public com.google.firestore.v1.ExistenceFilter getFilter() {
   @java.lang.Override
   public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
     if (responseTypeCase_ == 5) {
-      return (com.google.firestore.v1.ExistenceFilter) responseType_;
+       return (com.google.firestore.v1.ExistenceFilter) responseType_;
     }
     return com.google.firestore.v1.ExistenceFilter.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -520,7 +333,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (responseTypeCase_ == 2) {
       output.writeMessage(2, (com.google.firestore.v1.TargetChange) responseType_);
     }
@@ -536,7 +350,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (responseTypeCase_ == 6) {
       output.writeMessage(6, (com.google.firestore.v1.DocumentRemove) responseType_);
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -546,31 +360,26 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -578,7 +387,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.ListenResponse)) {
       return super.equals(obj);
@@ -588,24 +397,29 @@ 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:
     }
-    if (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -640,160 +454,162 @@ public int hashCode() {
       case 0:
       default:
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); + if (targetChangeBuilder_ != null) { + targetChangeBuilder_.clear(); + } + if (documentChangeBuilder_ != null) { + documentChangeBuilder_.clear(); + } + if (documentDeleteBuilder_ != null) { + documentDeleteBuilder_.clear(); + } + if (documentRemoveBuilder_ != null) { + documentRemoveBuilder_.clear(); + } + if (filterBuilder_ != null) { + filterBuilder_.clear(); + } responseTypeCase_ = 0; responseType_ = null; return this; } @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 @@ -812,8 +628,7 @@ 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); + com.google.firestore.v1.ListenResponse result = new com.google.firestore.v1.ListenResponse(this); if (responseTypeCase_ == 2) { if (targetChangeBuilder_ == null) { result.responseType_ = responseType_; @@ -858,39 +673,38 @@ public com.google.firestore.v1.ListenResponse 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.v1.ListenResponse) { - return mergeFrom((com.google.firestore.v1.ListenResponse) other); + return mergeFrom((com.google.firestore.v1.ListenResponse)other); } else { super.mergeFrom(other); return this; @@ -900,37 +714,31 @@ 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -945,25 +753,73 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.ListenResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.firestore.v1.ListenResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -973,20 +829,15 @@ public Builder clearResponseType() { return this; } + 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 @@ -994,14 +845,11 @@ public boolean hasTargetChange() { return responseTypeCase_ == 2; } /** - * - * *
      * Targets have changed.
      * 
* * .google.firestore.v1.TargetChange target_change = 2; - * * @return The targetChange. */ @java.lang.Override @@ -1019,8 +867,6 @@ public com.google.firestore.v1.TargetChange getTargetChange() { } } /** - * - * *
      * Targets have changed.
      * 
@@ -1041,15 +887,14 @@ public Builder setTargetChange(com.google.firestore.v1.TargetChange value) { return this; } /** - * - * *
      * Targets have changed.
      * 
* * .google.firestore.v1.TargetChange target_change = 2; */ - public Builder setTargetChange(com.google.firestore.v1.TargetChange.Builder builderForValue) { + public Builder setTargetChange( + com.google.firestore.v1.TargetChange.Builder builderForValue) { if (targetChangeBuilder_ == null) { responseType_ = builderForValue.build(); onChanged(); @@ -1060,8 +905,6 @@ public Builder setTargetChange(com.google.firestore.v1.TargetChange.Builder buil return this; } /** - * - * *
      * Targets have changed.
      * 
@@ -1070,13 +913,10 @@ public Builder setTargetChange(com.google.firestore.v1.TargetChange.Builder buil */ public Builder mergeTargetChange(com.google.firestore.v1.TargetChange value) { if (targetChangeBuilder_ == null) { - if (responseTypeCase_ == 2 - && responseType_ != com.google.firestore.v1.TargetChange.getDefaultInstance()) { - responseType_ = - com.google.firestore.v1.TargetChange.newBuilder( - (com.google.firestore.v1.TargetChange) responseType_) - .mergeFrom(value) - .buildPartial(); + if (responseTypeCase_ == 2 && + responseType_ != com.google.firestore.v1.TargetChange.getDefaultInstance()) { + responseType_ = com.google.firestore.v1.TargetChange.newBuilder((com.google.firestore.v1.TargetChange) responseType_) + .mergeFrom(value).buildPartial(); } else { responseType_ = value; } @@ -1092,8 +932,6 @@ public Builder mergeTargetChange(com.google.firestore.v1.TargetChange value) { return this; } /** - * - * *
      * Targets have changed.
      * 
@@ -1117,8 +955,6 @@ public Builder clearTargetChange() { return this; } /** - * - * *
      * Targets have changed.
      * 
@@ -1129,8 +965,6 @@ public com.google.firestore.v1.TargetChange.Builder getTargetChangeBuilder() { return getTargetChangeFieldBuilder().getBuilder(); } /** - * - * *
      * Targets have changed.
      * 
@@ -1149,8 +983,6 @@ public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() } } /** - * - * *
      * Targets have changed.
      * 
@@ -1158,44 +990,32 @@ 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()); responseType_ = null; } responseTypeCase_ = 2; - onChanged(); - ; + onChanged();; return targetChangeBuilder_; } 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 @@ -1203,14 +1023,11 @@ public boolean hasDocumentChange() { return responseTypeCase_ == 3; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
* * .google.firestore.v1.DocumentChange document_change = 3; - * * @return The documentChange. */ @java.lang.Override @@ -1228,8 +1045,6 @@ public com.google.firestore.v1.DocumentChange getDocumentChange() { } } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1250,8 +1065,6 @@ public Builder setDocumentChange(com.google.firestore.v1.DocumentChange value) { return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1270,8 +1083,6 @@ public Builder setDocumentChange( return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1280,13 +1091,10 @@ public Builder setDocumentChange( */ public Builder mergeDocumentChange(com.google.firestore.v1.DocumentChange value) { if (documentChangeBuilder_ == null) { - if (responseTypeCase_ == 3 - && responseType_ != com.google.firestore.v1.DocumentChange.getDefaultInstance()) { - responseType_ = - com.google.firestore.v1.DocumentChange.newBuilder( - (com.google.firestore.v1.DocumentChange) responseType_) - .mergeFrom(value) - .buildPartial(); + if (responseTypeCase_ == 3 && + responseType_ != com.google.firestore.v1.DocumentChange.getDefaultInstance()) { + responseType_ = com.google.firestore.v1.DocumentChange.newBuilder((com.google.firestore.v1.DocumentChange) responseType_) + .mergeFrom(value).buildPartial(); } else { responseType_ = value; } @@ -1302,8 +1110,6 @@ public Builder mergeDocumentChange(com.google.firestore.v1.DocumentChange value) return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1327,8 +1133,6 @@ public Builder clearDocumentChange() { return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1339,8 +1143,6 @@ public com.google.firestore.v1.DocumentChange.Builder getDocumentChangeBuilder() return getDocumentChangeFieldBuilder().getBuilder(); } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1359,8 +1161,6 @@ public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilde } } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1368,44 +1168,32 @@ 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()); responseType_ = null; } responseTypeCase_ = 3; - onChanged(); - ; + onChanged();; return documentChangeBuilder_; } 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 @@ -1413,14 +1201,11 @@ public boolean hasDocumentDelete() { return responseTypeCase_ == 4; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; - * * @return The documentDelete. */ @java.lang.Override @@ -1438,8 +1223,6 @@ public com.google.firestore.v1.DocumentDelete getDocumentDelete() { } } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1460,8 +1243,6 @@ public Builder setDocumentDelete(com.google.firestore.v1.DocumentDelete value) { return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1480,8 +1261,6 @@ public Builder setDocumentDelete( return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1490,13 +1269,10 @@ public Builder setDocumentDelete( */ public Builder mergeDocumentDelete(com.google.firestore.v1.DocumentDelete value) { if (documentDeleteBuilder_ == null) { - if (responseTypeCase_ == 4 - && responseType_ != com.google.firestore.v1.DocumentDelete.getDefaultInstance()) { - responseType_ = - com.google.firestore.v1.DocumentDelete.newBuilder( - (com.google.firestore.v1.DocumentDelete) responseType_) - .mergeFrom(value) - .buildPartial(); + if (responseTypeCase_ == 4 && + responseType_ != com.google.firestore.v1.DocumentDelete.getDefaultInstance()) { + responseType_ = com.google.firestore.v1.DocumentDelete.newBuilder((com.google.firestore.v1.DocumentDelete) responseType_) + .mergeFrom(value).buildPartial(); } else { responseType_ = value; } @@ -1512,8 +1288,6 @@ public Builder mergeDocumentDelete(com.google.firestore.v1.DocumentDelete value) return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1537,8 +1311,6 @@ public Builder clearDocumentDelete() { return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1549,8 +1321,6 @@ public com.google.firestore.v1.DocumentDelete.Builder getDocumentDeleteBuilder() return getDocumentDeleteFieldBuilder().getBuilder(); } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1569,8 +1339,6 @@ public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilde } } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1578,45 +1346,33 @@ 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()); responseType_ = null; } responseTypeCase_ = 4; - onChanged(); - ; + onChanged();; return documentDeleteBuilder_; } 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 @@ -1624,15 +1380,12 @@ public boolean hasDocumentRemove() { return responseTypeCase_ == 6; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
      * relevant to that target).
      * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; - * * @return The documentRemove. */ @java.lang.Override @@ -1650,8 +1403,6 @@ public com.google.firestore.v1.DocumentRemove getDocumentRemove() { } } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
      * relevant to that target).
@@ -1673,8 +1424,6 @@ public Builder setDocumentRemove(com.google.firestore.v1.DocumentRemove value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
      * relevant to that target).
@@ -1694,8 +1443,6 @@ public Builder setDocumentRemove(
       return this;
     }
     /**
-     *
-     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
      * relevant to that target).
@@ -1705,13 +1452,10 @@ public Builder setDocumentRemove(
      */
     public Builder mergeDocumentRemove(com.google.firestore.v1.DocumentRemove value) {
       if (documentRemoveBuilder_ == null) {
-        if (responseTypeCase_ == 6
-            && responseType_ != com.google.firestore.v1.DocumentRemove.getDefaultInstance()) {
-          responseType_ =
-              com.google.firestore.v1.DocumentRemove.newBuilder(
-                      (com.google.firestore.v1.DocumentRemove) responseType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (responseTypeCase_ == 6 &&
+            responseType_ != com.google.firestore.v1.DocumentRemove.getDefaultInstance()) {
+          responseType_ = com.google.firestore.v1.DocumentRemove.newBuilder((com.google.firestore.v1.DocumentRemove) responseType_)
+              .mergeFrom(value).buildPartial();
         } else {
           responseType_ = value;
         }
@@ -1727,8 +1471,6 @@ public Builder mergeDocumentRemove(com.google.firestore.v1.DocumentRemove value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
      * relevant to that target).
@@ -1753,8 +1495,6 @@ public Builder clearDocumentRemove() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
      * relevant to that target).
@@ -1766,8 +1506,6 @@ public com.google.firestore.v1.DocumentRemove.Builder getDocumentRemoveBuilder()
       return getDocumentRemoveFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
      * relevant to that target).
@@ -1787,8 +1525,6 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
      * relevant to that target).
@@ -1797,38 +1533,27 @@ 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());
         responseType_ = null;
       }
       responseTypeCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return documentRemoveBuilder_;
     }
 
     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.
@@ -1837,7 +1562,6 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
      * 
* * .google.firestore.v1.ExistenceFilter filter = 5; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -1845,8 +1569,6 @@ public boolean hasFilter() { return responseTypeCase_ == 5; } /** - * - * *
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1855,7 +1577,6 @@ public boolean hasFilter() {
      * 
* * .google.firestore.v1.ExistenceFilter filter = 5; - * * @return The filter. */ @java.lang.Override @@ -1873,8 +1594,6 @@ public com.google.firestore.v1.ExistenceFilter getFilter() { } } /** - * - * *
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1898,8 +1617,6 @@ public Builder setFilter(com.google.firestore.v1.ExistenceFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1909,7 +1626,8 @@ public Builder setFilter(com.google.firestore.v1.ExistenceFilter value) {
      *
      * .google.firestore.v1.ExistenceFilter filter = 5;
      */
-    public Builder setFilter(com.google.firestore.v1.ExistenceFilter.Builder builderForValue) {
+    public Builder setFilter(
+        com.google.firestore.v1.ExistenceFilter.Builder builderForValue) {
       if (filterBuilder_ == null) {
         responseType_ = builderForValue.build();
         onChanged();
@@ -1920,8 +1638,6 @@ public Builder setFilter(com.google.firestore.v1.ExistenceFilter.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1933,13 +1649,10 @@ public Builder setFilter(com.google.firestore.v1.ExistenceFilter.Builder builder
      */
     public Builder mergeFilter(com.google.firestore.v1.ExistenceFilter value) {
       if (filterBuilder_ == null) {
-        if (responseTypeCase_ == 5
-            && responseType_ != com.google.firestore.v1.ExistenceFilter.getDefaultInstance()) {
-          responseType_ =
-              com.google.firestore.v1.ExistenceFilter.newBuilder(
-                      (com.google.firestore.v1.ExistenceFilter) responseType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (responseTypeCase_ == 5 &&
+            responseType_ != com.google.firestore.v1.ExistenceFilter.getDefaultInstance()) {
+          responseType_ = com.google.firestore.v1.ExistenceFilter.newBuilder((com.google.firestore.v1.ExistenceFilter) responseType_)
+              .mergeFrom(value).buildPartial();
         } else {
           responseType_ = value;
         }
@@ -1955,8 +1668,6 @@ public Builder mergeFilter(com.google.firestore.v1.ExistenceFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1983,8 +1694,6 @@ public Builder clearFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1998,8 +1707,6 @@ public com.google.firestore.v1.ExistenceFilter.Builder getFilterBuilder() {
       return getFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -2021,8 +1728,6 @@ public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -2033,32 +1738,26 @@ 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());
         responseType_ = null;
       }
       responseTypeCase_ = 5;
-      onChanged();
-      ;
+      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);
     }
 
@@ -2068,12 +1767,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();
   }
@@ -2082,16 +1781,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 {
-          return new ListenResponse(input, extensionRegistry);
-        }
-      };
+  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;
@@ -2106,4 +1816,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.ListenResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
similarity index 84%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
index 304d14507c..85e8f88608 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface ListenResponseOrBuilder
-    extends
+public interface ListenResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListenResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; - * * @return Whether the targetChange field is set. */ boolean hasTargetChange(); /** - * - * *
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; - * * @return The targetChange. */ com.google.firestore.v1.TargetChange getTargetChange(); /** - * - * *
    * Targets have changed.
    * 
@@ -59,32 +35,24 @@ public interface ListenResponseOrBuilder com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; - * * @return Whether the documentChange field is set. */ boolean hasDocumentChange(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; - * * @return The documentChange. */ com.google.firestore.v1.DocumentChange getDocumentChange(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
@@ -94,32 +62,24 @@ public interface ListenResponseOrBuilder com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilder(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; - * * @return Whether the documentDelete field is set. */ boolean hasDocumentDelete(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; - * * @return The documentDelete. */ com.google.firestore.v1.DocumentDelete getDocumentDelete(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
@@ -129,34 +89,26 @@ public interface ListenResponseOrBuilder com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilder(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
    * relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; - * * @return Whether the documentRemove field is set. */ boolean hasDocumentRemove(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
    * relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; - * * @return The documentRemove. */ com.google.firestore.v1.DocumentRemove getDocumentRemove(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
    * relevant to that target).
@@ -167,8 +119,6 @@ public interface ListenResponseOrBuilder
   com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilder();
 
   /**
-   *
-   *
    * 
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -177,13 +127,10 @@ public interface ListenResponseOrBuilder
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; - * * @return Whether the filter field is set. */ boolean hasFilter(); /** - * - * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -192,13 +139,10 @@ public interface ListenResponseOrBuilder
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; - * * @return The filter. */ com.google.firestore.v1.ExistenceFilter getFilter(); /** - * - * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
similarity index 60%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
index f760277cca..740b918351 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
@@ -1,156 +1,83 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A map value.
  * 
* * Protobuf type {@code google.firestore.v1.MapValue} */ -public final class MapValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MapValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.MapValue) MapValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MapValue.newBuilder() to construct. private MapValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MapValue() {} + private MapValue() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MapValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private MapValue( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fields_ = - com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - fields__ = - input.readMessage( - FieldsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - fields_.getMutableMap().put(fields__.getKey(), fields__.getValue()); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_MapValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 1: return internalGetFields(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_MapValue_fieldAccessorTable + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.MapValue.class, com.google.firestore.v1.MapValue.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; - private static final class FieldsDefaultEntryHolder { - static final com.google.protobuf.MapEntry - defaultEntry = + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.firestore.v1.Value> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.firestore.v1.Value.getDefaultInstance()); - } - - private com.google.protobuf.MapField fields_; - + .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()); + } + private com.google.protobuf.MapField< + java.lang.String, com.google.firestore.v1.Value> fields_; private com.google.protobuf.MapField - internalGetFields() { + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } @@ -159,8 +86,6 @@ public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -171,22 +96,22 @@ public int getFieldsCount() {
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
+
   @java.lang.Override
-  public boolean containsFields(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsFields(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetFields().getMap().containsKey(key);
   }
-  /** Use {@link #getFieldsMap()} instead. */
+  /**
+   * Use {@link #getFieldsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getFields() {
     return getFieldsMap();
   }
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -198,12 +123,11 @@ public java.util.Map getFields(
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
   @java.lang.Override
+
   public java.util.Map getFieldsMap() {
     return internalGetFields().getMap();
   }
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -215,18 +139,16 @@ public java.util.Map getFieldsM
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
   @java.lang.Override
+
   public com.google.firestore.v1.Value getFieldsOrDefault(
-      java.lang.String key, com.google.firestore.v1.Value defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String key,
+      com.google.firestore.v1.Value defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -238,10 +160,10 @@ public 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)) {
@@ -251,7 +173,6 @@ public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -263,10 +184,15 @@ 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);
-    unknownFields.writeTo(output);
+  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);
   }
 
   @java.lang.Override
@@ -275,17 +201,17 @@ 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__);
-    }
-    size += unknownFields.getSerializedSize();
+    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;
     return size;
   }
@@ -293,15 +219,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.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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!internalGetFields().equals(
+        other.internalGetFields())) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -316,167 +243,157 @@ public int hashCode() {
       hash = (37 * hash) + FIELDS_FIELD_NUMBER;
       hash = (53 * hash) + internalGetFields().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +402,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 @@ -518,39 +435,38 @@ public com.google.firestore.v1.MapValue 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.v1.MapValue) { - return mergeFrom((com.google.firestore.v1.MapValue) other); + return mergeFrom((com.google.firestore.v1.MapValue)other); } else { super.mergeFrom(other); return this; @@ -559,8 +475,9 @@ 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()); - this.mergeUnknownFields(other.unknownFields); + internalGetMutableFields().mergeFrom( + other.internalGetFields()); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -575,38 +492,58 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.MapValue parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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()); + 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) { - parsedMessage = (com.google.firestore.v1.MapValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } - private int bitField0_; - private com.google.protobuf.MapField fields_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.firestore.v1.Value> fields_; private com.google.protobuf.MapField - internalGetFields() { + 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() { - onChanged(); - ; + internalGetMutableFields() { + onChanged();; 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(); @@ -618,8 +555,6 @@ public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -630,22 +565,22 @@ public int getFieldsCount() {
      *
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
+
     @java.lang.Override
-    public boolean containsFields(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsFields(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetFields().getMap().containsKey(key);
     }
-    /** Use {@link #getFieldsMap()} instead. */
+    /**
+     * Use {@link #getFieldsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getFields() {
       return getFieldsMap();
     }
     /**
-     *
-     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -657,12 +592,11 @@ public java.util.Map getFields(
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
     @java.lang.Override
+
     public java.util.Map getFieldsMap() {
       return internalGetFields().getMap();
     }
     /**
-     *
-     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -674,18 +608,16 @@ public java.util.Map getFieldsM
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
     @java.lang.Override
+
     public com.google.firestore.v1.Value getFieldsOrDefault(
-        java.lang.String key, com.google.firestore.v1.Value defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        com.google.firestore.v1.Value defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -697,10 +629,10 @@ public 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)) {
@@ -710,12 +642,11 @@ public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
     }
 
     public Builder clearFields() {
-      internalGetMutableFields().getMutableMap().clear();
+      internalGetMutableFields().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -726,21 +657,23 @@ public Builder clearFields() {
      *
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
-    public Builder removeFields(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableFields().getMutableMap().remove(key);
+
+    public Builder removeFields(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableFields().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableFields() {
+    public java.util.Map
+    getMutableFields() {
       return internalGetMutableFields().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -751,20 +684,19 @@ public java.util.Map getMutable
      *
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
-    public Builder putFields(java.lang.String key, com.google.firestore.v1.Value value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableFields().getMutableMap().put(key, value);
+      internalGetMutableFields().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -775,14 +707,16 @@ public Builder putFields(java.lang.String key, com.google.firestore.v1.Value val
      *
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
+
     public Builder putAllFields(
         java.util.Map values) {
-      internalGetMutableFields().getMutableMap().putAll(values);
+      internalGetMutableFields().getMutableMap()
+          .putAll(values);
       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);
     }
 
@@ -792,12 +726,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();
   }
@@ -806,16 +740,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 {
-          return new MapValue(input, extensionRegistry);
-        }
-      };
+  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;
@@ -830,4 +775,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.MapValue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
similarity index 72%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
index dd07c298cc..a5e4aee170 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
-public interface MapValueOrBuilder
-    extends
+public interface MapValueOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.MapValue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -38,8 +20,6 @@ public interface MapValueOrBuilder
    */
   int getFieldsCount();
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -50,13 +30,15 @@ public interface MapValueOrBuilder
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
-  boolean containsFields(java.lang.String key);
-  /** Use {@link #getFieldsMap()} instead. */
+  boolean containsFields(
+      java.lang.String key);
+  /**
+   * Use {@link #getFieldsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getFields();
+  java.util.Map
+  getFields();
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -67,10 +49,9 @@ public interface MapValueOrBuilder
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
-  java.util.Map getFieldsMap();
+  java.util.Map
+  getFieldsMap();
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -83,13 +64,11 @@ public interface MapValueOrBuilder
    */
 
   /* nullable */
-  com.google.firestore.v1.Value getFieldsOrDefault(
+com.google.firestore.v1.Value getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.firestore.v1.Value defaultValue);
+com.google.firestore.v1.Value defaultValue);
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -100,5 +79,7 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
-  com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key);
+
+  com.google.firestore.v1.Value getFieldsOrThrow(
+      java.lang.String key);
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
similarity index 75%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
index b175ee7f1a..2523d3b6ba 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The request for [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
  * 
* * 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_ = ""; @@ -44,135 +26,37 @@ private PartitionQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartitionQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private PartitionQueryRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - com.google.firestore.v1.StructuredQuery.Builder subBuilder = null; - if (queryTypeCase_ == 2) { - subBuilder = ((com.google.firestore.v1.StructuredQuery) queryType_).toBuilder(); - } - queryType_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.StructuredQuery) queryType_); - queryType_ = subBuilder.buildPartial(); - } - queryTypeCase_ = 2; - break; - } - case 24: - { - partitionCount_ = input.readInt64(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - case 40: - { - pageSize_ = input.readInt32(); - break; - } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (consistencySelectorCase_ == 6) { - subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder(); - } - consistencySelector_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_); - consistencySelector_ = subBuilder.buildPartial(); - } - consistencySelectorCase_ = 6; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_PartitionQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.PartitionQueryRequest.class, - com.google.firestore.v1.PartitionQueryRequest.Builder.class); + com.google.firestore.v1.PartitionQueryRequest.class, com.google.firestore.v1.PartitionQueryRequest.Builder.class); } private int queryTypeCase_ = 0; private java.lang.Object queryType_; - public enum QueryTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(2), QUERYTYPE_NOT_SET(0); private final int value; - private QueryTypeCase(int value) { this.value = value; } @@ -188,35 +72,30 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 2: - return STRUCTURED_QUERY; - case 0: - return QUERYTYPE_NOT_SET; - default: - return null; + case 2: return STRUCTURED_QUERY; + case 0: return QUERYTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public QueryTypeCase getQueryTypeCase() { - return QueryTypeCase.forNumber(queryTypeCase_); + public QueryTypeCase + getQueryTypeCase() { + return QueryTypeCase.forNumber( + queryTypeCase_); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - public enum ConsistencySelectorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_TIME(6), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; - private ConsistencySelectorCase(int value) { this.value = value; } @@ -232,29 +111,25 @@ 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -263,7 +138,6 @@ public ConsistencySelectorCase getConsistencySelectorCase() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -272,15 +146,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -289,15 +162,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -307,8 +181,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int STRUCTURED_QUERY_FIELD_NUMBER = 2; /** - * - * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -317,7 +189,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -325,8 +196,6 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -335,19 +204,16 @@ public boolean hasStructuredQuery() {
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** - * - * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -360,7 +226,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();
   }
@@ -368,8 +234,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
   public static final int PARTITION_COUNT_FIELD_NUMBER = 3;
   private long partitionCount_;
   /**
-   *
-   *
    * 
    * The desired maximum number of partition points.
    * The partitions may be returned across multiple pages of results.
@@ -381,7 +245,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
    * 
* * int64 partition_count = 3; - * * @return The partitionCount. */ @java.lang.Override @@ -392,8 +255,6 @@ public long getPartitionCount() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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.
@@ -408,7 +269,6 @@ public long getPartitionCount() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -417,15 +277,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The `next_page_token` value returned from a previous call to
    * PartitionQuery that may be used to get an additional set of results.
@@ -440,15 +299,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -459,8 +319,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** - * - * *
    * The maximum number of partitions to return in this call, subject to
    * `partition_count`.
@@ -471,7 +329,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -481,15 +338,12 @@ public int getPageSize() { public static final int READ_TIME_FIELD_NUMBER = 6; /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -497,27 +351,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 6) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -528,13 +377,12 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 6) {
-      return (com.google.protobuf.Timestamp) consistencySelector_;
+       return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -546,7 +394,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -565,7 +414,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (consistencySelectorCase_ == 6) {
       output.writeMessage(6, (com.google.protobuf.Timestamp) consistencySelector_);
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -578,25 +427,25 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -604,22 +453,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.PartitionQueryRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.PartitionQueryRequest other =
-        (com.google.firestore.v1.PartitionQueryRequest) obj;
+    com.google.firestore.v1.PartitionQueryRequest other = (com.google.firestore.v1.PartitionQueryRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (getPartitionCount() != other.getPartitionCount()) return false;
-    if (!getPageToken().equals(other.getPageToken())) return false;
-    if (getPageSize() != other.getPageSize()) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (getPartitionCount()
+        != other.getPartitionCount()) return false;
+    if (!getPageToken()
+        .equals(other.getPageToken())) return false;
+    if (getPageSize()
+        != other.getPageSize()) return false;
     if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false;
     switch (queryTypeCase_) {
       case 2:
-        if (!getStructuredQuery().equals(other.getStructuredQuery())) return false;
+        if (!getStructuredQuery()
+            .equals(other.getStructuredQuery())) return false;
         break;
       case 0:
       default:
@@ -627,12 +480,13 @@ 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:
     }
-    if (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -646,7 +500,8 @@ public int hashCode() {
     hash = (37 * hash) + PARENT_FIELD_NUMBER;
     hash = (53 * hash) + getParent().hashCode();
     hash = (37 * hash) + PARTITION_COUNT_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPartitionCount());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getPartitionCount());
     hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER;
     hash = (53 * hash) + getPageToken().hashCode();
     hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
@@ -667,159 +522,152 @@ public int hashCode() {
       case 0:
       default:
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); parent_ = ""; + if (structuredQueryBuilder_ != null) { + structuredQueryBuilder_.clear(); + } partitionCount_ = 0L; pageToken_ = ""; pageSize_ = 0; + if (readTimeBuilder_ != null) { + readTimeBuilder_.clear(); + } queryTypeCase_ = 0; queryType_ = null; consistencySelectorCase_ = 0; @@ -828,9 +676,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 @@ -849,8 +697,7 @@ 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); + com.google.firestore.v1.PartitionQueryRequest result = new com.google.firestore.v1.PartitionQueryRequest(this); result.parent_ = parent_; if (queryTypeCase_ == 2) { if (structuredQueryBuilder_ == null) { @@ -879,39 +726,38 @@ public com.google.firestore.v1.PartitionQueryRequest 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.v1.PartitionQueryRequest) { - return mergeFrom((com.google.firestore.v1.PartitionQueryRequest) other); + return mergeFrom((com.google.firestore.v1.PartitionQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -935,28 +781,24 @@ 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -971,25 +813,72 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.PartitionQueryRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getStructuredQueryFieldBuilder().getBuilder(), + extensionRegistry); + queryTypeCase_ = 2; + break; + } // case 18 + case 24: { + partitionCount_ = input.readInt64(); + + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 40: { + pageSize_ = input.readInt32(); + + 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) { - parsedMessage = (com.google.firestore.v1.PartitionQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -1001,9 +890,10 @@ public Builder clearQueryType() { private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - - public ConsistencySelectorCase getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + public ConsistencySelectorCase + getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber( + consistencySelectorCase_); } public Builder clearConsistencySelector() { @@ -1013,10 +903,9 @@ public Builder clearConsistencySelector() { return this; } + private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -1025,13 +914,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; @@ -1040,8 +929,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -1050,14 +937,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1065,8 +953,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -1075,22 +961,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -1099,18 +983,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -1119,29 +1000,24 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } 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
@@ -1150,7 +1026,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -1158,8 +1033,6 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1168,7 +1041,6 @@ public boolean hasStructuredQuery() {
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override @@ -1186,8 +1058,6 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** - * - * *
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1211,8 +1081,6 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1234,8 +1102,6 @@ public Builder setStructuredQuery(
       return this;
     }
     /**
-     *
-     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1247,13 +1113,10 @@ public Builder setStructuredQuery(
      */
     public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) {
       if (structuredQueryBuilder_ == null) {
-        if (queryTypeCase_ == 2
-            && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) {
-          queryType_ =
-              com.google.firestore.v1.StructuredQuery.newBuilder(
-                      (com.google.firestore.v1.StructuredQuery) queryType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (queryTypeCase_ == 2 &&
+            queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) {
+          queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_)
+              .mergeFrom(value).buildPartial();
         } else {
           queryType_ = value;
         }
@@ -1269,8 +1132,6 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu
       return this;
     }
     /**
-     *
-     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1297,8 +1158,6 @@ public Builder clearStructuredQuery() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1312,8 +1171,6 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder
       return getStructuredQueryFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1335,8 +1192,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1347,34 +1202,26 @@ 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());
         queryType_ = null;
       }
       queryTypeCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       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.
@@ -1386,7 +1233,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
      * 
* * int64 partition_count = 3; - * * @return The partitionCount. */ @java.lang.Override @@ -1394,8 +1240,6 @@ public long getPartitionCount() { return partitionCount_; } /** - * - * *
      * The desired maximum number of partition points.
      * The partitions may be returned across multiple pages of results.
@@ -1407,19 +1251,16 @@ public long getPartitionCount() {
      * 
* * int64 partition_count = 3; - * * @param value The partitionCount to set. * @return This builder for chaining. */ public Builder setPartitionCount(long value) { - + partitionCount_ = value; onChanged(); return this; } /** - * - * *
      * The desired maximum number of partition points.
      * The partitions may be returned across multiple pages of results.
@@ -1431,11 +1272,10 @@ public Builder setPartitionCount(long value) {
      * 
* * int64 partition_count = 3; - * * @return This builder for chaining. */ public Builder clearPartitionCount() { - + partitionCount_ = 0L; onChanged(); return this; @@ -1443,8 +1283,6 @@ public Builder clearPartitionCount() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `next_page_token` value returned from a previous call to
      * PartitionQuery that may be used to get an additional set of results.
@@ -1459,13 +1297,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; @@ -1474,8 +1312,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `next_page_token` value returned from a previous call to
      * PartitionQuery that may be used to get an additional set of results.
@@ -1490,14 +1326,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1505,8 +1342,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `next_page_token` value returned from a previous call to
      * PartitionQuery that may be used to get an additional set of results.
@@ -1521,22 +1356,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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.
@@ -1551,18 +1384,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); 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.
@@ -1577,25 +1407,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1606,7 +1434,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -1614,8 +1441,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1626,19 +1451,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 5; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1649,31 +1471,24 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 5; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } 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 @@ -1681,15 +1496,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ @java.lang.Override @@ -1707,8 +1519,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1730,8 +1540,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1739,7 +1547,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 6;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1750,8 +1559,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1761,13 +1568,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 6
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 6 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1783,8 +1587,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1809,8 +1611,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1822,8 +1622,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1843,8 +1641,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1853,32 +1649,26 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 6;
-      onChanged();
-      ;
+      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);
     }
 
@@ -1888,12 +1678,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();
   }
@@ -1902,16 +1692,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 {
-          return new PartitionQueryRequest(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1926,4 +1727,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.PartitionQueryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
similarity index 85%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
index bbd49e9aec..b9a154e114 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface PartitionQueryRequestOrBuilder
-    extends
+public interface PartitionQueryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.PartitionQueryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -34,13 +16,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -49,14 +28,12 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -65,13 +42,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** - * - * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -80,13 +54,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** - * - * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -99,8 +70,6 @@ public interface PartitionQueryRequestOrBuilder
   com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder();
 
   /**
-   *
-   *
    * 
    * The desired maximum number of partition points.
    * The partitions may be returned across multiple pages of results.
@@ -112,14 +81,11 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * int64 partition_count = 3; - * * @return The partitionCount. */ long getPartitionCount(); /** - * - * *
    * The `next_page_token` value returned from a previous call to
    * PartitionQuery that may be used to get an additional set of results.
@@ -134,13 +100,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The `next_page_token` value returned from a previous call to
    * PartitionQuery that may be used to get an additional set of results.
@@ -155,14 +118,12 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of partitions to return in this call, subject to
    * `partition_count`.
@@ -173,40 +134,31 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -218,6 +170,5 @@ public interface PartitionQueryRequestOrBuilder
 
   public com.google.firestore.v1.PartitionQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  public com.google.firestore.v1.PartitionQueryRequest.ConsistencySelectorCase
-      getConsistencySelectorCase();
+  public com.google.firestore.v1.PartitionQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
similarity index 79%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
index 00b0e4fe3f..545f71b3b0 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The response for [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
  * 
* * 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_ = ""; @@ -44,95 +26,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private PartitionQueryResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - partitions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - partitions_.add( - input.readMessage(com.google.firestore.v1.Cursor.parser(), extensionRegistry)); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - partitions_ = java.util.Collections.unmodifiableList(partitions_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private java.util.List partitions_; /** - * - * *
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -157,8 +76,6 @@ public java.util.List getPartitionsList() {
     return partitions_;
   }
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -179,13 +96,11 @@ public java.util.List getPartitionsList() {
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPartitionsOrBuilderList() {
     return partitions_;
   }
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -210,8 +125,6 @@ public int getPartitionsCount() {
     return partitions_.size();
   }
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -236,8 +149,6 @@ public com.google.firestore.v1.Cursor getPartitions(int index) {
     return partitions_.get(index);
   }
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -258,15 +169,14 @@ 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;
   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.
@@ -274,7 +184,6 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -283,15 +192,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A page token that may be used to request an additional set of results, up
    * to the number specified by `partition_count` in the PartitionQuery request.
@@ -299,15 +207,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -316,7 +225,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,14 +236,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 { for (int i = 0; i < partitions_.size(); i++) { output.writeMessage(1, partitions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -345,12 +254,13 @@ 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_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -358,17 +268,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.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 (!unknownFields.equals(other.unknownFields)) 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; } @@ -385,168 +296,154 @@ public int hashCode() { } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getPartitionsFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); if (partitionsBuilder_ == null) { partitions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + partitions_ = null; partitionsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; return this; } @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 @@ -565,8 +462,7 @@ 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); int from_bitField0_ = bitField0_; if (partitionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -586,39 +482,38 @@ public com.google.firestore.v1.PartitionQueryResponse 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.v1.PartitionQueryResponse) { - return mergeFrom((com.google.firestore.v1.PartitionQueryResponse) other); + return mergeFrom((com.google.firestore.v1.PartitionQueryResponse)other); } else { super.mergeFrom(other); return this; @@ -645,10 +540,9 @@ public Builder mergeFrom(com.google.firestore.v1.PartitionQueryResponse other) { partitionsBuilder_ = null; partitions_ = other.partitions_; bitField0_ = (bitField0_ & ~0x00000001); - partitionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPartitionsFieldBuilder() - : null; + partitionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPartitionsFieldBuilder() : null; } else { partitionsBuilder_.addAllMessages(other.partitions_); } @@ -658,7 +552,7 @@ public Builder mergeFrom(com.google.firestore.v1.PartitionQueryResponse other) { nextPageToken_ = other.nextPageToken_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -673,41 +567,65 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.PartitionQueryResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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(); + + 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) { - parsedMessage = (com.google.firestore.v1.PartitionQueryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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
@@ -735,8 +653,6 @@ public java.util.List getPartitionsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -764,8 +680,6 @@ public int getPartitionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -793,8 +707,6 @@ public com.google.firestore.v1.Cursor getPartitions(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -814,7 +726,8 @@ public com.google.firestore.v1.Cursor getPartitions(int index) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public Builder setPartitions(int index, com.google.firestore.v1.Cursor value) {
+    public Builder setPartitions(
+        int index, com.google.firestore.v1.Cursor value) {
       if (partitionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -828,8 +741,6 @@ public Builder setPartitions(int index, com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -861,8 +772,6 @@ public Builder setPartitions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -896,8 +805,6 @@ public Builder addPartitions(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -917,7 +824,8 @@ public Builder addPartitions(com.google.firestore.v1.Cursor value) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public Builder addPartitions(int index, com.google.firestore.v1.Cursor value) {
+    public Builder addPartitions(
+        int index, com.google.firestore.v1.Cursor value) {
       if (partitionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -931,8 +839,6 @@ public Builder addPartitions(int index, com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -952,7 +858,8 @@ public Builder addPartitions(int index, com.google.firestore.v1.Cursor value) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public Builder addPartitions(com.google.firestore.v1.Cursor.Builder builderForValue) {
+    public Builder addPartitions(
+        com.google.firestore.v1.Cursor.Builder builderForValue) {
       if (partitionsBuilder_ == null) {
         ensurePartitionsIsMutable();
         partitions_.add(builderForValue.build());
@@ -963,8 +870,6 @@ public Builder addPartitions(com.google.firestore.v1.Cursor.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -996,8 +901,6 @@ public Builder addPartitions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1021,7 +924,8 @@ public Builder addAllPartitions(
         java.lang.Iterable values) {
       if (partitionsBuilder_ == null) {
         ensurePartitionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partitions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, partitions_);
         onChanged();
       } else {
         partitionsBuilder_.addAllMessages(values);
@@ -1029,8 +933,6 @@ public Builder addAllPartitions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1061,8 +963,6 @@ public Builder clearPartitions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1093,8 +993,6 @@ public Builder removePartitions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1114,12 +1012,11 @@ public Builder removePartitions(int index) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public com.google.firestore.v1.Cursor.Builder getPartitionsBuilder(int index) {
+    public com.google.firestore.v1.Cursor.Builder getPartitionsBuilder(
+        int index) {
       return getPartitionsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1139,16 +1036,14 @@ public com.google.firestore.v1.Cursor.Builder getPartitionsBuilder(int index) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index) {
+    public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
+        int index) {
       if (partitionsBuilder_ == null) {
-        return partitions_.get(index);
-      } else {
+        return partitions_.get(index);  } else {
         return partitionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1168,8 +1063,8 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index)
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public java.util.List
-        getPartitionsOrBuilderList() {
+    public java.util.List 
+         getPartitionsOrBuilderList() {
       if (partitionsBuilder_ != null) {
         return partitionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1177,8 +1072,6 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1199,12 +1092,10 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index)
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
     public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder() {
-      return getPartitionsFieldBuilder()
-          .addBuilder(com.google.firestore.v1.Cursor.getDefaultInstance());
+      return getPartitionsFieldBuilder().addBuilder(
+          com.google.firestore.v1.Cursor.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1224,13 +1115,12 @@ public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder() {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder(int index) {
-      return getPartitionsFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.Cursor.getDefaultInstance());
+    public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder(
+        int index) {
+      return getPartitionsFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.Cursor.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1250,22 +1140,20 @@ public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder(int index) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public java.util.List getPartitionsBuilderList() {
+    public java.util.List 
+         getPartitionsBuilderList() {
       return getPartitionsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Cursor,
-            com.google.firestore.v1.Cursor.Builder,
-            com.google.firestore.v1.CursorOrBuilder>
+        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> 
         getPartitionsFieldBuilder() {
       if (partitionsBuilder_ == null) {
-        partitionsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.Cursor,
-                com.google.firestore.v1.Cursor.Builder,
-                com.google.firestore.v1.CursorOrBuilder>(
-                partitions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        partitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder>(
+                partitions_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         partitions_ = null;
       }
       return partitionsBuilder_;
@@ -1273,8 +1161,6 @@ public java.util.List getPartitionsBuild
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * A page token that may be used to request an additional set of results, up
      * to the number specified by `partition_count` in the PartitionQuery request.
@@ -1282,13 +1168,13 @@ public java.util.List getPartitionsBuild
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1297,8 +1183,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A page token that may be used to request an additional set of results, up
      * to the number specified by `partition_count` in the PartitionQuery request.
@@ -1306,14 +1190,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1321,8 +1206,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A page token that may be used to request an additional set of results, up
      * to the number specified by `partition_count` in the PartitionQuery request.
@@ -1330,22 +1213,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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.
@@ -1353,18 +1234,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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.
@@ -1372,23 +1250,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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1398,12 +1276,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(); } @@ -1412,16 +1290,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 { - return new PartitionQueryResponse(input, extensionRegistry); - } - }; + 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; @@ -1436,4 +1325,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.PartitionQueryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java similarity index 85% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java index f92ce225a2..640fc20418 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface PartitionQueryResponseOrBuilder - extends +public interface PartitionQueryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.PartitionQueryResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -45,10 +27,9 @@ public interface PartitionQueryResponseOrBuilder
    *
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
-  java.util.List getPartitionsList();
+  java.util.List 
+      getPartitionsList();
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -70,8 +51,6 @@ public interface PartitionQueryResponseOrBuilder
    */
   com.google.firestore.v1.Cursor getPartitions(int index);
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -93,8 +72,6 @@ public interface PartitionQueryResponseOrBuilder
    */
   int getPartitionsCount();
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -114,10 +91,9 @@ public interface PartitionQueryResponseOrBuilder
    *
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
-  java.util.List getPartitionsOrBuilderList();
+  java.util.List 
+      getPartitionsOrBuilderList();
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -137,11 +113,10 @@ public interface PartitionQueryResponseOrBuilder
    *
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
-  com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index);
+  com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A page token that may be used to request an additional set of results, up
    * to the number specified by `partition_count` in the PartitionQuery request.
@@ -149,13 +124,10 @@ public interface PartitionQueryResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A page token that may be used to request an additional set of results, up
    * to the number specified by `partition_count` in the PartitionQuery request.
@@ -163,8 +135,8 @@ public interface PartitionQueryResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java similarity index 66% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java index abfccff77d..d8a62d8500 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java @@ -1,142 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; /** - * - * *
  * A precondition on a document, used for conditional operations.
  * 
* * Protobuf type {@code google.firestore.v1.Precondition} */ -public final class Precondition extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Precondition extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Precondition) PreconditionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Precondition.newBuilder() to construct. private Precondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Precondition() {} + private Precondition() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Precondition(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private Precondition( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - conditionType_ = input.readBool(); - conditionTypeCase_ = 1; - break; - } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (conditionTypeCase_ == 2) { - subBuilder = ((com.google.protobuf.Timestamp) conditionType_).toBuilder(); - } - conditionType_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) conditionType_); - conditionType_ = subBuilder.buildPartial(); - } - conditionTypeCase_ = 2; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_Precondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_Precondition_fieldAccessorTable + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Precondition.class, - com.google.firestore.v1.Precondition.Builder.class); + com.google.firestore.v1.Precondition.class, com.google.firestore.v1.Precondition.Builder.class); } private int conditionTypeCase_ = 0; private java.lang.Object conditionType_; - public enum ConditionTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXISTS(1), UPDATE_TIME(2), CONDITIONTYPE_NOT_SET(0); private final int value; - private ConditionTypeCase(int value) { this.value = value; } @@ -152,37 +71,31 @@ public static ConditionTypeCase valueOf(int value) { public static ConditionTypeCase forNumber(int value) { switch (value) { - case 1: - return EXISTS; - case 2: - return UPDATE_TIME; - case 0: - return CONDITIONTYPE_NOT_SET; - default: - return null; + case 1: return EXISTS; + case 2: return UPDATE_TIME; + case 0: return CONDITIONTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConditionTypeCase getConditionTypeCase() { - return ConditionTypeCase.forNumber(conditionTypeCase_); + public ConditionTypeCase + getConditionTypeCase() { + return ConditionTypeCase.forNumber( + conditionTypeCase_); } public static final int EXISTS_FIELD_NUMBER = 1; /** - * - * *
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; - * * @return Whether the exists field is set. */ @java.lang.Override @@ -190,15 +103,12 @@ public boolean hasExists() { return conditionTypeCase_ == 1; } /** - * - * *
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; - * * @return The exists. */ @java.lang.Override @@ -211,15 +121,12 @@ public boolean getExists() { public static final int UPDATE_TIME_FIELD_NUMBER = 2; /** - * - * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -227,27 +134,22 @@ public boolean hasUpdateTime() { return conditionTypeCase_ == 2; } /** - * - * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return The updateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdateTime() { if (conditionTypeCase_ == 2) { - return (com.google.protobuf.Timestamp) conditionType_; + return (com.google.protobuf.Timestamp) conditionType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
@@ -258,13 +160,12 @@ public com.google.protobuf.Timestamp getUpdateTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
     if (conditionTypeCase_ == 2) {
-      return (com.google.protobuf.Timestamp) conditionType_;
+       return (com.google.protobuf.Timestamp) conditionType_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -276,14 +177,16 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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_);
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -293,16 +196,15 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -310,7 +212,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.Precondition)) {
       return super.equals(obj);
@@ -320,15 +222,17 @@ 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:
     }
-    if (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -342,7 +246,8 @@ public int hashCode() {
     switch (conditionTypeCase_) {
       case 1:
         hash = (37 * hash) + EXISTS_FIELD_NUMBER;
-        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExists());
+        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+            getExists());
         break;
       case 2:
         hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER;
@@ -351,159 +256,150 @@ public int hashCode() {
       case 0:
       default:
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.clear(); + } conditionTypeCase_ = 0; conditionType_ = null; return this; } @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 @@ -542,39 +438,38 @@ public com.google.firestore.v1.Precondition 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.v1.Precondition) { - return mergeFrom((com.google.firestore.v1.Precondition) other); + return mergeFrom((com.google.firestore.v1.Precondition)other); } else { super.mergeFrom(other); return this; @@ -584,22 +479,19 @@ 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -614,25 +506,50 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.Precondition parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.firestore.v1.Precondition) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -642,31 +559,26 @@ public Builder clearConditionType() { 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 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() { @@ -676,15 +588,12 @@ 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. */ @@ -695,15 +604,12 @@ 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() { @@ -716,20 +622,14 @@ public Builder clearExists() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
      * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -737,15 +637,12 @@ public boolean hasUpdateTime() { return conditionTypeCase_ == 2; } /** - * - * *
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
      * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return The updateTime. */ @java.lang.Override @@ -763,8 +660,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { } } /** - * - * *
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -786,8 +681,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -795,7 +688,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 2;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         conditionType_ = builderForValue.build();
         onChanged();
@@ -806,8 +700,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -817,13 +709,10 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (conditionTypeCase_ == 2
-            && conditionType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          conditionType_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) conditionType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (conditionTypeCase_ == 2 &&
+            conditionType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          conditionType_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) conditionType_)
+              .mergeFrom(value).buildPartial();
         } else {
           conditionType_ = value;
         }
@@ -839,8 +728,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -865,8 +752,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -878,8 +763,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -899,8 +782,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -909,30 +790,26 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
         if (!(conditionTypeCase_ == 2)) {
           conditionType_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        updateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) conditionType_, getParentForChildren(), isClean());
+        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) conditionType_,
+                getParentForChildren(),
+                isClean());
         conditionType_ = null;
       }
       conditionTypeCase_ = 2;
-      onChanged();
-      ;
+      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);
     }
 
@@ -942,12 +819,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();
   }
@@ -956,16 +833,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 {
-          return new Precondition(input, extensionRegistry);
-        }
-      };
+  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;
@@ -980,4 +868,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.Precondition getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
similarity index 71%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
index 7926afa179..af3014ef1a 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
@@ -1,84 +1,54 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/common.proto
 
 package com.google.firestore.v1;
 
-public interface PreconditionOrBuilder
-    extends
+public interface PreconditionOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.Precondition)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; - * * @return Whether the exists field is set. */ boolean hasExists(); /** - * - * *
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; - * * @return The exists. */ boolean getExists(); /** - * - * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java
new file mode 100644
index 0000000000..9c4bcb4513
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java
@@ -0,0 +1,258 @@
+// 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\"\266\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\311\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\"-\n\010Operator" +
+      "\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001\032\230\003\n\013" +
+      "FieldFilter\022B\n\005field\030\001 \001(\01323.google.fire" +
+      "store.v1.StructuredQuery.FieldReference\022" +
+      "E\n\002op\030\002 \001(\01629.google.firestore.v1.Struct" +
+      "uredQuery.FieldFilter.Operator\022)\n\005value\030" +
+      "\003 \001(\0132\032.google.firestore.v1.Value\"\322\001\n\010Op" +
+      "erator\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\014GREAT" +
+      "ER_THAN\020\003\022\031\n\025GREATER_THAN_OR_EQUAL\020\004\022\t\n\005" +
+      "EQUAL\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\006NO" +
+      "T_IN\020\n\032\212\002\n\013UnaryFilter\022E\n\002op\030\001 \001(\01629.goo" +
+      "gle.firestore.v1.StructuredQuery.UnaryFi" +
+      "lter.Operator\022D\n\005field\030\002 \001(\01323.google.fi" +
+      "restore.v1.StructuredQuery.FieldReferenc" +
+      "eH\000\"^\n\010Operator\022\030\n\024OPERATOR_UNSPECIFIED\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_type\032\216\001\n\005" +
+      "Order\022B\n\005field\030\001 \001(\01323.google.firestore." +
+      "v1.StructuredQuery.FieldReference\022A\n\tdir" +
+      "ection\030\002 \001(\0162..google.firestore.v1.Struc" +
+      "turedQuery.Direction\032$\n\016FieldReference\022\022" +
+      "\n\nfield_path\030\002 \001(\t\032Q\n\nProjection\022C\n\006fiel" +
+      "ds\030\002 \003(\01323.google.firestore.v1.Structure" +
+      "dQuery.FieldReference\"E\n\tDirection\022\031\n\025DI" +
+      "RECTION_UNSPECIFIED\020\000\022\r\n\tASCENDING\020\001\022\016\n\n" +
+      "DESCENDING\020\002\"\202\003\n\032StructuredAggregationQu" +
+      "ery\022@\n\020structured_query\030\001 \001(\0132$.google.f" +
+      "irestore.v1.StructuredQueryH\000\022V\n\014aggrega" +
+      "tions\030\003 \003(\0132;.google.firestore.v1.Struct" +
+      "uredAggregationQuery.AggregationB\003\340A\001\032\273\001" +
+      "\n\013Aggregation\022R\n\005count\030\001 \001(\0132A.google.fi" +
+      "restore.v1.StructuredAggregationQuery.Ag" +
+      "gregation.CountH\000\022\022\n\005alias\030\007 \001(\tB\003\340A\001\0328\n" +
+      "\005Count\022/\n\005up_to\030\001 \001(\0132\033.google.protobuf." +
+      "Int64ValueB\003\340A\001B\n\n\010operatorB\014\n\nquery_typ" +
+      "e\"D\n\006Cursor\022*\n\006values\030\001 \003(\0132\032.google.fir" +
+      "estore.v1.Value\022\016\n\006before\030\002 \001(\010B\303\001\n\027com." +
+      "google.firestore.v1B\nQueryProtoP\001Z
  * The request for [Firestore.Rollback][google.firestore.v1.Firestore.Rollback].
  * 
* * Protobuf type {@code google.firestore.v1.RollbackRequest} */ -public final class RollbackRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RollbackRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.RollbackRequest) RollbackRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RollbackRequest.newBuilder() to construct. private RollbackRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RollbackRequest() { database_ = ""; transaction_ = com.google.protobuf.ByteString.EMPTY; @@ -44,93 +26,38 @@ private RollbackRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RollbackRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private RollbackRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - database_ = s; - break; - } - case 18: - { - transaction_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -139,30 +66,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -173,14 +100,11 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.protobuf.ByteString transaction_; /** - * - * *
    * Required. The transaction to roll back.
    * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transaction. */ @java.lang.Override @@ -189,7 +113,6 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,14 +124,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_); } if (!transaction_.isEmpty()) { output.writeBytes(2, transaction_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -221,9 +145,10 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -231,16 +156,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.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 (!unknownFields.equals(other.unknownFields)) 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; } @@ -255,148 +182,135 @@ public int hashCode() { hash = (53 * hash) + getDatabase().hashCode(); hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; hash = (53 * hash) + getTransaction().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RollbackRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_descriptor; } @java.lang.Override @@ -429,8 +343,7 @@ 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); + com.google.firestore.v1.RollbackRequest result = new com.google.firestore.v1.RollbackRequest(this); result.database_ = database_; result.transaction_ = transaction_; onBuilt(); @@ -441,39 +354,38 @@ public com.google.firestore.v1.RollbackRequest 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.v1.RollbackRequest) { - return mergeFrom((com.google.firestore.v1.RollbackRequest) other); + return mergeFrom((com.google.firestore.v1.RollbackRequest)other); } else { super.mergeFrom(other); return this; @@ -489,7 +401,7 @@ public Builder mergeFrom(com.google.firestore.v1.RollbackRequest other) { if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) { setTransaction(other.getTransaction()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -504,37 +416,58 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.RollbackRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + database_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + transaction_ = input.readBytes(); + + 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) { - parsedMessage = (com.google.firestore.v1.RollbackRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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; @@ -543,22 +476,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -566,64 +498,57 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -631,14 +556,11 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transaction. */ @java.lang.Override @@ -646,46 +568,40 @@ 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(); - } - + throw new NullPointerException(); + } + transaction_ = value; 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() { - + transaction_ = getDefaultInstance().getTransaction(); 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); } @@ -695,12 +611,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(); } @@ -709,16 +625,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 { - return new RollbackRequest(input, extensionRegistry); - } - }; + 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; @@ -733,4 +660,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.RollbackRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java index 5dae3e0b7b..30c7378eef 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java @@ -1,64 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface RollbackRequestOrBuilder - extends +public interface RollbackRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.RollbackRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * Required. The transaction to roll back.
    * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java similarity index 70% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java index 7ab4182bd7..860c399abe 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java @@ -1,187 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
  * 
* * Protobuf type {@code google.firestore.v1.RunAggregationQueryRequest} */ -public final class RunAggregationQueryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunAggregationQueryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.RunAggregationQueryRequest) RunAggregationQueryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunAggregationQueryRequest.newBuilder() to construct. private RunAggregationQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunAggregationQueryRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunAggregationQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private RunAggregationQueryRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - com.google.firestore.v1.StructuredAggregationQuery.Builder subBuilder = null; - if (queryTypeCase_ == 2) { - subBuilder = - ((com.google.firestore.v1.StructuredAggregationQuery) queryType_).toBuilder(); - } - queryType_ = - input.readMessage( - com.google.firestore.v1.StructuredAggregationQuery.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.firestore.v1.StructuredAggregationQuery) queryType_); - queryType_ = subBuilder.buildPartial(); - } - queryTypeCase_ = 2; - break; - } - case 34: - { - consistencySelector_ = input.readBytes(); - consistencySelectorCase_ = 4; - break; - } - case 42: - { - com.google.firestore.v1.TransactionOptions.Builder subBuilder = null; - if (consistencySelectorCase_ == 5) { - subBuilder = - ((com.google.firestore.v1.TransactionOptions) consistencySelector_).toBuilder(); - } - consistencySelector_ = - input.readMessage( - com.google.firestore.v1.TransactionOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.firestore.v1.TransactionOptions) consistencySelector_); - consistencySelector_ = subBuilder.buildPartial(); - } - consistencySelectorCase_ = 5; - break; - } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (consistencySelectorCase_ == 6) { - subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder(); - } - consistencySelector_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_); - consistencySelector_ = subBuilder.buildPartial(); - } - consistencySelectorCase_ = 6; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RunAggregationQueryRequest.class, - com.google.firestore.v1.RunAggregationQueryRequest.Builder.class); + com.google.firestore.v1.RunAggregationQueryRequest.class, com.google.firestore.v1.RunAggregationQueryRequest.Builder.class); } private int queryTypeCase_ = 0; private java.lang.Object queryType_; - public enum QueryTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_AGGREGATION_QUERY(2), QUERYTYPE_NOT_SET(0); private final int value; - private QueryTypeCase(int value) { this.value = value; } @@ -197,37 +71,32 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 2: - return STRUCTURED_AGGREGATION_QUERY; - case 0: - return QUERYTYPE_NOT_SET; - default: - return null; + case 2: return STRUCTURED_AGGREGATION_QUERY; + case 0: return QUERYTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public QueryTypeCase getQueryTypeCase() { - return QueryTypeCase.forNumber(queryTypeCase_); + public QueryTypeCase + getQueryTypeCase() { + return QueryTypeCase.forNumber( + queryTypeCase_); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - public enum ConsistencySelectorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(4), NEW_TRANSACTION(5), READ_TIME(6), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; - private ConsistencySelectorCase(int value) { this.value = value; } @@ -243,33 +112,27 @@ 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -280,7 +143,6 @@ public ConsistencySelectorCase getConsistencySelectorCase() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -289,15 +151,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -308,15 +169,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -326,14 +188,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int STRUCTURED_AGGREGATION_QUERY_FIELD_NUMBER = 2; /** - * - * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * * @return Whether the structuredAggregationQuery field is set. */ @java.lang.Override @@ -341,26 +200,21 @@ public boolean hasStructuredAggregationQuery() { return queryTypeCase_ == 2; } /** - * - * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * * @return The structuredAggregationQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregationQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; + return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; } return com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance(); } /** - * - * *
    * An aggregation query.
    * 
@@ -368,25 +222,21 @@ public com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregati * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQueryOrBuilder - getStructuredAggregationQueryOrBuilder() { + public com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructuredAggregationQueryOrBuilder() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; + return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; } return com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance(); } public static final int TRANSACTION_FIELD_NUMBER = 4; /** - * - * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -394,15 +244,12 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** - * - * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; - * * @return The transaction. */ @java.lang.Override @@ -415,8 +262,6 @@ public com.google.protobuf.ByteString getTransaction() { public static final int NEW_TRANSACTION_FIELD_NUMBER = 5; /** - * - * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -424,7 +269,6 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -432,8 +276,6 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** - * - * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -441,19 +283,16 @@ public boolean hasNewTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return The newTransaction. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions getNewTransaction() { if (consistencySelectorCase_ == 5) { - return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; } return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -465,15 +304,13 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() {
   @java.lang.Override
   public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
     if (consistencySelectorCase_ == 5) {
-      return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+       return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
     }
     return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * Executes the query at the given timestamp.
    * Requires:
@@ -481,7 +318,6 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -489,8 +325,6 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** - * - * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -498,19 +332,16 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 6) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -522,13 +353,12 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 6) {
-      return (com.google.protobuf.Timestamp) consistencySelector_;
+       return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -540,7 +370,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -548,7 +379,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       output.writeMessage(2, (com.google.firestore.v1.StructuredAggregationQuery) queryType_);
     }
     if (consistencySelectorCase_ == 4) {
-      output.writeBytes(4, (com.google.protobuf.ByteString) consistencySelector_);
+      output.writeBytes(
+          4, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
       output.writeMessage(5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
@@ -556,7 +388,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (consistencySelectorCase_ == 6) {
       output.writeMessage(6, (com.google.protobuf.Timestamp) consistencySelector_);
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -569,26 +401,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.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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -596,20 +425,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:
@@ -617,18 +446,21 @@ 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:
     }
-    if (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -665,153 +497,149 @@ public int hashCode() {
       case 0:
       default:
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     return hash;
   }
 
   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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); parent_ = ""; + if (structuredAggregationQueryBuilder_ != null) { + structuredAggregationQueryBuilder_.clear(); + } + if (newTransactionBuilder_ != null) { + newTransactionBuilder_.clear(); + } + if (readTimeBuilder_ != null) { + readTimeBuilder_.clear(); + } queryTypeCase_ = 0; queryType_ = null; consistencySelectorCase_ = 0; @@ -820,9 +648,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 @@ -841,8 +669,7 @@ 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); + com.google.firestore.v1.RunAggregationQueryRequest result = new com.google.firestore.v1.RunAggregationQueryRequest(this); result.parent_ = parent_; if (queryTypeCase_ == 2) { if (structuredAggregationQueryBuilder_ == null) { @@ -878,39 +705,38 @@ public com.google.firestore.v1.RunAggregationQueryRequest 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.v1.RunAggregationQueryRequest) { - return mergeFrom((com.google.firestore.v1.RunAggregationQueryRequest) other); + return mergeFrom((com.google.firestore.v1.RunAggregationQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -918,45 +744,38 @@ 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_; 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -971,26 +790,69 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.RunAggregationQueryRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + parent_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = - (com.google.firestore.v1.RunAggregationQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -1002,9 +864,10 @@ public Builder clearQueryType() { private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - - public ConsistencySelectorCase getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + public ConsistencySelectorCase + getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber( + consistencySelectorCase_); } public Builder clearConsistencySelector() { @@ -1014,10 +877,9 @@ public Builder clearConsistencySelector() { return this; } + private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1028,13 +890,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; @@ -1043,8 +905,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1055,14 +915,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1070,8 +931,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1082,22 +941,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1108,18 +965,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1130,36 +984,29 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } 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 @@ -1167,15 +1014,11 @@ public boolean hasStructuredAggregationQuery() { return queryTypeCase_ == 2; } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; * @return The structuredAggregationQuery. */ @java.lang.Override @@ -1193,17 +1036,13 @@ public com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregati } } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ - public Builder setStructuredAggregationQuery( - com.google.firestore.v1.StructuredAggregationQuery value) { + public Builder setStructuredAggregationQuery(com.google.firestore.v1.StructuredAggregationQuery value) { if (structuredAggregationQueryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1217,14 +1056,11 @@ public Builder setStructuredAggregationQuery( return this; } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ public Builder setStructuredAggregationQuery( com.google.firestore.v1.StructuredAggregationQuery.Builder builderForValue) { @@ -1238,26 +1074,18 @@ public Builder setStructuredAggregationQuery( return this; } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ - public Builder mergeStructuredAggregationQuery( - com.google.firestore.v1.StructuredAggregationQuery value) { + public Builder mergeStructuredAggregationQuery(com.google.firestore.v1.StructuredAggregationQuery value) { if (structuredAggregationQueryBuilder_ == null) { - if (queryTypeCase_ == 2 - && queryType_ - != com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance()) { - queryType_ = - com.google.firestore.v1.StructuredAggregationQuery.newBuilder( - (com.google.firestore.v1.StructuredAggregationQuery) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 2 && + queryType_ != com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance()) { + queryType_ = com.google.firestore.v1.StructuredAggregationQuery.newBuilder((com.google.firestore.v1.StructuredAggregationQuery) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -1273,14 +1101,11 @@ public Builder mergeStructuredAggregationQuery( return this; } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ public Builder clearStructuredAggregationQuery() { if (structuredAggregationQueryBuilder_ == null) { @@ -1299,32 +1124,24 @@ public Builder clearStructuredAggregationQuery() { return this; } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ - public com.google.firestore.v1.StructuredAggregationQuery.Builder - getStructuredAggregationQueryBuilder() { + public com.google.firestore.v1.StructuredAggregationQuery.Builder getStructuredAggregationQueryBuilder() { return getStructuredAggregationQueryFieldBuilder().getBuilder(); } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQueryOrBuilder - getStructuredAggregationQueryOrBuilder() { + public com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructuredAggregationQueryOrBuilder() { if ((queryTypeCase_ == 2) && (structuredAggregationQueryBuilder_ != null)) { return structuredAggregationQueryBuilder_.getMessageOrBuilder(); } else { @@ -1335,65 +1152,50 @@ public Builder clearStructuredAggregationQuery() { } } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery, - com.google.firestore.v1.StructuredAggregationQuery.Builder, - com.google.firestore.v1.StructuredAggregationQueryOrBuilder> + com.google.firestore.v1.StructuredAggregationQuery, com.google.firestore.v1.StructuredAggregationQuery.Builder, com.google.firestore.v1.StructuredAggregationQueryOrBuilder> getStructuredAggregationQueryFieldBuilder() { if (structuredAggregationQueryBuilder_ == null) { if (!(queryTypeCase_ == 2)) { queryType_ = com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance(); } - structuredAggregationQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery, - com.google.firestore.v1.StructuredAggregationQuery.Builder, - com.google.firestore.v1.StructuredAggregationQueryOrBuilder>( + structuredAggregationQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredAggregationQuery, com.google.firestore.v1.StructuredAggregationQuery.Builder, com.google.firestore.v1.StructuredAggregationQueryOrBuilder>( (com.google.firestore.v1.StructuredAggregationQuery) queryType_, getParentForChildren(), isClean()); queryType_ = null; } queryTypeCase_ = 2; - onChanged(); - ; + onChanged();; return structuredAggregationQueryBuilder_; } /** - * - * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** - * - * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; - * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1403,37 +1205,31 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - consistencySelectorCase_ = 4; + throw new NullPointerException(); + } + consistencySelectorCase_ = 4; consistencySelector_ = value; onChanged(); return this; } /** - * - * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1446,13 +1242,8 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions, - com.google.firestore.v1.TransactionOptions.Builder, - com.google.firestore.v1.TransactionOptionsOrBuilder> - newTransactionBuilder_; + com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> newTransactionBuilder_; /** - * - * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1460,7 +1251,6 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1468,8 +1258,6 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** - * - * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1477,7 +1265,6 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return The newTransaction. */ @java.lang.Override @@ -1495,8 +1282,6 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** - * - * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1519,8 +1304,6 @@ public Builder setNewTransaction(com.google.firestore.v1.TransactionOptions valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1541,8 +1324,6 @@ public Builder setNewTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1553,14 +1334,10 @@ public Builder setNewTransaction(
      */
     public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions value) {
       if (newTransactionBuilder_ == null) {
-        if (consistencySelectorCase_ == 5
-            && consistencySelector_
-                != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.firestore.v1.TransactionOptions.newBuilder(
-                      (com.google.firestore.v1.TransactionOptions) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 5 &&
+            consistencySelector_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
+          consistencySelector_ = com.google.firestore.v1.TransactionOptions.newBuilder((com.google.firestore.v1.TransactionOptions) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1576,8 +1353,6 @@ public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions va
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1603,8 +1378,6 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1617,8 +1390,6 @@ public com.google.firestore.v1.TransactionOptions.Builder getNewTransactionBuild
       return getNewTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1639,8 +1410,6 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1650,38 +1419,27 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return newTransactionBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        readTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_;
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1689,7 +1447,6 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1697,8 +1454,6 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** - * - * *
      * Executes the query at the given timestamp.
      * Requires:
@@ -1706,7 +1461,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ @java.lang.Override @@ -1724,8 +1478,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Executes the query at the given timestamp.
      * Requires:
@@ -1748,8 +1500,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1758,7 +1508,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 6;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1769,8 +1520,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1781,13 +1530,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 6
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 6 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1803,8 +1549,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1830,8 +1574,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1844,8 +1586,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1866,8 +1606,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1877,32 +1615,26 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 6;
-      onChanged();
-      ;
+      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);
     }
 
@@ -1912,12 +1644,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.RunAggregationQueryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.RunAggregationQueryRequest)
   private static final com.google.firestore.v1.RunAggregationQueryRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.RunAggregationQueryRequest();
   }
@@ -1926,16 +1658,27 @@ public static com.google.firestore.v1.RunAggregationQueryRequest getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RunAggregationQueryRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new RunAggregationQueryRequest(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1950,4 +1693,6 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.firestore.v1.RunAggregationQueryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
similarity index 82%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
index ff91dc2fa5..e5f0943a87 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface RunAggregationQueryRequestOrBuilder
-    extends
+public interface RunAggregationQueryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunAggregationQueryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -36,13 +18,10 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -53,77 +32,60 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * * @return Whether the structuredAggregationQuery field is set. */ boolean hasStructuredAggregationQuery(); /** - * - * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * * @return The structuredAggregationQuery. */ com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregationQuery(); /** - * - * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ - com.google.firestore.v1.StructuredAggregationQueryOrBuilder - getStructuredAggregationQueryOrBuilder(); + com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructuredAggregationQueryOrBuilder(); /** - * - * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -131,13 +93,10 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** - * - * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -145,13 +104,10 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return The newTransaction. */ com.google.firestore.v1.TransactionOptions getNewTransaction(); /** - * - * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -163,8 +119,6 @@ public interface RunAggregationQueryRequestOrBuilder
   com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Executes the query at the given timestamp.
    * Requires:
@@ -172,13 +126,10 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -186,13 +137,10 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -205,6 +153,5 @@ public interface RunAggregationQueryRequestOrBuilder
 
   public com.google.firestore.v1.RunAggregationQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  public com.google.firestore.v1.RunAggregationQueryRequest.ConsistencySelectorCase
-      getConsistencySelectorCase();
+  public com.google.firestore.v1.RunAggregationQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
similarity index 67%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
index e4a0269d77..4dcd6cff50 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
@@ -1,159 +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/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The response for [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
  * 
* * Protobuf type {@code google.firestore.v1.RunAggregationQueryResponse} */ -public final class RunAggregationQueryResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunAggregationQueryResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.RunAggregationQueryResponse) RunAggregationQueryResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunAggregationQueryResponse.newBuilder() to construct. private RunAggregationQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunAggregationQueryResponse() { transaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunAggregationQueryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private RunAggregationQueryResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.firestore.v1.AggregationResult.Builder subBuilder = null; - if (result_ != null) { - subBuilder = result_.toBuilder(); - } - result_ = - input.readMessage( - com.google.firestore.v1.AggregationResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(result_); - result_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - transaction_ = input.readBytes(); - break; - } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); - } - readTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RunAggregationQueryResponse.class, - com.google.firestore.v1.RunAggregationQueryResponse.Builder.class); + com.google.firestore.v1.RunAggregationQueryResponse.class, com.google.firestore.v1.RunAggregationQueryResponse.Builder.class); } public static final int RESULT_FIELD_NUMBER = 1; private com.google.firestore.v1.AggregationResult result_; /** - * - * *
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; - * * @return Whether the result field is set. */ @java.lang.Override @@ -161,26 +64,19 @@ public boolean hasResult() { return result_ != null; } /** - * - * *
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; - * * @return The result. */ @java.lang.Override public com.google.firestore.v1.AggregationResult getResult() { - return result_ == null - ? com.google.firestore.v1.AggregationResult.getDefaultInstance() - : result_; + return result_ == null ? com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_; } /** - * - * *
    * A single aggregation result.
    * Not present when reporting partial progress.
@@ -196,8 +92,6 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
   public static final int TRANSACTION_FIELD_NUMBER = 2;
   private com.google.protobuf.ByteString transaction_;
   /**
-   *
-   *
    * 
    * The transaction that was started as part of this request.
    * Only present on the first response when the request requested to start
@@ -205,7 +99,6 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
    * 
* * bytes transaction = 2; - * * @return The transaction. */ @java.lang.Override @@ -216,14 +109,11 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The time at which the aggregate value is valid for.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -231,14 +121,11 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The time at which the aggregate value is valid for.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ @java.lang.Override @@ -246,8 +133,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The time at which the aggregate value is valid for.
    * 
@@ -260,7 +145,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (result_ != null) { output.writeMessage(1, getResult()); } @@ -282,7 +167,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (readTime_ != null) { output.writeMessage(3, getReadTime()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -292,15 +177,18 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -308,24 +196,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -346,148 +236,135 @@ public int hashCode() { hash = (37 * hash) + READ_TIME_FIELD_NUMBER; hash = (53 * hash) + getReadTime().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -509,9 +386,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 @@ -530,8 +407,7 @@ 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); + com.google.firestore.v1.RunAggregationQueryResponse result = new com.google.firestore.v1.RunAggregationQueryResponse(this); if (resultBuilder_ == null) { result.result_ = result_; } else { @@ -551,39 +427,38 @@ public com.google.firestore.v1.RunAggregationQueryResponse 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.v1.RunAggregationQueryResponse) { - return mergeFrom((com.google.firestore.v1.RunAggregationQueryResponse) other); + return mergeFrom((com.google.firestore.v1.RunAggregationQueryResponse)other); } else { super.mergeFrom(other); return this; @@ -591,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.RunAggregationQueryResponse other) { - if (other == com.google.firestore.v1.RunAggregationQueryResponse.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.RunAggregationQueryResponse.getDefaultInstance()) return this; if (other.hasResult()) { mergeResult(other.getResult()); } @@ -602,7 +476,7 @@ public Builder mergeFrom(com.google.firestore.v1.RunAggregationQueryResponse oth if (other.hasReadTime()) { mergeReadTime(other.getReadTime()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -617,66 +491,84 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.RunAggregationQueryResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getResultFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + transaction_ = input.readBytes(); + + break; + } // case 18 + case 26: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = - (com.google.firestore.v1.RunAggregationQueryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } private com.google.firestore.v1.AggregationResult result_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.AggregationResult, - com.google.firestore.v1.AggregationResult.Builder, - com.google.firestore.v1.AggregationResultOrBuilder> - resultBuilder_; + com.google.firestore.v1.AggregationResult, com.google.firestore.v1.AggregationResult.Builder, com.google.firestore.v1.AggregationResultOrBuilder> resultBuilder_; /** - * - * *
      * A single aggregation result.
      * Not present when reporting partial progress.
      * 
* * .google.firestore.v1.AggregationResult result = 1; - * * @return Whether the result field is set. */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** - * - * *
      * A single aggregation result.
      * Not present when reporting partial progress.
      * 
* * .google.firestore.v1.AggregationResult result = 1; - * * @return The result. */ public com.google.firestore.v1.AggregationResult getResult() { if (resultBuilder_ == null) { - return result_ == null - ? com.google.firestore.v1.AggregationResult.getDefaultInstance() - : result_; + return result_ == null ? com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** - * - * *
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -698,8 +590,6 @@ public Builder setResult(com.google.firestore.v1.AggregationResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -707,7 +597,8 @@ public Builder setResult(com.google.firestore.v1.AggregationResult value) {
      *
      * .google.firestore.v1.AggregationResult result = 1;
      */
-    public Builder setResult(com.google.firestore.v1.AggregationResult.Builder builderForValue) {
+    public Builder setResult(
+        com.google.firestore.v1.AggregationResult.Builder builderForValue) {
       if (resultBuilder_ == null) {
         result_ = builderForValue.build();
         onChanged();
@@ -718,8 +609,6 @@ public Builder setResult(com.google.firestore.v1.AggregationResult.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -731,9 +620,7 @@ public Builder mergeResult(com.google.firestore.v1.AggregationResult value) {
       if (resultBuilder_ == null) {
         if (result_ != null) {
           result_ =
-              com.google.firestore.v1.AggregationResult.newBuilder(result_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.v1.AggregationResult.newBuilder(result_).mergeFrom(value).buildPartial();
         } else {
           result_ = value;
         }
@@ -745,8 +632,6 @@ public Builder mergeResult(com.google.firestore.v1.AggregationResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -766,8 +651,6 @@ public Builder clearResult() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -776,13 +659,11 @@ public Builder clearResult() {
      * .google.firestore.v1.AggregationResult result = 1;
      */
     public com.google.firestore.v1.AggregationResult.Builder getResultBuilder() {
-
+      
       onChanged();
       return getResultFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -794,14 +675,11 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
       if (resultBuilder_ != null) {
         return resultBuilder_.getMessageOrBuilder();
       } else {
-        return result_ == null
-            ? com.google.firestore.v1.AggregationResult.getDefaultInstance()
-            : result_;
+        return result_ == null ?
+            com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_;
       }
     }
     /**
-     *
-     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -810,17 +688,14 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
      * .google.firestore.v1.AggregationResult result = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.AggregationResult,
-            com.google.firestore.v1.AggregationResult.Builder,
-            com.google.firestore.v1.AggregationResultOrBuilder>
+        com.google.firestore.v1.AggregationResult, com.google.firestore.v1.AggregationResult.Builder, com.google.firestore.v1.AggregationResultOrBuilder> 
         getResultFieldBuilder() {
       if (resultBuilder_ == null) {
-        resultBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.AggregationResult,
-                com.google.firestore.v1.AggregationResult.Builder,
-                com.google.firestore.v1.AggregationResultOrBuilder>(
-                getResult(), getParentForChildren(), isClean());
+        resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.AggregationResult, com.google.firestore.v1.AggregationResult.Builder, com.google.firestore.v1.AggregationResultOrBuilder>(
+                getResult(),
+                getParentForChildren(),
+                isClean());
         result_ = null;
       }
       return resultBuilder_;
@@ -828,8 +703,6 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The transaction that was started as part of this request.
      * Only present on the first response when the request requested to start
@@ -837,7 +710,6 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
      * 
* * bytes transaction = 2; - * * @return The transaction. */ @java.lang.Override @@ -845,8 +717,6 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * The transaction that was started as part of this request.
      * Only present on the first response when the request requested to start
@@ -854,22 +724,19 @@ 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(); - } - + throw new NullPointerException(); + } + transaction_ = value; onChanged(); return this; } /** - * - * *
      * The transaction that was started as part of this request.
      * Only present on the first response when the request requested to start
@@ -877,11 +744,10 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 2; - * * @return This builder for chaining. */ public Builder clearTransaction() { - + transaction_ = getDefaultInstance().getTransaction(); onChanged(); return this; @@ -889,33 +755,24 @@ public Builder clearTransaction() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The time at which the aggregate value is valid for.
      * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * The time at which the aggregate value is valid for.
      * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -926,8 +783,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The time at which the aggregate value is valid for.
      * 
@@ -948,15 +803,14 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the aggregate value is valid for.
      * 
* * .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(); onChanged(); @@ -967,8 +821,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * The time at which the aggregate value is valid for.
      * 
@@ -979,7 +831,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { if (readTime_ != null) { readTime_ = - com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); } else { readTime_ = value; } @@ -991,8 +843,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the aggregate value is valid for.
      * 
@@ -1011,8 +861,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * The time at which the aggregate value is valid for.
      * 
@@ -1020,13 +868,11 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 3; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the aggregate value is valid for.
      * 
@@ -1037,12 +883,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { if (readTimeBuilder_ != null) { return readTimeBuilder_.getMessageOrBuilder(); } else { - return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + return readTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } } /** - * - * *
      * The time at which the aggregate value is valid for.
      * 
@@ -1050,24 +895,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getReadTimeFieldBuilder() { if (readTimeBuilder_ == null) { - readTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getReadTime(), getParentForChildren(), isClean()); + readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getReadTime(), + getParentForChildren(), + isClean()); readTime_ = null; } return readTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1077,12 +919,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(); } @@ -1091,16 +933,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 { - return new RunAggregationQueryResponse(input, extensionRegistry); - } - }; + 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; @@ -1115,4 +968,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.firestore.v1.RunAggregationQueryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java index 8a7025bbde..a610765d81 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface RunAggregationQueryResponseOrBuilder - extends +public interface RunAggregationQueryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunAggregationQueryResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; - * * @return Whether the result field is set. */ boolean hasResult(); /** - * - * *
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; - * * @return The result. */ com.google.firestore.v1.AggregationResult getResult(); /** - * - * *
    * A single aggregation result.
    * Not present when reporting partial progress.
@@ -62,8 +38,6 @@ public interface RunAggregationQueryResponseOrBuilder
   com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder();
 
   /**
-   *
-   *
    * 
    * The transaction that was started as part of this request.
    * Only present on the first response when the request requested to start
@@ -71,38 +45,29 @@ public interface RunAggregationQueryResponseOrBuilder
    * 
* * bytes transaction = 2; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * The time at which the aggregate value is valid for.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The time at which the aggregate value is valid for.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The time at which the aggregate value is valid for.
    * 
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java similarity index 72% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java index 149b1e2e94..0d7b586d9e 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java @@ -1,184 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
  * 
* * Protobuf type {@code google.firestore.v1.RunQueryRequest} */ -public final class RunQueryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunQueryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.RunQueryRequest) RunQueryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunQueryRequest.newBuilder() to construct. private RunQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunQueryRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private RunQueryRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - com.google.firestore.v1.StructuredQuery.Builder subBuilder = null; - if (queryTypeCase_ == 2) { - subBuilder = ((com.google.firestore.v1.StructuredQuery) queryType_).toBuilder(); - } - queryType_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.StructuredQuery) queryType_); - queryType_ = subBuilder.buildPartial(); - } - queryTypeCase_ = 2; - break; - } - case 42: - { - consistencySelector_ = input.readBytes(); - consistencySelectorCase_ = 5; - break; - } - case 50: - { - com.google.firestore.v1.TransactionOptions.Builder subBuilder = null; - if (consistencySelectorCase_ == 6) { - subBuilder = - ((com.google.firestore.v1.TransactionOptions) consistencySelector_).toBuilder(); - } - consistencySelector_ = - input.readMessage( - com.google.firestore.v1.TransactionOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.firestore.v1.TransactionOptions) consistencySelector_); - consistencySelector_ = subBuilder.buildPartial(); - } - consistencySelectorCase_ = 6; - break; - } - case 58: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (consistencySelectorCase_ == 7) { - subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder(); - } - consistencySelector_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_); - consistencySelector_ = subBuilder.buildPartial(); - } - consistencySelectorCase_ = 7; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RunQueryRequest.class, - com.google.firestore.v1.RunQueryRequest.Builder.class); + com.google.firestore.v1.RunQueryRequest.class, com.google.firestore.v1.RunQueryRequest.Builder.class); } private int queryTypeCase_ = 0; private java.lang.Object queryType_; - public enum QueryTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(2), QUERYTYPE_NOT_SET(0); private final int value; - private QueryTypeCase(int value) { this.value = value; } @@ -194,37 +71,32 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 2: - return STRUCTURED_QUERY; - case 0: - return QUERYTYPE_NOT_SET; - default: - return null; + case 2: return STRUCTURED_QUERY; + case 0: return QUERYTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public QueryTypeCase getQueryTypeCase() { - return QueryTypeCase.forNumber(queryTypeCase_); + public QueryTypeCase + getQueryTypeCase() { + return QueryTypeCase.forNumber( + queryTypeCase_); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - public enum ConsistencySelectorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(5), NEW_TRANSACTION(6), READ_TIME(7), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; - private ConsistencySelectorCase(int value) { this.value = value; } @@ -240,33 +112,27 @@ 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -277,7 +143,6 @@ public ConsistencySelectorCase getConsistencySelectorCase() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -286,15 +151,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -305,15 +169,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -323,14 +188,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int STRUCTURED_QUERY_FIELD_NUMBER = 2; /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -338,26 +200,21 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** - * - * *
    * A structured query.
    * 
@@ -367,22 +224,19 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { @java.lang.Override public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } public static final int TRANSACTION_FIELD_NUMBER = 5; /** - * - * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -390,15 +244,12 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 5; } /** - * - * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; - * * @return The transaction. */ @java.lang.Override @@ -411,8 +262,6 @@ public com.google.protobuf.ByteString getTransaction() { public static final int NEW_TRANSACTION_FIELD_NUMBER = 6; /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -421,7 +270,6 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -429,8 +277,6 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 6; } /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -439,19 +285,16 @@ public boolean hasNewTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; - * * @return The newTransaction. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions getNewTransaction() { if (consistencySelectorCase_ == 6) { - return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; } return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -464,22 +307,19 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() {
   @java.lang.Override
   public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
     if (consistencySelectorCase_ == 6) {
-      return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+       return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
     }
     return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 7;
   /**
-   *
-   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -487,27 +327,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 7; } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 7) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -518,13 +353,12 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 7) {
-      return (com.google.protobuf.Timestamp) consistencySelector_;
+       return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -536,7 +370,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -544,7 +379,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       output.writeMessage(2, (com.google.firestore.v1.StructuredQuery) queryType_);
     }
     if (consistencySelectorCase_ == 5) {
-      output.writeBytes(5, (com.google.protobuf.ByteString) consistencySelector_);
+      output.writeBytes(
+          5, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 6) {
       output.writeMessage(6, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
@@ -552,7 +388,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (consistencySelectorCase_ == 7) {
       output.writeMessage(7, (com.google.protobuf.Timestamp) consistencySelector_);
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -565,26 +401,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 (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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -592,18 +425,20 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.RunQueryRequest)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.RunQueryRequest other = (com.google.firestore.v1.RunQueryRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
     if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false;
     switch (queryTypeCase_) {
       case 2:
-        if (!getStructuredQuery().equals(other.getStructuredQuery())) return false;
+        if (!getStructuredQuery()
+            .equals(other.getStructuredQuery())) return false;
         break;
       case 0:
       default:
@@ -611,18 +446,21 @@ 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:
     }
-    if (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -659,153 +497,149 @@ public int hashCode() {
       case 0:
       default:
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); parent_ = ""; + if (structuredQueryBuilder_ != null) { + structuredQueryBuilder_.clear(); + } + if (newTransactionBuilder_ != null) { + newTransactionBuilder_.clear(); + } + if (readTimeBuilder_ != null) { + readTimeBuilder_.clear(); + } queryTypeCase_ = 0; queryType_ = null; consistencySelectorCase_ = 0; @@ -814,9 +648,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 @@ -835,8 +669,7 @@ 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); + com.google.firestore.v1.RunQueryRequest result = new com.google.firestore.v1.RunQueryRequest(this); result.parent_ = parent_; if (queryTypeCase_ == 2) { if (structuredQueryBuilder_ == null) { @@ -872,39 +705,38 @@ public com.google.firestore.v1.RunQueryRequest 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.v1.RunQueryRequest) { - return mergeFrom((com.google.firestore.v1.RunQueryRequest) other); + return mergeFrom((com.google.firestore.v1.RunQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -918,38 +750,32 @@ 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -964,25 +790,69 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.RunQueryRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + parent_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = (com.google.firestore.v1.RunQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -994,9 +864,10 @@ public Builder clearQueryType() { private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - - public ConsistencySelectorCase getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + public ConsistencySelectorCase + getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber( + consistencySelectorCase_); } public Builder clearConsistencySelector() { @@ -1006,10 +877,9 @@ public Builder clearConsistencySelector() { return this; } + private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1020,13 +890,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; @@ -1035,8 +905,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1047,14 +915,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1062,8 +931,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1074,22 +941,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1100,18 +965,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1122,35 +984,29 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } 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 @@ -1158,14 +1014,11 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override @@ -1183,8 +1036,6 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** - * - * *
      * A structured query.
      * 
@@ -1205,8 +1056,6 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** - * - * *
      * A structured query.
      * 
@@ -1225,8 +1074,6 @@ public Builder setStructuredQuery( return this; } /** - * - * *
      * A structured query.
      * 
@@ -1235,13 +1082,10 @@ public Builder setStructuredQuery( */ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { if (structuredQueryBuilder_ == null) { - if (queryTypeCase_ == 2 - && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { - queryType_ = - com.google.firestore.v1.StructuredQuery.newBuilder( - (com.google.firestore.v1.StructuredQuery) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 2 && + queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -1257,8 +1101,6 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** - * - * *
      * A structured query.
      * 
@@ -1282,8 +1124,6 @@ public Builder clearStructuredQuery() { return this; } /** - * - * *
      * A structured query.
      * 
@@ -1294,8 +1134,6 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** - * - * *
      * A structured query.
      * 
@@ -1314,8 +1152,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** - * - * *
      * A structured query.
      * 
@@ -1323,55 +1159,43 @@ 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()); queryType_ = null; } queryTypeCase_ = 2; - onChanged(); - ; + onChanged();; return structuredQueryBuilder_; } /** - * - * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 5; } /** - * - * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; - * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1381,37 +1205,31 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - consistencySelectorCase_ = 5; + throw new NullPointerException(); + } + consistencySelectorCase_ = 5; consistencySelector_ = value; onChanged(); return this; } /** - * - * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1424,13 +1242,8 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions, - com.google.firestore.v1.TransactionOptions.Builder, - com.google.firestore.v1.TransactionOptionsOrBuilder> - newTransactionBuilder_; + com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> newTransactionBuilder_; /** - * - * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1439,7 +1252,6 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1447,8 +1259,6 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 6; } /** - * - * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1457,7 +1267,6 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; - * * @return The newTransaction. */ @java.lang.Override @@ -1475,8 +1284,6 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** - * - * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1500,8 +1307,6 @@ public Builder setNewTransaction(com.google.firestore.v1.TransactionOptions valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1523,8 +1328,6 @@ public Builder setNewTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1536,14 +1339,10 @@ public Builder setNewTransaction(
      */
     public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions value) {
       if (newTransactionBuilder_ == null) {
-        if (consistencySelectorCase_ == 6
-            && consistencySelector_
-                != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.firestore.v1.TransactionOptions.newBuilder(
-                      (com.google.firestore.v1.TransactionOptions) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 6 &&
+            consistencySelector_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
+          consistencySelector_ = com.google.firestore.v1.TransactionOptions.newBuilder((com.google.firestore.v1.TransactionOptions) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1559,8 +1358,6 @@ public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions va
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1587,8 +1384,6 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1602,8 +1397,6 @@ public com.google.firestore.v1.TransactionOptions.Builder getNewTransactionBuild
       return getNewTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1625,8 +1418,6 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1637,45 +1428,33 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return newTransactionBuilder_;
     }
 
     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 @@ -1683,15 +1462,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 7; } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ @java.lang.Override @@ -1709,8 +1485,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1732,8 +1506,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1741,7 +1513,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 7;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1752,8 +1525,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1763,13 +1534,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 7
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 7 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1785,8 +1553,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1811,8 +1577,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1824,8 +1588,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1845,8 +1607,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1855,32 +1615,26 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 7;
-      onChanged();
-      ;
+      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);
     }
 
@@ -1890,12 +1644,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();
   }
@@ -1904,16 +1658,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 {
-          return new RunQueryRequest(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1928,4 +1693,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.RunQueryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
similarity index 83%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
index b6c813a6b7..62a4acba08 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface RunQueryRequestOrBuilder
-    extends
+public interface RunQueryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunQueryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -36,13 +18,10 @@ public interface RunQueryRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -53,38 +32,30 @@ public interface RunQueryRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** - * - * *
    * A structured query.
    * 
@@ -94,35 +65,27 @@ public interface RunQueryRequestOrBuilder com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder(); /** - * - * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -131,13 +94,10 @@ public interface RunQueryRequestOrBuilder
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; - * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -146,13 +106,10 @@ public interface RunQueryRequestOrBuilder
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; - * * @return The newTransaction. */ com.google.firestore.v1.TransactionOptions getNewTransaction(); /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -165,34 +122,26 @@ public interface RunQueryRequestOrBuilder
   com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -204,6 +153,5 @@ public interface RunQueryRequestOrBuilder
 
   public com.google.firestore.v1.RunQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  public com.google.firestore.v1.RunQueryRequest.ConsistencySelectorCase
-      getConsistencySelectorCase();
+  public com.google.firestore.v1.RunQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
similarity index 73%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
index 7a8d1b5989..151ae43d3d 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
@@ -1,168 +1,61 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The response for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
  * 
* * Protobuf type {@code google.firestore.v1.RunQueryResponse} */ -public final class RunQueryResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunQueryResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.RunQueryResponse) RunQueryResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunQueryResponse.newBuilder() to construct. private RunQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunQueryResponse() { transaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunQueryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private RunQueryResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.firestore.v1.Document.Builder subBuilder = null; - if (document_ != null) { - subBuilder = document_.toBuilder(); - } - document_ = - input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(document_); - document_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - transaction_ = input.readBytes(); - break; - } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); - } - readTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); - } - - break; - } - case 32: - { - skippedResults_ = input.readInt32(); - break; - } - case 48: - { - continuationSelector_ = input.readBool(); - continuationSelectorCase_ = 6; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RunQueryResponse.class, - com.google.firestore.v1.RunQueryResponse.Builder.class); + com.google.firestore.v1.RunQueryResponse.class, com.google.firestore.v1.RunQueryResponse.Builder.class); } private int continuationSelectorCase_ = 0; private java.lang.Object continuationSelector_; - public enum ContinuationSelectorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DONE(6), CONTINUATIONSELECTOR_NOT_SET(0); private final int value; - private ContinuationSelectorCase(int value) { this.value = value; } @@ -178,29 +71,25 @@ public static ContinuationSelectorCase valueOf(int value) { public static ContinuationSelectorCase forNumber(int value) { switch (value) { - case 6: - return DONE; - case 0: - return CONTINUATIONSELECTOR_NOT_SET; - default: - return null; + case 6: return DONE; + case 0: return CONTINUATIONSELECTOR_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ContinuationSelectorCase getContinuationSelectorCase() { - return ContinuationSelectorCase.forNumber(continuationSelectorCase_); + public ContinuationSelectorCase + getContinuationSelectorCase() { + return ContinuationSelectorCase.forNumber( + continuationSelectorCase_); } public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.protobuf.ByteString transaction_; /** - * - * *
    * The transaction that was started as part of this request.
    * Can only be set in the first response, and only if
@@ -209,7 +98,6 @@ public ContinuationSelectorCase getContinuationSelectorCase() {
    * 
* * bytes transaction = 2; - * * @return The transaction. */ @java.lang.Override @@ -220,14 +108,11 @@ public com.google.protobuf.ByteString getTransaction() { public static final int DOCUMENT_FIELD_NUMBER = 1; private com.google.firestore.v1.Document document_; /** - * - * *
    * A query result, not set when reporting partial progress.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return Whether the document field is set. */ @java.lang.Override @@ -235,14 +120,11 @@ public boolean hasDocument() { return document_ != null; } /** - * - * *
    * A query result, not set when reporting partial progress.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return The document. */ @java.lang.Override @@ -250,8 +132,6 @@ public com.google.firestore.v1.Document getDocument() { return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } /** - * - * *
    * A query result, not set when reporting partial progress.
    * 
@@ -266,8 +146,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { public static final int READ_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -278,7 +156,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -286,8 +163,6 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -298,7 +173,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ @java.lang.Override @@ -306,8 +180,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -327,15 +199,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int SKIPPED_RESULTS_FIELD_NUMBER = 4;
   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 @@ -345,15 +214,12 @@ public int getSkippedResults() { public static final int DONE_FIELD_NUMBER = 6; /** - * - * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; - * * @return Whether the done field is set. */ @java.lang.Override @@ -361,15 +227,12 @@ public boolean hasDone() { return continuationSelectorCase_ == 6; } /** - * - * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; - * * @return The done. */ @java.lang.Override @@ -381,7 +244,6 @@ public boolean getDone() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -393,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (document_ != null) { output.writeMessage(1, getDocument()); } @@ -407,9 +270,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeInt32(4, skippedResults_); } if (continuationSelectorCase_ == 6) { - output.writeBool(6, (boolean) ((java.lang.Boolean) continuationSelector_)); + output.writeBool( + 6, (boolean)((java.lang.Boolean) continuationSelector_)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -419,23 +283,27 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -443,32 +311,37 @@ public int getSerializedSize() { @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: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -494,153 +367,141 @@ 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: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -666,9 +527,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunQueryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_descriptor; } @java.lang.Override @@ -687,8 +548,7 @@ 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); + com.google.firestore.v1.RunQueryResponse result = new com.google.firestore.v1.RunQueryResponse(this); result.transaction_ = transaction_; if (documentBuilder_ == null) { result.document_ = document_; @@ -713,39 +573,38 @@ public com.google.firestore.v1.RunQueryResponse 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.v1.RunQueryResponse) { - return mergeFrom((com.google.firestore.v1.RunQueryResponse) other); + return mergeFrom((com.google.firestore.v1.RunQueryResponse)other); } else { super.mergeFrom(other); return this; @@ -767,17 +626,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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -792,25 +649,67 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.RunQueryResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getDocumentFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + transaction_ = input.readBytes(); + + break; + } // case 18 + case 26: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 32: { + skippedResults_ = input.readInt32(); + + 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) { - parsedMessage = (com.google.firestore.v1.RunQueryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -820,10 +719,9 @@ public Builder clearContinuationSelector() { return this; } + 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
@@ -832,7 +730,6 @@ public Builder clearContinuationSelector() {
      * 
* * bytes transaction = 2; - * * @return The transaction. */ @java.lang.Override @@ -840,8 +737,6 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * The transaction that was started as part of this request.
      * Can only be set in the first response, and only if
@@ -850,22 +745,19 @@ 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(); - } - + throw new NullPointerException(); + } + transaction_ = value; onChanged(); return this; } /** - * - * *
      * The transaction that was started as part of this request.
      * Can only be set in the first response, and only if
@@ -874,11 +766,10 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 2; - * * @return This builder for chaining. */ public Builder clearTransaction() { - + transaction_ = getDefaultInstance().getTransaction(); onChanged(); return this; @@ -886,47 +777,34 @@ public Builder clearTransaction() { private com.google.firestore.v1.Document document_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> - documentBuilder_; + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_; /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
* * .google.firestore.v1.Document document = 1; - * * @return Whether the document field is set. */ public boolean hasDocument() { return documentBuilder_ != null || document_ != null; } /** - * - * *
      * 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.
      * 
@@ -947,15 +825,14 @@ public Builder setDocument(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
* * .google.firestore.v1.Document document = 1; */ - public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setDocument( + com.google.firestore.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { document_ = builderForValue.build(); onChanged(); @@ -966,8 +843,6 @@ public Builder setDocument(com.google.firestore.v1.Document.Builder builderForVa return this; } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
@@ -978,9 +853,7 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { if (document_ != null) { document_ = - com.google.firestore.v1.Document.newBuilder(document_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.v1.Document.newBuilder(document_).mergeFrom(value).buildPartial(); } else { document_ = value; } @@ -992,8 +865,6 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
@@ -1012,8 +883,6 @@ public Builder clearDocument() { return this; } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
@@ -1021,13 +890,11 @@ public Builder clearDocument() { * .google.firestore.v1.Document document = 1; */ public com.google.firestore.v1.Document.Builder getDocumentBuilder() { - + onChanged(); return getDocumentFieldBuilder().getBuilder(); } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
@@ -1038,14 +905,11 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { if (documentBuilder_ != null) { return documentBuilder_.getMessageOrBuilder(); } else { - return document_ == null - ? com.google.firestore.v1.Document.getDefaultInstance() - : document_; + return document_ == null ? + com.google.firestore.v1.Document.getDefaultInstance() : document_; } } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
@@ -1053,17 +917,14 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { * .google.firestore.v1.Document document = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> getDocumentFieldBuilder() { if (documentBuilder_ == null) { - documentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder>( - getDocument(), getParentForChildren(), isClean()); + documentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( + getDocument(), + getParentForChildren(), + isClean()); document_ = null; } return documentBuilder_; @@ -1071,13 +932,8 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1088,15 +944,12 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
      * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || 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
@@ -1107,7 +960,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1118,8 +970,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1145,8 +995,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1158,7 +1006,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 3;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
         onChanged();
@@ -1169,8 +1018,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1186,7 +1033,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -1198,8 +1045,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1223,8 +1068,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1237,13 +1080,11 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-
+      
       onChanged();
       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
@@ -1259,12 +1100,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1277,33 +1117,27 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
 
-    private int skippedResults_;
+    private int skippedResults_ ;
     /**
-     *
-     *
      * 
      * The number of results that have been skipped due to an offset between
      * the last response and the current response.
      * 
* * int32 skipped_results = 4; - * * @return The skippedResults. */ @java.lang.Override @@ -1311,68 +1145,56 @@ public int getSkippedResults() { return skippedResults_; } /** - * - * *
      * The number of results that have been skipped due to an offset between
      * the last response and the current response.
      * 
* * int32 skipped_results = 4; - * * @param value The skippedResults to set. * @return This builder for chaining. */ public Builder setSkippedResults(int value) { - + skippedResults_ = value; onChanged(); return this; } /** - * - * *
      * The number of results that have been skipped due to an offset between
      * the last response and the current response.
      * 
* * int32 skipped_results = 4; - * * @return This builder for chaining. */ public Builder clearSkippedResults() { - + skippedResults_ = 0; onChanged(); return this; } /** - * - * *
      * 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() { @@ -1382,15 +1204,12 @@ 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. */ @@ -1401,15 +1220,12 @@ 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() { @@ -1420,9 +1236,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); } @@ -1432,12 +1248,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(); } @@ -1446,16 +1262,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 { - return new RunQueryResponse(input, extensionRegistry); - } - }; + 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; @@ -1470,4 +1297,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.RunQueryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java similarity index 82% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java index 39eda1dbd7..912661d8fc 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface RunQueryResponseOrBuilder - extends +public interface RunQueryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunQueryResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The transaction that was started as part of this request.
    * Can only be set in the first response, and only if
@@ -34,38 +16,29 @@ public interface RunQueryResponseOrBuilder
    * 
* * bytes transaction = 2; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * A query result, not set when reporting partial progress.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return Whether the document field is set. */ boolean hasDocument(); /** - * - * *
    * A query result, not set when reporting partial progress.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return The document. */ com.google.firestore.v1.Document getDocument(); /** - * - * *
    * A query result, not set when reporting partial progress.
    * 
@@ -75,8 +48,6 @@ public interface RunQueryResponseOrBuilder com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); /** - * - * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -87,13 +58,10 @@ public interface RunQueryResponseOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -104,13 +72,10 @@ public interface RunQueryResponseOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -125,46 +90,36 @@ public interface RunQueryResponseOrBuilder
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The number of results that have been skipped due to an offset between
    * the last response and the current response.
    * 
* * int32 skipped_results = 4; - * * @return The skippedResults. */ int getSkippedResults(); /** - * - * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; - * * @return Whether the done field is set. */ boolean hasDone(); /** - * - * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; - * * @return The done. */ boolean getDone(); - public com.google.firestore.v1.RunQueryResponse.ContinuationSelectorCase - getContinuationSelectorCase(); + public com.google.firestore.v1.RunQueryResponse.ContinuationSelectorCase getContinuationSelectorCase(); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java similarity index 68% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java index 2d6010b8b9..2fa9f3a8eb 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java @@ -1,189 +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/v1/query.proto package com.google.firestore.v1; /** - * - * *
  * Firestore query for running an aggregation over a [StructuredQuery][google.firestore.v1.StructuredQuery].
  * 
* * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery} */ -public final class StructuredAggregationQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StructuredAggregationQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredAggregationQuery) StructuredAggregationQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StructuredAggregationQuery.newBuilder() to construct. private StructuredAggregationQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StructuredAggregationQuery() { aggregations_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StructuredAggregationQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private StructuredAggregationQuery( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.firestore.v1.StructuredQuery.Builder subBuilder = null; - if (queryTypeCase_ == 1) { - subBuilder = ((com.google.firestore.v1.StructuredQuery) queryType_).toBuilder(); - } - queryType_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.StructuredQuery) queryType_); - queryType_ = subBuilder.buildPartial(); - } - queryTypeCase_ = 1; - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aggregations_ = - new java.util.ArrayList< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation>(); - mutable_bitField0_ |= 0x00000001; - } - aggregations_.add( - input.readMessage( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.parser(), - extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - aggregations_ = java.util.Collections.unmodifiableList(aggregations_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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.
      * If not provided, Firestore will pick a default name following the format
@@ -215,13 +111,10 @@ public interface AggregationOrBuilder
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The alias. */ java.lang.String getAlias(); /** - * - * *
      * Optional. Optional name of the field to store the result of the aggregation into.
      * If not provided, Firestore will pick a default name following the format
@@ -253,141 +146,63 @@ public interface AggregationOrBuilder
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for alias. */ - com.google.protobuf.ByteString getAliasBytes(); + com.google.protobuf.ByteString + getAliasBytes(); - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.OperatorCase - getOperatorCase(); + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.OperatorCase getOperatorCase(); } /** - * - * *
    * Defines a aggregation that produces a single result.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery.Aggregation} */ - public static final class Aggregation extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Aggregation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredAggregationQuery.Aggregation) AggregationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Aggregation.newBuilder() to construct. private Aggregation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Aggregation() { alias_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Aggregation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private Aggregation( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder - subBuilder = null; - if (operatorCase_ == 1) { - subBuilder = - ((com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) - operator_) - .toBuilder(); - } - operator_ = - input.readMessage( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) - operator_); - operator_ = subBuilder.buildPartial(); - } - operatorCase_ = 1; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - - alias_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.class, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder.class); + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.class, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder.class); } - public interface CountOrBuilder - extends + public interface CountOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Optional constraint on the maximum number of documents to count.
        * This provides a way to set an upper bound on the number of documents
@@ -401,15 +216,11 @@ public interface CountOrBuilder
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the upTo field is set. */ boolean hasUpTo(); /** - * - * *
        * Optional. Optional constraint on the maximum number of documents to count.
        * This provides a way to set an upper bound on the number of documents
@@ -423,15 +234,11 @@ public interface CountOrBuilder
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The upTo. */ com.google.protobuf.Int64Value getUpTo(); /** - * - * *
        * Optional. Optional constraint on the maximum number of documents to count.
        * This provides a way to set an upper bound on the number of documents
@@ -445,14 +252,11 @@ public interface CountOrBuilder
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder(); } /** - * - * *
      * Count of documents that match the query.
      * The `COUNT(*)` aggregation function operates on the entire document
@@ -461,104 +265,46 @@ public interface CountOrBuilder
      *
      * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery.Aggregation.Count}
      */
-    public static final class Count extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class Count extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)
         CountOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use Count.newBuilder() to construct.
       private Count(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private Count() {}
+      private Count() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new Count();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
-      private Count(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        this();
-        if (extensionRegistry == null) {
-          throw new java.lang.NullPointerException();
-        }
-        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-            com.google.protobuf.UnknownFieldSet.newBuilder();
-        try {
-          boolean done = false;
-          while (!done) {
-            int tag = input.readTag();
-            switch (tag) {
-              case 0:
-                done = true;
-                break;
-              case 10:
-                {
-                  com.google.protobuf.Int64Value.Builder subBuilder = null;
-                  if (upTo_ != null) {
-                    subBuilder = upTo_.toBuilder();
-                  }
-                  upTo_ =
-                      input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(upTo_);
-                    upTo_ = subBuilder.buildPartial();
-                  }
-
-                  break;
-                }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
-                }
-            }
-          }
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(this);
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
-        } finally {
-          this.unknownFields = unknownFields.build();
-          makeExtensionsImmutable();
-        }
-      }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.firestore.v1.QueryProto
-            .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.firestore.v1.QueryProto
-            .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
+        return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class,
-                com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder.class);
+                com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder.class);
       }
 
       public static final int UP_TO_FIELD_NUMBER = 1;
       private com.google.protobuf.Int64Value upTo_;
       /**
-       *
-       *
        * 
        * Optional. Optional constraint on the maximum number of documents to count.
        * This provides a way to set an upper bound on the number of documents
@@ -572,9 +318,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the upTo field is set. */ @java.lang.Override @@ -582,8 +326,6 @@ public boolean hasUpTo() { return upTo_ != null; } /** - * - * *
        * Optional. Optional constraint on the maximum number of documents to count.
        * This provides a way to set an upper bound on the number of documents
@@ -597,9 +339,7 @@ public boolean hasUpTo() {
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The upTo. */ @java.lang.Override @@ -607,8 +347,6 @@ public com.google.protobuf.Int64Value getUpTo() { return upTo_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : upTo_; } /** - * - * *
        * Optional. Optional constraint on the maximum number of documents to count.
        * This provides a way to set an upper bound on the number of documents
@@ -622,8 +360,7 @@ public com.google.protobuf.Int64Value getUpTo() {
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() { @@ -631,7 +368,6 @@ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -643,11 +379,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 (upTo_ != null) { output.writeMessage(1, getUpTo()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -657,9 +394,10 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -667,20 +405,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -695,102 +432,93 @@ public int hashCode() { hash = (37 * hash) + UP_TO_FIELD_NUMBER; hash = (53 * hash) + getUpTo().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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 @@ -800,8 +528,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Count of documents that match the query.
        * The `COUNT(*)` aggregation function operates on the entire document
@@ -810,42 +536,33 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery.Aggregation.Count}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)
           com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.firestore.v1.QueryProto
-              .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.firestore.v1.QueryProto
-              .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
+          return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class,
-                  com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder
-                      .class);
+                  com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder.class);
         }
 
-        // Construct using
-        // com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.newBuilder()
+        // Construct using com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.newBuilder()
         private Builder() {
-          maybeForceBuilderInitialization();
+
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
-          maybeForceBuilderInitialization();
-        }
 
-        private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -859,22 +576,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.firestore.v1.QueryProto
-              .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
         }
 
         @java.lang.Override
-        public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count
-            getDefaultInstanceForType() {
-          return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count
-              .getDefaultInstance();
+        public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getDefaultInstanceForType() {
+          return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count build() {
-          com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result =
-              buildPartial();
+          com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -883,8 +597,7 @@ 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);
+          com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result = new com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count(this);
           if (upToBuilder_ == null) {
             result.upTo_ = upTo_;
           } else {
@@ -898,58 +611,50 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count buil
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.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());
           }
-          this.mergeUnknownFields(other.unknownFields);
+          this.mergeUnknownFields(other.getUnknownFields());
           onChanged();
           return this;
         }
@@ -964,31 +669,44 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parsedMessage = null;
+          if (extensionRegistry == null) {
+            throw new java.lang.NullPointerException();
+          }
           try {
-            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+            boolean done = false;
+            while (!done) {
+              int tag = input.readTag();
+              switch (tag) {
+                case 0:
+                  done = true;
+                  break;
+                case 10: {
+                  input.readMessage(
+                      getUpToFieldBuilder().getBuilder(),
+                      extensionRegistry);
+
+                  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) {
-            parsedMessage =
-                (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)
-                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
-            if (parsedMessage != null) {
-              mergeFrom(parsedMessage);
-            }
-          }
+            onChanged();
+          } // finally
           return this;
         }
 
         private com.google.protobuf.Int64Value upTo_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Int64Value,
-                com.google.protobuf.Int64Value.Builder,
-                com.google.protobuf.Int64ValueOrBuilder>
-            upToBuilder_;
+            com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> upToBuilder_;
         /**
-         *
-         *
          * 
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -1002,17 +720,13 @@ 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 upToBuilder_ != null || upTo_ != null; } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -1026,9 +740,7 @@ public boolean hasUpTo() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The upTo. */ public com.google.protobuf.Int64Value getUpTo() { @@ -1039,8 +751,6 @@ public com.google.protobuf.Int64Value getUpTo() { } } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -1054,8 +764,7 @@ public com.google.protobuf.Int64Value getUpTo() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpTo(com.google.protobuf.Int64Value value) { if (upToBuilder_ == null) { @@ -1071,8 +780,6 @@ public Builder setUpTo(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -1086,10 +793,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(); onChanged(); @@ -1100,8 +807,6 @@ public Builder setUpTo(com.google.protobuf.Int64Value.Builder builderForValue) { return this; } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -1115,14 +820,13 @@ public Builder setUpTo(com.google.protobuf.Int64Value.Builder builderForValue) {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpTo(com.google.protobuf.Int64Value value) { if (upToBuilder_ == null) { if (upTo_ != null) { upTo_ = - com.google.protobuf.Int64Value.newBuilder(upTo_).mergeFrom(value).buildPartial(); + com.google.protobuf.Int64Value.newBuilder(upTo_).mergeFrom(value).buildPartial(); } else { upTo_ = value; } @@ -1134,8 +838,6 @@ public Builder mergeUpTo(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -1149,8 +851,7 @@ public Builder mergeUpTo(com.google.protobuf.Int64Value value) {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpTo() { if (upToBuilder_ == null) { @@ -1164,8 +865,6 @@ public Builder clearUpTo() { return this; } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -1179,17 +878,14 @@ 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() { - + onChanged(); return getUpToFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -1203,19 +899,17 @@ public com.google.protobuf.Int64Value.Builder getUpToBuilder() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() { if (upToBuilder_ != null) { return upToBuilder_.getMessageOrBuilder(); } else { - return upTo_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : upTo_; + return upTo_ == null ? + com.google.protobuf.Int64Value.getDefaultInstance() : upTo_; } } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -1229,26 +923,21 @@ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getUpToFieldBuilder() { if (upToBuilder_ == null) { - upToBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder>( - getUpTo(), getParentForChildren(), isClean()); + upToBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( + getUpTo(), + getParentForChildren(), + isClean()); upTo_ = null; } return upToBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1261,33 +950,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) - private static final com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - DEFAULT_INSTANCE; - + private static final com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count(); + DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count(); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - getDefaultInstance() { + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Count parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Count(input, extensionRegistry); - } - }; + 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; @@ -1299,23 +996,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int operatorCase_ = 0; private java.lang.Object operator_; - public enum OperatorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COUNT(1), OPERATOR_NOT_SET(0); private final int value; - private OperatorCase(int value) { this.value = value; } @@ -1331,34 +1025,29 @@ public static OperatorCase valueOf(int value) { public static OperatorCase forNumber(int value) { switch (value) { - case 1: - return COUNT; - case 0: - return OPERATOR_NOT_SET; - default: - return null; + case 1: return COUNT; + case 0: return OPERATOR_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OperatorCase getOperatorCase() { - return OperatorCase.forNumber(operatorCase_); + public OperatorCase + getOperatorCase() { + return OperatorCase.forNumber( + operatorCase_); } public static final int COUNT_FIELD_NUMBER = 1; /** - * - * *
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; - * * @return Whether the count field is set. */ @java.lang.Override @@ -1366,27 +1055,21 @@ public boolean hasCount() { return operatorCase_ == 1; } /** - * - * *
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; - * * @return The count. */ @java.lang.Override public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getCount() { if (operatorCase_ == 1) { - return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; + return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); } /** - * - * *
      * Count aggregator.
      * 
@@ -1394,20 +1077,16 @@ 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; private volatile java.lang.Object alias_; /** - * - * *
      * Optional. Optional name of the field to store the result of the aggregation into.
      * If not provided, Firestore will pick a default name following the format
@@ -1439,7 +1118,6 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getC
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The alias. */ @java.lang.Override @@ -1448,15 +1126,14 @@ public java.lang.String getAlias() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alias_ = s; return s; } } /** - * - * *
      * Optional. Optional name of the field to store the result of the aggregation into.
      * If not provided, Firestore will pick a default name following the format
@@ -1488,15 +1165,16 @@ public java.lang.String getAlias() {
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for alias. */ @java.lang.Override - public com.google.protobuf.ByteString getAliasBytes() { + public com.google.protobuf.ByteString + getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alias_ = b; return b; } else { @@ -1505,7 +1183,6 @@ public com.google.protobuf.ByteString getAliasBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1517,15 +1194,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 (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_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -1535,15 +1212,13 @@ 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_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -1551,24 +1226,25 @@ public int getSerializedSize() { @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: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1589,100 +1265,93 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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 @@ -1692,51 +1361,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Defines a 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); + if (countBuilder_ != null) { + countBuilder_.clear(); + } alias_ = ""; operatorCase_ = 0; @@ -1745,14 +1408,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; } @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation - getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getDefaultInstanceForType() { return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance(); } @@ -1767,8 +1429,7 @@ 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); + com.google.firestore.v1.StructuredAggregationQuery.Aggregation result = new com.google.firestore.v1.StructuredAggregationQuery.Aggregation(this); if (operatorCase_ == 1) { if (countBuilder_ == null) { result.operator_ = operator_; @@ -1786,68 +1447,60 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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_; 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -1862,27 +1515,50 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.StructuredAggregationQuery.Aggregation parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getCountFieldBuilder().getBuilder(), + extensionRegistry); + operatorCase_ = 1; + break; + } // case 10 + case 58: { + alias_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = - (com.google.firestore.v1.StructuredAggregationQuery.Aggregation) - e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -1892,20 +1568,15 @@ public Builder clearOperator() { return this; } + 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 @@ -1913,14 +1584,11 @@ public boolean hasCount() { return operatorCase_ == 1; } /** - * - * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; - * * @return The count. */ @java.lang.Override @@ -1929,27 +1597,22 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getC if (operatorCase_ == 1) { return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); } else { if (operatorCase_ == 1) { return countBuilder_.getMessage(); } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); } } /** - * - * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ - public Builder setCount( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count value) { + public Builder setCount(com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count value) { if (countBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1963,8 +1626,6 @@ public Builder setCount( return this; } /** - * - * *
        * Count aggregator.
        * 
@@ -1972,8 +1633,7 @@ public Builder setCount( * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ public Builder setCount( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder - builderForValue) { + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder builderForValue) { if (countBuilder_ == null) { operator_ = builderForValue.build(); onChanged(); @@ -1984,27 +1644,18 @@ public Builder setCount( return this; } /** - * - * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ - public Builder mergeCount( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count value) { + public Builder mergeCount(com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count value) { if (countBuilder_ == null) { - if (operatorCase_ == 1 - && operator_ - != com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .getDefaultInstance()) { - operator_ = - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.newBuilder( - (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) - operator_) - .mergeFrom(value) - .buildPartial(); + if (operatorCase_ == 1 && + operator_ != com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance()) { + operator_ = com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.newBuilder((com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_) + .mergeFrom(value).buildPartial(); } else { operator_ = value; } @@ -2020,8 +1671,6 @@ public Builder mergeCount( return this; } /** - * - * *
        * Count aggregator.
        * 
@@ -2045,21 +1694,16 @@ public Builder clearCount() { return this; } /** - * - * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder - getCountBuilder() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder getCountBuilder() { return getCountFieldBuilder().getBuilder(); } /** - * - * *
        * Count aggregator.
        * 
@@ -2067,21 +1711,17 @@ public Builder clearCount() { * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder - getCountOrBuilder() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder() { if ((operatorCase_ == 1) && (countBuilder_ != null)) { return countBuilder_.getMessageOrBuilder(); } else { if (operatorCase_ == 1) { return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); } } /** - * - * *
        * Count aggregator.
        * 
@@ -2089,36 +1729,26 @@ public Builder clearCount() { * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder> + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder> getCountFieldBuilder() { if (countBuilder_ == null) { if (!(operatorCase_ == 1)) { - operator_ = - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .getDefaultInstance(); + operator_ = com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); } - countBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder>( + countBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder>( (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_, getParentForChildren(), isClean()); operator_ = null; } operatorCase_ = 1; - onChanged(); - ; + onChanged();; return countBuilder_; } private java.lang.Object alias_ = ""; /** - * - * *
        * Optional. Optional name of the field to store the result of the aggregation into.
        * If not provided, Firestore will pick a default name following the format
@@ -2150,13 +1780,13 @@ public Builder clearCount() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The alias. */ public java.lang.String getAlias() { java.lang.Object ref = alias_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alias_ = s; return s; @@ -2165,8 +1795,6 @@ public java.lang.String getAlias() { } } /** - * - * *
        * Optional. Optional name of the field to store the result of the aggregation into.
        * If not provided, Firestore will pick a default name following the format
@@ -2198,14 +1826,15 @@ public java.lang.String getAlias() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for alias. */ - public com.google.protobuf.ByteString getAliasBytes() { + public com.google.protobuf.ByteString + getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alias_ = b; return b; } else { @@ -2213,8 +1842,6 @@ public com.google.protobuf.ByteString getAliasBytes() { } } /** - * - * *
        * Optional. Optional name of the field to store the result of the aggregation into.
        * If not provided, Firestore will pick a default name following the format
@@ -2246,22 +1873,20 @@ public com.google.protobuf.ByteString getAliasBytes() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The alias to set. * @return This builder for chaining. */ - public Builder setAlias(java.lang.String value) { + public Builder setAlias( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + alias_ = value; onChanged(); return this; } /** - * - * *
        * Optional. Optional name of the field to store the result of the aggregation into.
        * If not provided, Firestore will pick a default name following the format
@@ -2293,18 +1918,15 @@ public Builder setAlias(java.lang.String value) {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAlias() { - + alias_ = getDefaultInstance().getAlias(); onChanged(); return this; } /** - * - * *
        * Optional. Optional name of the field to store the result of the aggregation into.
        * If not provided, Firestore will pick a default name following the format
@@ -2336,21 +1958,20 @@ 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) { + public Builder setAliasBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + alias_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2363,32 +1984,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation) - private static final com.google.firestore.v1.StructuredAggregationQuery.Aggregation - DEFAULT_INSTANCE; - + private static final com.google.firestore.v1.StructuredAggregationQuery.Aggregation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredAggregationQuery.Aggregation(); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation - getDefaultInstance() { + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Aggregation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Aggregation(input, extensionRegistry); - } - }; + 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; @@ -2400,23 +2030,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation - getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int queryTypeCase_ = 0; private java.lang.Object queryType_; - public enum QueryTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(1), QUERYTYPE_NOT_SET(0); private final int value; - private QueryTypeCase(int value) { this.value = value; } @@ -2432,34 +2059,29 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 1: - return STRUCTURED_QUERY; - case 0: - return QUERYTYPE_NOT_SET; - default: - return null; + case 1: return STRUCTURED_QUERY; + case 0: return QUERYTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public QueryTypeCase getQueryTypeCase() { - return QueryTypeCase.forNumber(queryTypeCase_); + public QueryTypeCase + getQueryTypeCase() { + return QueryTypeCase.forNumber( + queryTypeCase_); } public static final int STRUCTURED_QUERY_FIELD_NUMBER = 1; /** - * - * *
    * Nested structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -2467,26 +2089,21 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 1; } /** - * - * *
    * Nested structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; - * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 1) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** - * - * *
    * Nested structured query.
    * 
@@ -2496,106 +2113,82 @@ 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; - private java.util.List - aggregations_; + private java.util.List aggregations_; /** - * - * *
    * Optional. Series of aggregations to apply over the results of the `structured_query`.
    * Requires:
    * * 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`.
    * Requires:
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - ? extends com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder> + public java.util.List getAggregationsOrBuilderList() { return aggregations_; } /** - * - * *
    * Optional. Series of aggregations to apply over the results of the `structured_query`.
    * Requires:
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getAggregationsCount() { return aggregations_.size(); } /** - * - * *
    * Optional. Series of aggregations to apply over the results of the `structured_query`.
    * Requires:
    * * 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`.
    * Requires:
    * * 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; @@ -2607,14 +2200,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 (queryTypeCase_ == 1) { output.writeMessage(1, (com.google.firestore.v1.StructuredQuery) queryType_); } for (int i = 0; i < aggregations_.size(); i++) { output.writeMessage(3, aggregations_.get(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -2624,14 +2218,14 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -2639,24 +2233,25 @@ public int getSerializedSize() { @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: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2679,168 +2274,157 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getAggregationsFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); + if (structuredQueryBuilder_ != null) { + structuredQueryBuilder_.clear(); + } if (aggregationsBuilder_ == null) { aggregations_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + aggregations_ = null; aggregationsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); queryTypeCase_ = 0; queryType_ = null; return this; } @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 @@ -2859,8 +2443,7 @@ 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); int from_bitField0_ = bitField0_; if (queryTypeCase_ == 1) { if (structuredQueryBuilder_ == null) { @@ -2887,39 +2470,38 @@ public com.google.firestore.v1.StructuredAggregationQuery 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.v1.StructuredAggregationQuery) { - return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery) other); + return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery)other); } else { super.mergeFrom(other); return this; @@ -2927,8 +2509,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredAggregationQuery other) { - if (other == com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance()) return this; if (aggregationsBuilder_ == null) { if (!other.aggregations_.isEmpty()) { if (aggregations_.isEmpty()) { @@ -2947,27 +2528,24 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredAggregationQuery othe aggregationsBuilder_ = null; aggregations_ = other.aggregations_; bitField0_ = (bitField0_ & ~0x00000001); - 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -2982,26 +2560,58 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.StructuredAggregationQuery parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.firestore.v1.StructuredAggregationQuery) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -3014,19 +2624,13 @@ public Builder clearQueryType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, - com.google.firestore.v1.StructuredQuery.Builder, - com.google.firestore.v1.StructuredQueryOrBuilder> - structuredQueryBuilder_; + com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> structuredQueryBuilder_; /** - * - * *
      * Nested structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -3034,14 +2638,11 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 1; } /** - * - * *
      * Nested structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; - * * @return The structuredQuery. */ @java.lang.Override @@ -3059,8 +2660,6 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** - * - * *
      * Nested structured query.
      * 
@@ -3081,8 +2680,6 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** - * - * *
      * Nested structured query.
      * 
@@ -3101,8 +2698,6 @@ public Builder setStructuredQuery( return this; } /** - * - * *
      * Nested structured query.
      * 
@@ -3111,13 +2706,10 @@ public Builder setStructuredQuery( */ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { if (structuredQueryBuilder_ == null) { - if (queryTypeCase_ == 1 - && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { - queryType_ = - com.google.firestore.v1.StructuredQuery.newBuilder( - (com.google.firestore.v1.StructuredQuery) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 1 && + queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -3133,8 +2725,6 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** - * - * *
      * Nested structured query.
      * 
@@ -3158,8 +2748,6 @@ public Builder clearStructuredQuery() { return this; } /** - * - * *
      * Nested structured query.
      * 
@@ -3170,8 +2758,6 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Nested structured query.
      * 
@@ -3190,8 +2776,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** - * - * *
      * Nested structured query.
      * 
@@ -3199,63 +2783,46 @@ 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()); queryType_ = null; } queryTypeCase_ = 1; - onChanged(); - ; + onChanged();; 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_ & 0x00000001) != 0)) { - aggregations_ = - new java.util.ArrayList( - aggregations_); + aggregations_ = new java.util.ArrayList(aggregations_); bitField0_ |= 0x00000001; - } + } } 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`.
      * Requires:
      * * 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 { @@ -3263,17 +2830,13 @@ private void ensureAggregationsIsMutable() { } } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getAggregationsCount() { if (aggregationsBuilder_ == null) { @@ -3283,20 +2846,15 @@ public int getAggregationsCount() { } } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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 { @@ -3304,17 +2862,13 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggrega } } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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) { @@ -3331,21 +2885,16 @@ public Builder setAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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()); @@ -3356,20 +2905,15 @@ public Builder setAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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(); @@ -3383,17 +2927,13 @@ public Builder addAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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) { @@ -3410,17 +2950,13 @@ public Builder addAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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) { @@ -3434,21 +2970,16 @@ public Builder addAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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()); @@ -3459,24 +2990,20 @@ public Builder addAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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); @@ -3484,17 +3011,13 @@ public Builder addAllAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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) { @@ -3507,17 +3030,13 @@ public Builder clearAggregations() { return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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) { @@ -3530,59 +3049,45 @@ public Builder removeAggregations(int index) { return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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`.
      * Requires:
      * * 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`.
      * Requires:
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - ? extends com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder> - getAggregationsOrBuilderList() { + public java.util.List + getAggregationsOrBuilderList() { if (aggregationsBuilder_ != null) { return aggregationsBuilder_.getMessageOrBuilderList(); } else { @@ -3590,81 +3095,62 @@ public Builder removeAggregations(int index) { } } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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`.
      * Requires:
      * * 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`.
      * Requires:
      * * 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -3674,12 +3160,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(); } @@ -3688,16 +3174,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 { - return new StructuredAggregationQuery(input, extensionRegistry); - } - }; + 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; @@ -3712,4 +3209,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.firestore.v1.StructuredAggregationQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java similarity index 61% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java index c3968ed4dc..857f9b1d21 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/query.proto package com.google.firestore.v1; -public interface StructuredAggregationQueryOrBuilder - extends +public interface StructuredAggregationQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredAggregationQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Nested structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; - * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** - * - * *
    * Nested structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; - * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** - * - * *
    * Nested structured query.
    * 
@@ -59,75 +35,55 @@ public interface StructuredAggregationQueryOrBuilder com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder(); /** - * - * *
    * Optional. Series of aggregations to apply over the results of the `structured_query`.
    * Requires:
    * * 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`.
    * Requires:
    * * 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`.
    * Requires:
    * * 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`.
    * Requires:
    * * 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`.
    * Requires:
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder getAggregationsOrBuilder( int index); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java similarity index 74% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java index f53bc8dc04..7ace4086b5 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/query.proto package com.google.firestore.v1; /** - * - * *
  * A Firestore query.
  * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery} */ -public final class StructuredQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StructuredQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery) StructuredQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StructuredQuery.newBuilder() to construct. private StructuredQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StructuredQuery() { from_ = java.util.Collections.emptyList(); orderBy_ = java.util.Collections.emptyList(); @@ -44,197 +26,39 @@ private StructuredQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StructuredQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private StructuredQuery( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.firestore.v1.StructuredQuery.Projection.Builder subBuilder = null; - if (select_ != null) { - subBuilder = select_.toBuilder(); - } - select_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.Projection.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(select_); - select_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - from_ = - new java.util.ArrayList< - com.google.firestore.v1.StructuredQuery.CollectionSelector>(); - mutable_bitField0_ |= 0x00000001; - } - from_.add( - input.readMessage( - com.google.firestore.v1.StructuredQuery.CollectionSelector.parser(), - extensionRegistry)); - break; - } - case 26: - { - com.google.firestore.v1.StructuredQuery.Filter.Builder subBuilder = null; - if (where_ != null) { - subBuilder = where_.toBuilder(); - } - where_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.Filter.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(where_); - where_ = subBuilder.buildPartial(); - } - - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - orderBy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - orderBy_.add( - input.readMessage( - com.google.firestore.v1.StructuredQuery.Order.parser(), extensionRegistry)); - break; - } - case 42: - { - com.google.protobuf.Int32Value.Builder subBuilder = null; - if (limit_ != null) { - subBuilder = limit_.toBuilder(); - } - limit_ = - input.readMessage(com.google.protobuf.Int32Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(limit_); - limit_ = subBuilder.buildPartial(); - } - - break; - } - case 48: - { - offset_ = input.readInt32(); - break; - } - case 58: - { - com.google.firestore.v1.Cursor.Builder subBuilder = null; - if (startAt_ != null) { - subBuilder = startAt_.toBuilder(); - } - startAt_ = - input.readMessage(com.google.firestore.v1.Cursor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startAt_); - startAt_ = subBuilder.buildPartial(); - } - - break; - } - case 66: - { - com.google.firestore.v1.Cursor.Builder subBuilder = null; - if (endAt_ != null) { - subBuilder = endAt_.toBuilder(); - } - endAt_ = - input.readMessage(com.google.firestore.v1.Cursor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endAt_); - endAt_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - from_ = java.util.Collections.unmodifiableList(from_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - orderBy_ = java.util.Collections.unmodifiableList(orderBy_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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.
      * 
@@ -243,8 +67,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ DIRECTION_UNSPECIFIED(0), /** - * - * *
      * Ascending.
      * 
@@ -253,8 +75,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ ASCENDING(1), /** - * - * *
      * Descending.
      * 
@@ -266,8 +86,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -276,8 +94,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIRECTION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Ascending.
      * 
@@ -286,8 +102,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ASCENDING_VALUE = 1; /** - * - * *
      * Descending.
      * 
@@ -296,6 +110,7 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESCENDING_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -320,49 +135,49 @@ public static Direction valueOf(int value) { */ public static Direction forNumber(int value) { switch (value) { - case 0: - return DIRECTION_UNSPECIFIED; - case 1: - return ASCENDING; - case 2: - return DESCENDING; - default: - return null; + case 0: return DIRECTION_UNSPECIFIED; + case 1: return ASCENDING; + case 2: return DESCENDING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Direction> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Direction findValueByNumber(int number) { + return Direction.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Direction findValueByNumber(int number) { - return Direction.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.firestore.v1.StructuredQuery.getDescriptor().getEnumTypes().get(0); } private static final Direction[] VALUES = values(); - public static Direction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Direction valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -379,41 +194,33 @@ private Direction(int value) { // @@protoc_insertion_point(enum_scope:google.firestore.v1.StructuredQuery.Direction) } - public interface CollectionSelectorOrBuilder - extends + public interface CollectionSelectorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.CollectionSelector) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The collection ID.
      * When set, selects only collections with this ID.
      * 
* * string collection_id = 2; - * * @return The collectionId. */ java.lang.String getCollectionId(); /** - * - * *
      * The collection ID.
      * When set, selects only collections with this ID.
      * 
* * string collection_id = 2; - * * @return The bytes for collectionId. */ - com.google.protobuf.ByteString getCollectionIdBytes(); + com.google.protobuf.ByteString + getCollectionIdBytes(); /** - * - * *
      * When false, selects only collections that are immediate children of
      * the `parent` specified in the containing `RunQueryRequest`.
@@ -421,123 +228,64 @@ public interface CollectionSelectorOrBuilder
      * 
* * bool all_descendants = 3; - * * @return The allDescendants. */ boolean getAllDescendants(); } /** - * - * *
    * A selection of a collection, such as `messages as m1`.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CollectionSelector} */ - public static final class CollectionSelector extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CollectionSelector extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.CollectionSelector) CollectionSelectorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CollectionSelector.newBuilder() to construct. private CollectionSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CollectionSelector() { collectionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CollectionSelector(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private CollectionSelector( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - collectionId_ = s; - break; - } - case 24: - { - allDescendants_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -546,30 +294,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 { @@ -580,8 +328,6 @@ public com.google.protobuf.ByteString getCollectionIdBytes() { public static final int ALL_DESCENDANTS_FIELD_NUMBER = 3; private boolean allDescendants_; /** - * - * *
      * When false, selects only collections that are immediate children of
      * the `parent` specified in the containing `RunQueryRequest`.
@@ -589,7 +335,6 @@ public com.google.protobuf.ByteString getCollectionIdBytes() {
      * 
* * bool all_descendants = 3; - * * @return The allDescendants. */ @java.lang.Override @@ -598,7 +343,6 @@ public boolean getAllDescendants() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -610,14 +354,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(collectionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, collectionId_); } if (allDescendants_ != false) { output.writeBool(3, allDescendants_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -630,9 +375,10 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -640,17 +386,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getCollectionId() + .equals(other.getCollectionId())) return false; + if (getAllDescendants() + != other.getAllDescendants()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -664,101 +411,95 @@ public int hashCode() { hash = (37 * hash) + COLLECTION_ID_FIELD_NUMBER; hash = (53 * hash) + getCollectionId().hashCode(); hash = (37 * hash) + ALL_DESCENDANTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllDescendants()); - hash = (29 * hash) + unknownFields.hashCode(); + 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 @@ -768,48 +509,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A selection of a collection, such as `messages as m1`.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CollectionSelector} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.CollectionSelector) com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.CollectionSelector.class, - com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); + com.google.firestore.v1.StructuredQuery.CollectionSelector.class, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.CollectionSelector.newBuilder() private Builder() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -821,14 +553,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; } @java.lang.Override - public com.google.firestore.v1.StructuredQuery.CollectionSelector - getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredQuery.CollectionSelector getDefaultInstanceForType() { return com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance(); } @@ -843,8 +574,7 @@ 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); + com.google.firestore.v1.StructuredQuery.CollectionSelector result = new com.google.firestore.v1.StructuredQuery.CollectionSelector(this); result.collectionId_ = collectionId_; result.allDescendants_ = allDescendants_; onBuilt(); @@ -855,41 +585,38 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -897,9 +624,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.CollectionSelector other) { - if (other - == com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()) return this; if (!other.getCollectionId().isEmpty()) { collectionId_ = other.collectionId_; onChanged(); @@ -907,7 +632,7 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.CollectionSelec if (other.getAllDescendants() != false) { setAllDescendants(other.getAllDescendants()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -922,38 +647,58 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.StructuredQuery.CollectionSelector parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: { + collectionId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + allDescendants_ = input.readBool(); + + 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) { - parsedMessage = - (com.google.firestore.v1.StructuredQuery.CollectionSelector) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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; @@ -962,22 +707,21 @@ public java.lang.String getCollectionId() { } } /** - * - * *
        * The collection ID.
        * When set, selects only collections with this ID.
        * 
* * string collection_id = 2; - * * @return The bytes for collectionId. */ - public com.google.protobuf.ByteString getCollectionIdBytes() { + public com.google.protobuf.ByteString + getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); collectionId_ = b; return b; } else { @@ -985,73 +729,64 @@ public com.google.protobuf.ByteString getCollectionIdBytes() { } } /** - * - * *
        * The collection ID.
        * When set, selects only collections with this ID.
        * 
* * string collection_id = 2; - * * @param value The collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionId(java.lang.String value) { + public Builder setCollectionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + collectionId_ = value; 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() { - + collectionId_ = getDefaultInstance().getCollectionId(); onChanged(); 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) { + public Builder setCollectionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + collectionId_ = value; onChanged(); 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`.
@@ -1059,7 +794,6 @@ public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) {
        * 
* * bool all_descendants = 3; - * * @return The allDescendants. */ @java.lang.Override @@ -1067,8 +801,6 @@ public boolean getAllDescendants() { return allDescendants_; } /** - * - * *
        * When false, selects only collections that are immediate children of
        * the `parent` specified in the containing `RunQueryRequest`.
@@ -1076,19 +808,16 @@ public boolean getAllDescendants() {
        * 
* * bool all_descendants = 3; - * * @param value The allDescendants to set. * @return This builder for chaining. */ public Builder setAllDescendants(boolean value) { - + allDescendants_ = value; onChanged(); return this; } /** - * - * *
        * When false, selects only collections that are immediate children of
        * the `parent` specified in the containing `RunQueryRequest`.
@@ -1096,16 +825,14 @@ public Builder setAllDescendants(boolean value) {
        * 
* * bool all_descendants = 3; - * * @return This builder for chaining. */ public Builder clearAllDescendants() { - + allDescendants_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1118,13 +845,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.CollectionSelector) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.CollectionSelector) - private static final com.google.firestore.v1.StructuredQuery.CollectionSelector - DEFAULT_INSTANCE; - + private static final com.google.firestore.v1.StructuredQuery.CollectionSelector DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.CollectionSelector(); } @@ -1133,16 +859,27 @@ public static com.google.firestore.v1.StructuredQuery.CollectionSelector getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CollectionSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CollectionSelector(input, extensionRegistry); - } - }; + 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; @@ -1157,40 +894,32 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.CollectionSelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface FilterOrBuilder - extends + public interface FilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Filter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A composite filter.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; - * * @return Whether the compositeFilter field is set. */ boolean hasCompositeFilter(); /** - * - * *
      * A composite filter.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; - * * @return The compositeFilter. */ com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilter(); /** - * - * *
      * A composite filter.
      * 
@@ -1200,32 +929,24 @@ public interface FilterOrBuilder com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompositeFilterOrBuilder(); /** - * - * *
      * A filter on a document field.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; - * * @return Whether the fieldFilter field is set. */ boolean hasFieldFilter(); /** - * - * *
      * A filter on a document field.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; - * * @return The fieldFilter. */ com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter(); /** - * - * *
      * A filter on a document field.
      * 
@@ -1235,32 +956,24 @@ public interface FilterOrBuilder com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilterOrBuilder(); /** - * - * *
      * A filter that takes exactly one argument.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; - * * @return Whether the unaryFilter field is set. */ boolean hasUnaryFilter(); /** - * - * *
      * A filter that takes exactly one argument.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; - * * @return The unaryFilter. */ com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter(); /** - * - * *
      * A filter that takes exactly one argument.
      * 
@@ -1272,164 +985,59 @@ public interface FilterOrBuilder public com.google.firestore.v1.StructuredQuery.Filter.FilterTypeCase getFilterTypeCase(); } /** - * - * *
    * A filter.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Filter} */ - public static final class Filter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Filter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Filter) FilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Filter.newBuilder() to construct. private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Filter() {} + private Filter() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Filter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private Filter( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder subBuilder = null; - if (filterTypeCase_ == 1) { - subBuilder = - ((com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_) - .toBuilder(); - } - filterType_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.CompositeFilter.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_); - filterType_ = subBuilder.buildPartial(); - } - filterTypeCase_ = 1; - break; - } - case 18: - { - com.google.firestore.v1.StructuredQuery.FieldFilter.Builder subBuilder = null; - if (filterTypeCase_ == 2) { - subBuilder = - ((com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_) - .toBuilder(); - } - filterType_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.FieldFilter.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_); - filterType_ = subBuilder.buildPartial(); - } - filterTypeCase_ = 2; - break; - } - case 26: - { - com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder subBuilder = null; - if (filterTypeCase_ == 3) { - subBuilder = - ((com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_) - .toBuilder(); - } - filterType_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.UnaryFilter.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_); - filterType_ = subBuilder.buildPartial(); - } - filterTypeCase_ = 3; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Filter.class, - com.google.firestore.v1.StructuredQuery.Filter.Builder.class); + com.google.firestore.v1.StructuredQuery.Filter.class, com.google.firestore.v1.StructuredQuery.Filter.Builder.class); } private int filterTypeCase_ = 0; private java.lang.Object filterType_; - public enum FilterTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMPOSITE_FILTER(1), FIELD_FILTER(2), UNARY_FILTER(3), FILTERTYPE_NOT_SET(0); private final int value; - private FilterTypeCase(int value) { this.value = value; } @@ -1445,38 +1053,31 @@ public static FilterTypeCase valueOf(int value) { public static FilterTypeCase forNumber(int value) { switch (value) { - case 1: - return COMPOSITE_FILTER; - case 2: - return FIELD_FILTER; - case 3: - return UNARY_FILTER; - case 0: - return FILTERTYPE_NOT_SET; - default: - return null; + case 1: return COMPOSITE_FILTER; + case 2: return FIELD_FILTER; + case 3: return UNARY_FILTER; + case 0: return FILTERTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FilterTypeCase getFilterTypeCase() { - return FilterTypeCase.forNumber(filterTypeCase_); + public FilterTypeCase + getFilterTypeCase() { + return FilterTypeCase.forNumber( + filterTypeCase_); } public static final int COMPOSITE_FILTER_FIELD_NUMBER = 1; /** - * - * *
      * A composite filter.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; - * * @return Whether the compositeFilter field is set. */ @java.lang.Override @@ -1484,26 +1085,21 @@ public boolean hasCompositeFilter() { return filterTypeCase_ == 1; } /** - * - * *
      * A composite filter.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; - * * @return The compositeFilter. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilter() { if (filterTypeCase_ == 1) { - return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); } /** - * - * *
      * A composite filter.
      * 
@@ -1511,24 +1107,20 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilte * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ @java.lang.Override - public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder - getCompositeFilterOrBuilder() { + public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompositeFilterOrBuilder() { if (filterTypeCase_ == 1) { - return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); } public static final int FIELD_FILTER_FIELD_NUMBER = 2; /** - * - * *
      * A filter on a document field.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; - * * @return Whether the fieldFilter field is set. */ @java.lang.Override @@ -1536,26 +1128,21 @@ public boolean hasFieldFilter() { return filterTypeCase_ == 2; } /** - * - * *
      * A filter on a document field.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; - * * @return The fieldFilter. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter() { if (filterTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); } /** - * - * *
      * A filter on a document field.
      * 
@@ -1565,21 +1152,18 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilterOrBuilder() { if (filterTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); } public static final int UNARY_FILTER_FIELD_NUMBER = 3; /** - * - * *
      * A filter that takes exactly one argument.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; - * * @return Whether the unaryFilter field is set. */ @java.lang.Override @@ -1587,26 +1171,21 @@ public boolean hasUnaryFilter() { return filterTypeCase_ == 3; } /** - * - * *
      * A filter that takes exactly one argument.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; - * * @return The unaryFilter. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter() { if (filterTypeCase_ == 3) { - return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); } /** - * - * *
      * A filter that takes exactly one argument.
      * 
@@ -1616,13 +1195,12 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder getUnaryFilterOrBuilder() { if (filterTypeCase_ == 3) { - return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1634,10 +1212,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_); @@ -1645,7 +1223,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (filterTypeCase_ == 3) { output.writeMessage(3, (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -1655,21 +1233,18 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -1677,29 +1252,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.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: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1726,99 +1303,93 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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 @@ -1828,60 +1399,60 @@ 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); + if (compositeFilterBuilder_ != null) { + compositeFilterBuilder_.clear(); + } + if (fieldFilterBuilder_ != null) { + fieldFilterBuilder_.clear(); + } + if (unaryFilterBuilder_ != null) { + unaryFilterBuilder_.clear(); + } filterTypeCase_ = 0; filterType_ = null; return this; } @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 @@ -1900,8 +1471,7 @@ 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); + com.google.firestore.v1.StructuredQuery.Filter result = new com.google.firestore.v1.StructuredQuery.Filter(this); if (filterTypeCase_ == 1) { if (compositeFilterBuilder_ == null) { result.filterType_ = filterType_; @@ -1932,41 +1502,38 @@ public com.google.firestore.v1.StructuredQuery.Filter 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -1974,30 +1541,25 @@ 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -2012,25 +1574,59 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.StructuredQuery.Filter parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.firestore.v1.StructuredQuery.Filter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -2040,20 +1636,15 @@ public Builder clearFilterType() { return this; } + 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 @@ -2061,14 +1652,11 @@ public boolean hasCompositeFilter() { return filterTypeCase_ == 1; } /** - * - * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; - * * @return The compositeFilter. */ @java.lang.Override @@ -2086,16 +1674,13 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilte } } /** - * - * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ - public Builder setCompositeFilter( - com.google.firestore.v1.StructuredQuery.CompositeFilter value) { + public Builder setCompositeFilter(com.google.firestore.v1.StructuredQuery.CompositeFilter value) { if (compositeFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2109,8 +1694,6 @@ public Builder setCompositeFilter( return this; } /** - * - * *
        * A composite filter.
        * 
@@ -2129,25 +1712,18 @@ public Builder setCompositeFilter( return this; } /** - * - * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ - public Builder mergeCompositeFilter( - com.google.firestore.v1.StructuredQuery.CompositeFilter value) { + public Builder mergeCompositeFilter(com.google.firestore.v1.StructuredQuery.CompositeFilter value) { if (compositeFilterBuilder_ == null) { - if (filterTypeCase_ == 1 - && filterType_ - != com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) { - filterType_ = - com.google.firestore.v1.StructuredQuery.CompositeFilter.newBuilder( - (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_) - .mergeFrom(value) - .buildPartial(); + if (filterTypeCase_ == 1 && + filterType_ != com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) { + filterType_ = com.google.firestore.v1.StructuredQuery.CompositeFilter.newBuilder((com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_) + .mergeFrom(value).buildPartial(); } else { filterType_ = value; } @@ -2163,8 +1739,6 @@ public Builder mergeCompositeFilter( return this; } /** - * - * *
        * A composite filter.
        * 
@@ -2188,21 +1762,16 @@ public Builder clearCompositeFilter() { return this; } /** - * - * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ - public com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder - getCompositeFilterBuilder() { + public com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder getCompositeFilterBuilder() { return getCompositeFilterFieldBuilder().getBuilder(); } /** - * - * *
        * A composite filter.
        * 
@@ -2210,8 +1779,7 @@ public Builder clearCompositeFilter() { * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ @java.lang.Override - public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder - getCompositeFilterOrBuilder() { + public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompositeFilterOrBuilder() { if ((filterTypeCase_ == 1) && (compositeFilterBuilder_ != null)) { return compositeFilterBuilder_.getMessageOrBuilder(); } else { @@ -2222,8 +1790,6 @@ public Builder clearCompositeFilter() { } } /** - * - * *
        * A composite filter.
        * 
@@ -2231,45 +1797,32 @@ public Builder clearCompositeFilter() { * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CompositeFilter, - com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, - com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder> + com.google.firestore.v1.StructuredQuery.CompositeFilter, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder> getCompositeFilterFieldBuilder() { if (compositeFilterBuilder_ == null) { if (!(filterTypeCase_ == 1)) { - filterType_ = - com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); + filterType_ = com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); } - compositeFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CompositeFilter, - com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, - com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder>( + compositeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.CompositeFilter, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder>( (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_, getParentForChildren(), isClean()); filterType_ = null; } filterTypeCase_ = 1; - onChanged(); - ; + onChanged();; return compositeFilterBuilder_; } 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 @@ -2277,14 +1830,11 @@ public boolean hasFieldFilter() { return filterTypeCase_ == 2; } /** - * - * *
        * A filter on a document field.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; - * * @return The fieldFilter. */ @java.lang.Override @@ -2302,8 +1852,6 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter() { } } /** - * - * *
        * A filter on a document field.
        * 
@@ -2324,8 +1872,6 @@ public Builder setFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFilte return this; } /** - * - * *
        * A filter on a document field.
        * 
@@ -2344,8 +1890,6 @@ public Builder setFieldFilter( return this; } /** - * - * *
        * A filter on a document field.
        * 
@@ -2354,14 +1898,10 @@ public Builder setFieldFilter( */ public Builder mergeFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFilter value) { if (fieldFilterBuilder_ == null) { - if (filterTypeCase_ == 2 - && filterType_ - != com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) { - filterType_ = - com.google.firestore.v1.StructuredQuery.FieldFilter.newBuilder( - (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_) - .mergeFrom(value) - .buildPartial(); + if (filterTypeCase_ == 2 && + filterType_ != com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) { + filterType_ = com.google.firestore.v1.StructuredQuery.FieldFilter.newBuilder((com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_) + .mergeFrom(value).buildPartial(); } else { filterType_ = value; } @@ -2377,8 +1917,6 @@ public Builder mergeFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFil return this; } /** - * - * *
        * A filter on a document field.
        * 
@@ -2402,8 +1940,6 @@ public Builder clearFieldFilter() { return this; } /** - * - * *
        * A filter on a document field.
        * 
@@ -2414,8 +1950,6 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilte return getFieldFilterFieldBuilder().getBuilder(); } /** - * - * *
        * A filter on a document field.
        * 
@@ -2423,8 +1957,7 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilte * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; */ @java.lang.Override - public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder - getFieldFilterOrBuilder() { + public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilterOrBuilder() { if ((filterTypeCase_ == 2) && (fieldFilterBuilder_ != null)) { return fieldFilterBuilder_.getMessageOrBuilder(); } else { @@ -2435,8 +1968,6 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilte } } /** - * - * *
        * A filter on a document field.
        * 
@@ -2444,44 +1975,32 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilte * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldFilter, - com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, - com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder> + com.google.firestore.v1.StructuredQuery.FieldFilter, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder> getFieldFilterFieldBuilder() { if (fieldFilterBuilder_ == null) { if (!(filterTypeCase_ == 2)) { filterType_ = com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); } - fieldFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldFilter, - com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, - com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder>( + fieldFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldFilter, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder>( (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_, getParentForChildren(), isClean()); filterType_ = null; } filterTypeCase_ = 2; - onChanged(); - ; + onChanged();; return fieldFilterBuilder_; } 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 @@ -2489,14 +2008,11 @@ public boolean hasUnaryFilter() { return filterTypeCase_ == 3; } /** - * - * *
        * A filter that takes exactly one argument.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; - * * @return The unaryFilter. */ @java.lang.Override @@ -2514,8 +2030,6 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter() { } } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2536,8 +2050,6 @@ public Builder setUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFilte return this; } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2556,8 +2068,6 @@ public Builder setUnaryFilter( return this; } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2566,14 +2076,10 @@ public Builder setUnaryFilter( */ public Builder mergeUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFilter value) { if (unaryFilterBuilder_ == null) { - if (filterTypeCase_ == 3 - && filterType_ - != com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance()) { - filterType_ = - com.google.firestore.v1.StructuredQuery.UnaryFilter.newBuilder( - (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_) - .mergeFrom(value) - .buildPartial(); + if (filterTypeCase_ == 3 && + filterType_ != com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance()) { + filterType_ = com.google.firestore.v1.StructuredQuery.UnaryFilter.newBuilder((com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_) + .mergeFrom(value).buildPartial(); } else { filterType_ = value; } @@ -2589,8 +2095,6 @@ public Builder mergeUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFil return this; } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2614,8 +2118,6 @@ public Builder clearUnaryFilter() { return this; } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2626,8 +2128,6 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilte return getUnaryFilterFieldBuilder().getBuilder(); } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2635,8 +2135,7 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilte * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; */ @java.lang.Override - public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder - getUnaryFilterOrBuilder() { + public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder getUnaryFilterOrBuilder() { if ((filterTypeCase_ == 3) && (unaryFilterBuilder_ != null)) { return unaryFilterBuilder_.getMessageOrBuilder(); } else { @@ -2647,8 +2146,6 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilte } } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2656,30 +2153,23 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilte * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.UnaryFilter, - com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, - com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder> + com.google.firestore.v1.StructuredQuery.UnaryFilter, com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder> getUnaryFilterFieldBuilder() { if (unaryFilterBuilder_ == null) { if (!(filterTypeCase_ == 3)) { filterType_ = com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); } - unaryFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.UnaryFilter, - com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, - com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder>( + unaryFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.UnaryFilter, com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder>( (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_, getParentForChildren(), isClean()); filterType_ = null; } filterTypeCase_ = 3; - onChanged(); - ; + onChanged();; return unaryFilterBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2692,12 +2182,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(); } @@ -2706,16 +2196,27 @@ public static com.google.firestore.v1.StructuredQuery.Filter getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Filter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Filter(input, extensionRegistry); - } - }; + 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; @@ -2730,41 +2231,33 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CompositeFilterOrBuilder - extends + public interface CompositeFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.CompositeFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The operator for combining multiple filters.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; - * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** - * - * *
      * The operator for combining multiple filters.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; - * * @return The op. */ com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp(); /** - * - * *
      * The list of filters to combine.
      * Requires:
@@ -2773,10 +2266,9 @@ public interface CompositeFilterOrBuilder
      *
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
-    java.util.List getFiltersList();
+    java.util.List 
+        getFiltersList();
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2787,8 +2279,6 @@ public interface CompositeFilterOrBuilder
      */
     com.google.firestore.v1.StructuredQuery.Filter getFilters(int index);
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2799,8 +2289,6 @@ public interface CompositeFilterOrBuilder
      */
     int getFiltersCount();
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2809,11 +2297,9 @@ public interface CompositeFilterOrBuilder
      *
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
-    java.util.List
+    java.util.List 
         getFiltersOrBuilderList();
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2822,27 +2308,25 @@ public interface CompositeFilterOrBuilder
      *
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
-    com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(int index);
+    com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * A filter that merges multiple other filters using the given operator.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CompositeFilter} */ - public static final class CompositeFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CompositeFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.CompositeFilter) CompositeFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompositeFilter.newBuilder() to construct. private CompositeFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompositeFilter() { op_ = 0; filters_ = java.util.Collections.emptyList(); @@ -2850,106 +2334,39 @@ private CompositeFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompositeFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private CompositeFilter( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - int rawValue = input.readEnum(); - - op_ = rawValue; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - filters_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - filters_.add( - input.readMessage( - com.google.firestore.v1.StructuredQuery.Filter.parser(), - extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - filters_ = java.util.Collections.unmodifiableList(filters_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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.
        * 
@@ -2958,8 +2375,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ OPERATOR_UNSPECIFIED(0), /** - * - * *
        * Documents are required to satisfy all of the combined filters.
        * 
@@ -2971,8 +2386,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified. This value must not be used.
        * 
@@ -2981,8 +2394,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Documents are required to satisfy all of the combined filters.
        * 
@@ -2991,6 +2402,7 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AND_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3015,49 +2427,48 @@ public static Operator valueOf(int value) { */ public static Operator forNumber(int value) { switch (value) { - case 0: - return OPERATOR_UNSPECIFIED; - case 1: - return AND; - default: - return null; + case 0: return OPERATOR_UNSPECIFIED; + case 1: return AND; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Operator> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Operator findValueByNumber(int number) { + return Operator.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operator findValueByNumber(int number) { - return Operator.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDescriptor().getEnumTypes().get(0); } private static final Operator[] VALUES = values(); - public static Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Operator valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -3077,46 +2488,33 @@ private Operator(int value) { public static final int OP_FIELD_NUMBER = 1; private int op_; /** - * - * *
      * 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() { + @java.lang.Override public com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = - com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.valueOf(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.valueOf(op_); + return result == null ? com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.UNRECOGNIZED : result; } public static final int FILTERS_FIELD_NUMBER = 2; private java.util.List filters_; /** - * - * *
      * The list of filters to combine.
      * Requires:
@@ -3130,8 +2528,6 @@ public java.util.List getFilters
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -3141,13 +2537,11 @@ public java.util.List getFilters
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getFiltersOrBuilderList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -3161,8 +2555,6 @@ public int getFiltersCount() {
       return filters_.size();
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -3176,8 +2568,6 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
       return filters_.get(index);
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -3187,12 +2577,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;
@@ -3204,16 +2594,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.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++) {
         output.writeMessage(2, filters_.get(i));
       }
-      unknownFields.writeTo(output);
+      getUnknownFields().writeTo(output);
     }
 
     @java.lang.Override
@@ -3222,15 +2611,15 @@ 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 += unknownFields.getSerializedSize();
+      size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
       return size;
     }
@@ -3238,17 +2627,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.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 (!unknownFields.equals(other.unknownFields)) return false;
+      if (!getFiltersList()
+          .equals(other.getFiltersList())) return false;
+      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
 
@@ -3265,100 +2654,93 @@ public int hashCode() {
         hash = (37 * hash) + FILTERS_FIELD_NUMBER;
         hash = (53 * hash) + getFiltersList().hashCode();
       }
-      hash = (29 * hash) + unknownFields.hashCode();
+      hash = (29 * hash) + getUnknownFields().hashCode();
       memoizedHashCode = hash;
       return hash;
     }
 
     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
@@ -3368,50 +2750,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A filter that merges multiple other filters using the given operator.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CompositeFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.CompositeFilter) com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.CompositeFilter.class, - com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.CompositeFilter.class, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.CompositeFilter.newBuilder() private Builder() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getFiltersFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3419,17 +2790,18 @@ public Builder clear() { if (filtersBuilder_ == null) { filters_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + filters_ = null; filtersBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); return this; } @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 @@ -3448,8 +2820,7 @@ 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); int from_bitField0_ = bitField0_; result.op_ = op_; if (filtersBuilder_ == null) { @@ -3469,41 +2840,38 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilter 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -3511,8 +2879,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.CompositeFilter other) { - if (other == com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) return this; if (other.op_ != 0) { setOpValue(other.getOpValue()); } @@ -3534,16 +2901,15 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.CompositeFilter filtersBuilder_ = null; filters_ = other.filters_; bitField0_ = (bitField0_ & ~0x00000001); - filtersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFiltersFieldBuilder() - : null; + filtersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFiltersFieldBuilder() : null; } else { filtersBuilder_.addAllMessages(other.filters_); } } } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -3558,86 +2924,99 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.StructuredQuery.CompositeFilter parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + op_ = input.readEnum(); + + 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) { - parsedMessage = - (com.google.firestore.v1.StructuredQuery.CompositeFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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. */ public Builder setOpValue(int value) { - + op_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = - com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.valueOf(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.valueOf(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. */ @@ -3645,49 +3024,39 @@ public Builder setOp(com.google.firestore.v1.StructuredQuery.CompositeFilter.Ope if (value == null) { throw new NullPointerException(); } - + op_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The operator for combining multiple filters.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; - * * @return This builder for chaining. */ public Builder clearOp() { - + op_ = 0; onChanged(); return this; } private java.util.List filters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFiltersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - filters_ = - new java.util.ArrayList(filters_); + filters_ = new java.util.ArrayList(filters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Filter, - com.google.firestore.v1.StructuredQuery.Filter.Builder, - com.google.firestore.v1.StructuredQuery.FilterOrBuilder> - filtersBuilder_; + com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder> filtersBuilder_; /** - * - * *
        * The list of filters to combine.
        * Requires:
@@ -3704,8 +3073,6 @@ public java.util.List getFilters
         }
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3722,8 +3089,6 @@ public int getFiltersCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3740,8 +3105,6 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3750,7 +3113,8 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public Builder setFilters(int index, com.google.firestore.v1.StructuredQuery.Filter value) {
+      public Builder setFilters(
+          int index, com.google.firestore.v1.StructuredQuery.Filter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -3764,8 +3128,6 @@ public Builder setFilters(int index, com.google.firestore.v1.StructuredQuery.Fil
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3786,8 +3148,6 @@ public Builder setFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3810,8 +3170,6 @@ public Builder addFilters(com.google.firestore.v1.StructuredQuery.Filter value)
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3820,7 +3178,8 @@ public Builder addFilters(com.google.firestore.v1.StructuredQuery.Filter value)
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public Builder addFilters(int index, com.google.firestore.v1.StructuredQuery.Filter value) {
+      public Builder addFilters(
+          int index, com.google.firestore.v1.StructuredQuery.Filter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -3834,8 +3193,6 @@ public Builder addFilters(int index, com.google.firestore.v1.StructuredQuery.Fil
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3856,8 +3213,6 @@ public Builder addFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3878,8 +3233,6 @@ public Builder addFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3892,7 +3245,8 @@ public Builder addAllFilters(
           java.lang.Iterable values) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filters_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, filters_);
           onChanged();
         } else {
           filtersBuilder_.addAllMessages(values);
@@ -3900,8 +3254,6 @@ public Builder addAllFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3921,8 +3273,6 @@ public Builder clearFilters() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3942,8 +3292,6 @@ public Builder removeFilters(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3952,12 +3300,11 @@ public Builder removeFilters(int index) {
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public com.google.firestore.v1.StructuredQuery.Filter.Builder getFiltersBuilder(int index) {
+      public com.google.firestore.v1.StructuredQuery.Filter.Builder getFiltersBuilder(
+          int index) {
         return getFiltersFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3969,14 +3316,11 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder getFiltersBuilder(
       public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(
           int index) {
         if (filtersBuilder_ == null) {
-          return filters_.get(index);
-        } else {
+          return filters_.get(index);  } else {
           return filtersBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3985,8 +3329,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 {
@@ -3994,8 +3338,6 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuild
         }
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -4005,12 +3347,10 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuild
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
       public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder() {
-        return getFiltersFieldBuilder()
-            .addBuilder(com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
+        return getFiltersFieldBuilder().addBuilder(
+            com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -4019,13 +3359,12 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(int index) {
-        return getFiltersFieldBuilder()
-            .addBuilder(index, com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
+      public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(
+          int index) {
+        return getFiltersFieldBuilder().addBuilder(
+            index, com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -4034,28 +3373,24 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public java.util.List
-          getFiltersBuilderList() {
+      public java.util.List 
+           getFiltersBuilderList() {
         return getFiltersFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.firestore.v1.StructuredQuery.Filter,
-              com.google.firestore.v1.StructuredQuery.Filter.Builder,
-              com.google.firestore.v1.StructuredQuery.FilterOrBuilder>
+          com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder> 
           getFiltersFieldBuilder() {
         if (filtersBuilder_ == null) {
-          filtersBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.firestore.v1.StructuredQuery.Filter,
-                  com.google.firestore.v1.StructuredQuery.Filter.Builder,
-                  com.google.firestore.v1.StructuredQuery.FilterOrBuilder>(
-                  filters_, ((bitField0_ & 0x00000001) != 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_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           filters_ = null;
         }
         return filtersBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4068,12 +3403,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();
     }
@@ -4082,16 +3417,27 @@ public static com.google.firestore.v1.StructuredQuery.CompositeFilter getDefault
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CompositeFilter parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new CompositeFilter(input, extensionRegistry);
-          }
-        };
+    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;
@@ -4106,40 +3452,32 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.StructuredQuery.CompositeFilter getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface FieldFilterOrBuilder
-      extends
+  public interface FieldFilterOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.FieldFilter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The field to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
      * The field to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return The field. */ com.google.firestore.v1.StructuredQuery.FieldReference getField(); /** - * - * *
      * The field to filter by.
      * 
@@ -4149,57 +3487,43 @@ public interface FieldFilterOrBuilder com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); /** - * - * *
      * The operator to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; - * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** - * - * *
      * The operator to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; - * * @return The op. */ com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp(); /** - * - * *
      * The value to compare to.
      * 
* * .google.firestore.v1.Value value = 3; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
      * The value to compare to.
      * 
* * .google.firestore.v1.Value value = 3; - * * @return The value. */ com.google.firestore.v1.Value getValue(); /** - * - * *
      * The value to compare to.
      * 
@@ -4209,145 +3533,60 @@ public interface FieldFilterOrBuilder com.google.firestore.v1.ValueOrBuilder getValueOrBuilder(); } /** - * - * *
    * A filter on a specific field.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldFilter} */ - public static final class FieldFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class FieldFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.FieldFilter) FieldFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldFilter.newBuilder() to construct. private FieldFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FieldFilter() { op_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FieldFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private FieldFilter( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.firestore.v1.StructuredQuery.FieldReference.Builder subBuilder = null; - if (field_ != null) { - subBuilder = field_.toBuilder(); - } - field_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.FieldReference.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(field_); - field_ = subBuilder.buildPartial(); - } - - break; - } - case 16: - { - int rawValue = input.readEnum(); - - op_ = rawValue; - break; - } - case 26: - { - com.google.firestore.v1.Value.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = - input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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.
        * 
@@ -4356,8 +3595,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ OPERATOR_UNSPECIFIED(0), /** - * - * *
        * The given `field` is less than the given `value`.
        * Requires:
@@ -4368,8 +3605,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       LESS_THAN(1),
       /**
-       *
-       *
        * 
        * The given `field` is less than or equal to the given `value`.
        * Requires:
@@ -4380,8 +3615,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       LESS_THAN_OR_EQUAL(2),
       /**
-       *
-       *
        * 
        * The given `field` is greater than the given `value`.
        * Requires:
@@ -4392,8 +3625,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       GREATER_THAN(3),
       /**
-       *
-       *
        * 
        * The given `field` is greater than or equal to the given `value`.
        * Requires:
@@ -4404,8 +3635,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       GREATER_THAN_OR_EQUAL(4),
       /**
-       *
-       *
        * 
        * The given `field` is equal to the given `value`.
        * 
@@ -4414,8 +3643,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ EQUAL(5), /** - * - * *
        * The given `field` is not equal to the given `value`.
        * Requires:
@@ -4427,8 +3654,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       NOT_EQUAL(6),
       /**
-       *
-       *
        * 
        * The given `field` is an array that contains the given `value`.
        * 
@@ -4437,8 +3662,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ ARRAY_CONTAINS(7), /** - * - * *
        * The given `field` is equal to at least one value in the given array.
        * Requires:
@@ -4450,8 +3673,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       IN(8),
       /**
-       *
-       *
        * 
        * The given `field` is an array that contains any of the values in the
        * given array.
@@ -4464,8 +3685,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       ARRAY_CONTAINS_ANY(9),
       /**
-       *
-       *
        * 
        * The value of the `field` is not in the given array.
        * Requires:
@@ -4482,8 +3701,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -4492,8 +3709,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The given `field` is less than the given `value`.
        * Requires:
@@ -4504,8 +3719,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int LESS_THAN_VALUE = 1;
       /**
-       *
-       *
        * 
        * The given `field` is less than or equal to the given `value`.
        * Requires:
@@ -4516,8 +3729,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int LESS_THAN_OR_EQUAL_VALUE = 2;
       /**
-       *
-       *
        * 
        * The given `field` is greater than the given `value`.
        * Requires:
@@ -4528,8 +3739,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int GREATER_THAN_VALUE = 3;
       /**
-       *
-       *
        * 
        * The given `field` is greater than or equal to the given `value`.
        * Requires:
@@ -4540,8 +3749,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int GREATER_THAN_OR_EQUAL_VALUE = 4;
       /**
-       *
-       *
        * 
        * The given `field` is equal to the given `value`.
        * 
@@ -4550,8 +3757,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EQUAL_VALUE = 5; /** - * - * *
        * The given `field` is not equal to the given `value`.
        * Requires:
@@ -4563,8 +3768,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NOT_EQUAL_VALUE = 6;
       /**
-       *
-       *
        * 
        * The given `field` is an array that contains the given `value`.
        * 
@@ -4573,8 +3776,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRAY_CONTAINS_VALUE = 7; /** - * - * *
        * The given `field` is equal to at least one value in the given array.
        * Requires:
@@ -4586,8 +3787,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int IN_VALUE = 8;
       /**
-       *
-       *
        * 
        * The given `field` is an array that contains any of the values in the
        * given array.
@@ -4600,8 +3799,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int ARRAY_CONTAINS_ANY_VALUE = 9;
       /**
-       *
-       *
        * 
        * The value of the `field` is not in the given array.
        * Requires:
@@ -4615,6 +3812,7 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NOT_IN_VALUE = 10;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -4639,67 +3837,57 @@ public static Operator valueOf(int value) {
        */
       public static Operator forNumber(int value) {
         switch (value) {
-          case 0:
-            return OPERATOR_UNSPECIFIED;
-          case 1:
-            return LESS_THAN;
-          case 2:
-            return LESS_THAN_OR_EQUAL;
-          case 3:
-            return GREATER_THAN;
-          case 4:
-            return GREATER_THAN_OR_EQUAL;
-          case 5:
-            return EQUAL;
-          case 6:
-            return NOT_EQUAL;
-          case 7:
-            return ARRAY_CONTAINS;
-          case 8:
-            return IN;
-          case 9:
-            return ARRAY_CONTAINS_ANY;
-          case 10:
-            return NOT_IN;
-          default:
-            return null;
-        }
-      }
-
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+          case 0: return OPERATOR_UNSPECIFIED;
+          case 1: return LESS_THAN;
+          case 2: return LESS_THAN_OR_EQUAL;
+          case 3: return GREATER_THAN;
+          case 4: return GREATER_THAN_OR_EQUAL;
+          case 5: return EQUAL;
+          case 6: return NOT_EQUAL;
+          case 7: return ARRAY_CONTAINS;
+          case 8: return IN;
+          case 9: return ARRAY_CONTAINS_ANY;
+          case 10: return NOT_IN;
+          default: return null;
+        }
+      }
+
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          Operator> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Operator findValueByNumber(int number) {
+                return Operator.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Operator findValueByNumber(int number) {
-              return Operator.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.firestore.v1.StructuredQuery.FieldFilter.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.firestore.v1.StructuredQuery.FieldFilter.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Operator[] VALUES = values();
 
-      public static Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Operator valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -4719,14 +3907,11 @@ private Operator(int value) {
     public static final int FIELD_FIELD_NUMBER = 1;
     private com.google.firestore.v1.StructuredQuery.FieldReference field_;
     /**
-     *
-     *
      * 
      * The field to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return Whether the field field is set. */ @java.lang.Override @@ -4734,25 +3919,18 @@ public boolean hasField() { return field_ != null; } /** - * - * *
      * The field to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return The field. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReference getField() { - return field_ == null - ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; } /** - * - * *
      * The field to filter by.
      * 
@@ -4767,52 +3945,38 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO public static final int OP_FIELD_NUMBER = 2; private int op_; /** - * - * *
      * 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() { + @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = - com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.valueOf(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.valueOf(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 @@ -4820,14 +3984,11 @@ public boolean hasValue() { return value_ != null; } /** - * - * *
      * The value to compare to.
      * 
* * .google.firestore.v1.Value value = 3; - * * @return The value. */ @java.lang.Override @@ -4835,8 +3996,6 @@ public com.google.firestore.v1.Value getValue() { return value_ == null ? com.google.firestore.v1.Value.getDefaultInstance() : value_; } /** - * - * *
      * The value to compare to.
      * 
@@ -4849,7 +4008,6 @@ public com.google.firestore.v1.ValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4861,19 +4019,18 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { output.writeMessage(3, getValue()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -4883,17 +4040,18 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -4901,24 +4059,25 @@ public int getSerializedSize() { @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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4939,100 +4098,93 @@ public int hashCode() { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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 @@ -5042,48 +4194,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A filter on a specific field.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.FieldFilter) com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.FieldFilter.class, - com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.FieldFilter.class, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.FieldFilter.newBuilder() private Builder() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -5105,9 +4248,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 @@ -5126,8 +4269,7 @@ 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); + com.google.firestore.v1.StructuredQuery.FieldFilter result = new com.google.firestore.v1.StructuredQuery.FieldFilter(this); if (fieldBuilder_ == null) { result.field_ = field_; } else { @@ -5147,41 +4289,38 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -5189,8 +4328,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.FieldFilter other) { - if (other == com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) return this; if (other.hasField()) { mergeField(other.getField()); } @@ -5200,7 +4338,7 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.FieldFilter oth if (other.hasValue()) { mergeValue(other.getValue()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -5215,64 +4353,82 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.StructuredQuery.FieldFilter parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getFieldFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 16: { + op_ = input.readEnum(); + + break; + } // case 16 + case 26: { + input.readMessage( + getValueFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = - (com.google.firestore.v1.StructuredQuery.FieldFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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 fieldBuilder_ != null || field_ != null; } /** - * - * *
        * 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.
        * 
@@ -5293,8 +4449,6 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** - * - * *
        * The field to filter by.
        * 
@@ -5313,8 +4467,6 @@ public Builder setField( return this; } /** - * - * *
        * The field to filter by.
        * 
@@ -5325,9 +4477,7 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder(field_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -5339,8 +4489,6 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** - * - * *
        * The field to filter by.
        * 
@@ -5359,8 +4507,6 @@ public Builder clearField() { return this; } /** - * - * *
        * The field to filter by.
        * 
@@ -5368,13 +4514,11 @@ public Builder clearField() { * .google.firestore.v1.StructuredQuery.FieldReference field = 1; */ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** - * - * *
        * The field to filter by.
        * 
@@ -5385,14 +4529,11 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null - ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + return field_ == null ? + com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; } } /** - * - * *
        * The field to filter by.
        * 
@@ -5400,17 +4541,14 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO * .google.firestore.v1.StructuredQuery.FieldReference field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( - getField(), getParentForChildren(), isClean()); + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( + getField(), + getParentForChildren(), + isClean()); field_ = null; } return fieldBuilder_; @@ -5418,67 +4556,51 @@ 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. */ public Builder setOpValue(int value) { - + op_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = - com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.valueOf(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.valueOf(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. */ @@ -5486,24 +4608,21 @@ public Builder setOp(com.google.firestore.v1.StructuredQuery.FieldFilter.Operato if (value == null) { throw new NullPointerException(); } - + op_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The operator to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; - * * @return This builder for chaining. */ public Builder clearOp() { - + op_ = 0; onChanged(); return this; @@ -5511,33 +4630,24 @@ public Builder clearOp() { private com.google.firestore.v1.Value value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder> - valueBuilder_; + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> valueBuilder_; /** - * - * *
        * The value to compare to.
        * 
* * .google.firestore.v1.Value value = 3; - * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** - * - * *
        * The value to compare to.
        * 
* * .google.firestore.v1.Value value = 3; - * * @return The value. */ public com.google.firestore.v1.Value getValue() { @@ -5548,8 +4658,6 @@ public com.google.firestore.v1.Value getValue() { } } /** - * - * *
        * The value to compare to.
        * 
@@ -5570,15 +4678,14 @@ public Builder setValue(com.google.firestore.v1.Value value) { return this; } /** - * - * *
        * The value to compare to.
        * 
* * .google.firestore.v1.Value value = 3; */ - public Builder setValue(com.google.firestore.v1.Value.Builder builderForValue) { + public Builder setValue( + com.google.firestore.v1.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -5589,8 +4696,6 @@ public Builder setValue(com.google.firestore.v1.Value.Builder builderForValue) { return this; } /** - * - * *
        * The value to compare to.
        * 
@@ -5601,7 +4706,7 @@ public Builder mergeValue(com.google.firestore.v1.Value value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.firestore.v1.Value.newBuilder(value_).mergeFrom(value).buildPartial(); + com.google.firestore.v1.Value.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -5613,8 +4718,6 @@ public Builder mergeValue(com.google.firestore.v1.Value value) { return this; } /** - * - * *
        * The value to compare to.
        * 
@@ -5633,8 +4736,6 @@ public Builder clearValue() { return this; } /** - * - * *
        * The value to compare to.
        * 
@@ -5642,13 +4743,11 @@ public Builder clearValue() { * .google.firestore.v1.Value value = 3; */ public com.google.firestore.v1.Value.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** - * - * *
        * The value to compare to.
        * 
@@ -5659,12 +4758,11 @@ public com.google.firestore.v1.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? com.google.firestore.v1.Value.getDefaultInstance() : value_; + return value_ == null ? + com.google.firestore.v1.Value.getDefaultInstance() : value_; } } /** - * - * *
        * The value to compare to.
        * 
@@ -5672,22 +4770,18 @@ public com.google.firestore.v1.ValueOrBuilder getValueOrBuilder() { * .google.firestore.v1.Value value = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder> + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder>( - getValue(), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5700,12 +4794,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(); } @@ -5714,16 +4808,27 @@ public static com.google.firestore.v1.StructuredQuery.FieldFilter getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FieldFilter(input, extensionRegistry); - } - }; + 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; @@ -5738,65 +4843,51 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.FieldFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UnaryFilterOrBuilder - extends + public interface UnaryFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.UnaryFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The unary operator to apply.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; - * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** - * - * *
      * The unary operator to apply.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; - * * @return The op. */ com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp(); /** - * - * *
      * The field to which to apply the operator.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
      * The field to which to apply the operator.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; - * * @return The field. */ com.google.firestore.v1.StructuredQuery.FieldReference getField(); /** - * - * *
      * The field to which to apply the operator.
      * 
@@ -5808,133 +4899,60 @@ public interface UnaryFilterOrBuilder public com.google.firestore.v1.StructuredQuery.UnaryFilter.OperandTypeCase getOperandTypeCase(); } /** - * - * *
    * A filter with a single operand.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.UnaryFilter} */ - public static final class UnaryFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UnaryFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.UnaryFilter) UnaryFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UnaryFilter.newBuilder() to construct. private UnaryFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UnaryFilter() { op_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UnaryFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private UnaryFilter( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - int rawValue = input.readEnum(); - - op_ = rawValue; - break; - } - case 18: - { - com.google.firestore.v1.StructuredQuery.FieldReference.Builder subBuilder = null; - if (operandTypeCase_ == 2) { - subBuilder = - ((com.google.firestore.v1.StructuredQuery.FieldReference) operandType_) - .toBuilder(); - } - operandType_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.FieldReference.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_); - operandType_ = subBuilder.buildPartial(); - } - operandTypeCase_ = 2; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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.
        * 
@@ -5943,8 +4961,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ OPERATOR_UNSPECIFIED(0), /** - * - * *
        * The given `field` is equal to `NaN`.
        * 
@@ -5953,8 +4969,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ IS_NAN(2), /** - * - * *
        * The given `field` is equal to `NULL`.
        * 
@@ -5963,8 +4977,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ IS_NULL(3), /** - * - * *
        * The given `field` is not equal to `NaN`.
        * Requires:
@@ -5976,8 +4988,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       IS_NOT_NAN(4),
       /**
-       *
-       *
        * 
        * The given `field` is not equal to `NULL`.
        * Requires:
@@ -5992,8 +5002,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -6002,8 +5010,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The given `field` is equal to `NaN`.
        * 
@@ -6012,8 +5018,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IS_NAN_VALUE = 2; /** - * - * *
        * The given `field` is equal to `NULL`.
        * 
@@ -6022,8 +5026,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IS_NULL_VALUE = 3; /** - * - * *
        * The given `field` is not equal to `NaN`.
        * Requires:
@@ -6035,8 +5037,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int IS_NOT_NAN_VALUE = 4;
       /**
-       *
-       *
        * 
        * The given `field` is not equal to `NULL`.
        * Requires:
@@ -6048,6 +5048,7 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int IS_NOT_NULL_VALUE = 5;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -6072,55 +5073,51 @@ public static Operator valueOf(int value) {
        */
       public static Operator forNumber(int value) {
         switch (value) {
-          case 0:
-            return OPERATOR_UNSPECIFIED;
-          case 2:
-            return IS_NAN;
-          case 3:
-            return IS_NULL;
-          case 4:
-            return IS_NOT_NAN;
-          case 5:
-            return IS_NOT_NULL;
-          default:
-            return null;
-        }
-      }
-
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-        return internalValueMap;
+          case 0: return OPERATOR_UNSPECIFIED;
+          case 2: return IS_NAN;
+          case 3: return IS_NULL;
+          case 4: return IS_NOT_NAN;
+          case 5: return IS_NOT_NULL;
+          default: return null;
+        }
       }
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Operator findValueByNumber(int number) {
-              return Operator.forNumber(number);
-            }
-          };
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
+        return internalValueMap;
+      }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          Operator> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Operator findValueByNumber(int number) {
+                return Operator.forNumber(number);
+              }
+            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Operator[] VALUES = values();
 
-      public static Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Operator valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -6139,15 +5136,12 @@ private Operator(int value) {
 
     private int operandTypeCase_ = 0;
     private java.lang.Object operandType_;
-
     public enum OperandTypeCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       FIELD(2),
       OPERANDTYPE_NOT_SET(0);
       private final int value;
-
       private OperandTypeCase(int value) {
         this.value = value;
       }
@@ -6163,72 +5157,56 @@ 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_;
     /**
-     *
-     *
      * 
      * 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() { + @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = - com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.valueOf(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.valueOf(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 @@ -6236,26 +5214,21 @@ public boolean hasField() { return operandTypeCase_ == 2; } /** - * - * *
      * The field to which to apply the operator.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; - * * @return The field. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReference getField() { if (operandTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; + return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; } return com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); } /** - * - * *
      * The field to which to apply the operator.
      * 
@@ -6265,13 +5238,12 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { if (operandTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; + return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; } return com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6283,17 +5255,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_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -6302,17 +5272,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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -6320,24 +5288,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.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: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6358,100 +5326,93 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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 @@ -6461,62 +5422,56 @@ 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); op_ = 0; + if (fieldBuilder_ != null) { + fieldBuilder_.clear(); + } operandTypeCase_ = 0; operandType_ = null; return this; } @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 @@ -6535,8 +5490,7 @@ 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); + com.google.firestore.v1.StructuredQuery.UnaryFilter result = new com.google.firestore.v1.StructuredQuery.UnaryFilter(this); result.op_ = op_; if (operandTypeCase_ == 2) { if (fieldBuilder_ == null) { @@ -6554,41 +5508,38 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -6596,23 +5547,20 @@ 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -6627,26 +5575,50 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.StructuredQuery.UnaryFilter parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + op_ = input.readEnum(); + + 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) { - parsedMessage = - (com.google.firestore.v1.StructuredQuery.UnaryFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -6656,69 +5628,54 @@ public Builder clearOperandType() { return this; } + 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. */ public Builder setOpValue(int value) { - + op_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = - com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.valueOf(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.valueOf(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. */ @@ -6726,43 +5683,34 @@ public Builder setOp(com.google.firestore.v1.StructuredQuery.UnaryFilter.Operato if (value == null) { throw new NullPointerException(); } - + op_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The unary operator to apply.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; - * * @return This builder for chaining. */ public Builder clearOp() { - + op_ = 0; onChanged(); return this; } 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 @@ -6770,14 +5718,11 @@ public boolean hasField() { return operandTypeCase_ == 2; } /** - * - * *
        * The field to which to apply the operator.
        * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; - * * @return The field. */ @java.lang.Override @@ -6795,8 +5740,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { } } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6817,8 +5760,6 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6837,8 +5778,6 @@ public Builder setField( return this; } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6847,14 +5786,10 @@ public Builder setField( */ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference value) { if (fieldBuilder_ == null) { - if (operandTypeCase_ == 2 - && operandType_ - != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { - operandType_ = - com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder( - (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_) - .mergeFrom(value) - .buildPartial(); + if (operandTypeCase_ == 2 && + operandType_ != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { + operandType_ = com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder((com.google.firestore.v1.StructuredQuery.FieldReference) operandType_) + .mergeFrom(value).buildPartial(); } else { operandType_ = value; } @@ -6870,8 +5805,6 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6895,8 +5828,6 @@ public Builder clearField() { return this; } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6907,8 +5838,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBu return getFieldFieldBuilder().getBuilder(); } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6927,8 +5856,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO } } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6936,31 +5863,23 @@ 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()); operandType_ = null; } operandTypeCase_ = 2; - onChanged(); - ; + onChanged();; return fieldBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6973,12 +5892,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(); } @@ -6987,16 +5906,27 @@ public static com.google.firestore.v1.StructuredQuery.UnaryFilter getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnaryFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UnaryFilter(input, extensionRegistry); - } - }; + 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; @@ -7011,40 +5941,32 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.UnaryFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface OrderOrBuilder - extends + public interface OrderOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Order) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The field to order by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
      * The field to order by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return The field. */ com.google.firestore.v1.StructuredQuery.FieldReference getField(); /** - * - * *
      * The field to order by.
      * 
@@ -7054,153 +5976,77 @@ public interface OrderOrBuilder com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); /** - * - * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; - * * @return The enum numeric value on the wire for direction. */ int getDirectionValue(); /** - * - * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; - * * @return The direction. */ com.google.firestore.v1.StructuredQuery.Direction getDirection(); } /** - * - * *
    * An order on a field.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Order} */ - public static final class Order extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Order extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Order) OrderOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Order.newBuilder() to construct. private Order(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Order() { direction_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Order(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private Order( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.firestore.v1.StructuredQuery.FieldReference.Builder subBuilder = null; - if (field_ != null) { - subBuilder = field_.toBuilder(); - } - field_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.FieldReference.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(field_); - field_ = subBuilder.buildPartial(); - } - - break; - } - case 16: - { - int rawValue = input.readEnum(); - - direction_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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 @@ -7208,25 +6054,18 @@ public boolean hasField() { return field_ != null; } /** - * - * *
      * The field to order by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return The field. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReference getField() { - return field_ == null - ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; } /** - * - * *
      * The field to order by.
      * 
@@ -7241,43 +6080,31 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO public static final int DIRECTION_FIELD_NUMBER = 2; private int direction_; /** - * - * *
      * 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() { + @java.lang.Override public com.google.firestore.v1.StructuredQuery.Direction getDirection() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.Direction result = - com.google.firestore.v1.StructuredQuery.Direction.valueOf(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.valueOf(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; @@ -7289,15 +6116,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 (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_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -7307,13 +6134,14 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -7321,20 +6149,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7351,99 +6179,93 @@ public int hashCode() { } hash = (37 * hash) + DIRECTION_FIELD_NUMBER; hash = (53 * hash) + direction_; - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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 @@ -7453,48 +6275,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An order on a field.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Order} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.Order) com.google.firestore.v1.StructuredQuery.OrderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Order.class, - com.google.firestore.v1.StructuredQuery.Order.Builder.class); + com.google.firestore.v1.StructuredQuery.Order.class, com.google.firestore.v1.StructuredQuery.Order.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.Order.newBuilder() private Builder() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -7510,9 +6323,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 @@ -7531,8 +6344,7 @@ 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); + com.google.firestore.v1.StructuredQuery.Order result = new com.google.firestore.v1.StructuredQuery.Order(this); if (fieldBuilder_ == null) { result.field_ = field_; } else { @@ -7547,41 +6359,38 @@ public com.google.firestore.v1.StructuredQuery.Order 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -7589,15 +6398,14 @@ 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()); } if (other.direction_ != 0) { setDirectionValue(other.getDirectionValue()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -7612,63 +6420,75 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.StructuredQuery.Order parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getFieldFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 16: { + direction_ = input.readEnum(); + + 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) { - parsedMessage = (com.google.firestore.v1.StructuredQuery.Order) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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 fieldBuilder_ != null || field_ != null; } /** - * - * *
        * 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.
        * 
@@ -7689,8 +6509,6 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** - * - * *
        * The field to order by.
        * 
@@ -7709,8 +6527,6 @@ public Builder setField( return this; } /** - * - * *
        * The field to order by.
        * 
@@ -7721,9 +6537,7 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder(field_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -7735,8 +6549,6 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** - * - * *
        * The field to order by.
        * 
@@ -7755,8 +6567,6 @@ public Builder clearField() { return this; } /** - * - * *
        * The field to order by.
        * 
@@ -7764,13 +6574,11 @@ public Builder clearField() { * .google.firestore.v1.StructuredQuery.FieldReference field = 1; */ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** - * - * *
        * The field to order by.
        * 
@@ -7781,14 +6589,11 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null - ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + return field_ == null ? + com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; } } /** - * - * *
        * The field to order by.
        * 
@@ -7796,17 +6601,14 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO * .google.firestore.v1.StructuredQuery.FieldReference field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( - getField(), getParentForChildren(), isClean()); + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( + getField(), + getParentForChildren(), + isClean()); field_ = null; } return fieldBuilder_; @@ -7814,67 +6616,51 @@ 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. */ public Builder setDirectionValue(int value) { - + direction_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.Direction result = - com.google.firestore.v1.StructuredQuery.Direction.valueOf(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.valueOf(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. */ @@ -7882,29 +6668,25 @@ public Builder setDirection(com.google.firestore.v1.StructuredQuery.Direction va if (value == null) { throw new NullPointerException(); } - + direction_ = value.getNumber(); onChanged(); 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() { - + direction_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7917,12 +6699,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(); } @@ -7931,16 +6713,27 @@ public static com.google.firestore.v1.StructuredQuery.Order getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Order parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Order(input, extensionRegistry); - } - }; + 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; @@ -7955,16 +6748,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.Order getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface FieldReferenceOrBuilder - extends + public interface FieldReferenceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.FieldReference) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The relative path of the document being referenced.
      * Requires:
@@ -7972,13 +6763,10 @@ public interface FieldReferenceOrBuilder
      * 
* * string field_path = 2; - * * @return The fieldPath. */ java.lang.String getFieldPath(); /** - * - * *
      * The relative path of the document being referenced.
      * Requires:
@@ -7986,111 +6774,59 @@ public interface FieldReferenceOrBuilder
      * 
* * string field_path = 2; - * * @return The bytes for fieldPath. */ - com.google.protobuf.ByteString getFieldPathBytes(); + com.google.protobuf.ByteString + getFieldPathBytes(); } /** - * - * *
    * A reference to a field in a document, ex: `stats.operations`.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldReference} */ - public static final class FieldReference extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class FieldReference extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.FieldReference) FieldReferenceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldReference.newBuilder() to construct. private FieldReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FieldReference() { fieldPath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FieldReference(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private FieldReference( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - fieldPath_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private volatile java.lang.Object fieldPath_; /** - * - * *
      * The relative path of the document being referenced.
      * Requires:
@@ -8098,7 +6834,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string field_path = 2; - * * @return The fieldPath. */ @java.lang.Override @@ -8107,15 +6842,14 @@ public java.lang.String getFieldPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; } } /** - * - * *
      * The relative path of the document being referenced.
      * Requires:
@@ -8123,15 +6857,16 @@ public java.lang.String getFieldPath() {
      * 
* * string field_path = 2; - * * @return The bytes for fieldPath. */ @java.lang.Override - public com.google.protobuf.ByteString getFieldPathBytes() { + public com.google.protobuf.ByteString + getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -8140,7 +6875,6 @@ public com.google.protobuf.ByteString getFieldPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8152,11 +6886,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(fieldPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldPath_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -8168,7 +6903,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fieldPath_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -8176,16 +6911,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getFieldPath() + .equals(other.getFieldPath())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8198,100 +6933,93 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FIELD_PATH_FIELD_NUMBER; hash = (53 * hash) + getFieldPath().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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 @@ -8301,48 +7029,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A reference to a field in a document, ex: `stats.operations`.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldReference} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.FieldReference) com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.FieldReference.class, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); + com.google.firestore.v1.StructuredQuery.FieldReference.class, com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder() private Builder() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -8352,9 +7071,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 @@ -8373,8 +7092,7 @@ 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); + com.google.firestore.v1.StructuredQuery.FieldReference result = new com.google.firestore.v1.StructuredQuery.FieldReference(this); result.fieldPath_ = fieldPath_; onBuilt(); return result; @@ -8384,41 +7102,38 @@ public com.google.firestore.v1.StructuredQuery.FieldReference 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -8426,13 +7141,12 @@ 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_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -8447,25 +7161,40 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.StructuredQuery.FieldReference parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: { + fieldPath_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = - (com.google.firestore.v1.StructuredQuery.FieldReference) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } private java.lang.Object fieldPath_ = ""; /** - * - * *
        * The relative path of the document being referenced.
        * Requires:
@@ -8473,13 +7202,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; @@ -8488,8 +7217,6 @@ public java.lang.String getFieldPath() { } } /** - * - * *
        * The relative path of the document being referenced.
        * Requires:
@@ -8497,14 +7224,15 @@ public java.lang.String getFieldPath() {
        * 
* * string field_path = 2; - * * @return The bytes for fieldPath. */ - public com.google.protobuf.ByteString getFieldPathBytes() { + public com.google.protobuf.ByteString + getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -8512,8 +7240,6 @@ public com.google.protobuf.ByteString getFieldPathBytes() { } } /** - * - * *
        * The relative path of the document being referenced.
        * Requires:
@@ -8521,22 +7247,20 @@ public com.google.protobuf.ByteString getFieldPathBytes() {
        * 
* * string field_path = 2; - * * @param value The fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPath(java.lang.String value) { + public Builder setFieldPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fieldPath_ = value; onChanged(); return this; } /** - * - * *
        * The relative path of the document being referenced.
        * Requires:
@@ -8544,18 +7268,15 @@ public Builder setFieldPath(java.lang.String value) {
        * 
* * string field_path = 2; - * * @return This builder for chaining. */ public Builder clearFieldPath() { - + fieldPath_ = getDefaultInstance().getFieldPath(); onChanged(); return this; } /** - * - * *
        * The relative path of the document being referenced.
        * Requires:
@@ -8563,21 +7284,20 @@ 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) { + public Builder setFieldPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fieldPath_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8590,12 +7310,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(); } @@ -8604,16 +7324,27 @@ public static com.google.firestore.v1.StructuredQuery.FieldReference getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldReference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FieldReference(input, extensionRegistry); - } - }; + 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; @@ -8628,16 +7359,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.FieldReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ProjectionOrBuilder - extends + public interface ProjectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Projection) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8646,10 +7375,9 @@ public interface ProjectionOrBuilder
      *
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
-    java.util.List getFieldsList();
+    java.util.List 
+        getFieldsList();
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8660,8 +7388,6 @@ public interface ProjectionOrBuilder
      */
     com.google.firestore.v1.StructuredQuery.FieldReference getFields(int index);
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8672,8 +7398,6 @@ public interface ProjectionOrBuilder
      */
     int getFieldsCount();
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8682,11 +7406,9 @@ public interface ProjectionOrBuilder
      *
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
-    java.util.List
+    java.util.List 
         getFieldsOrBuilderList();
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8695,119 +7417,57 @@ public interface ProjectionOrBuilder
      *
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
-    com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(int index);
+    com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * The projection of document's fields to return.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Projection} */ - public static final class Projection extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Projection extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Projection) ProjectionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Projection.newBuilder() to construct. private Projection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Projection() { fields_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Projection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private Projection( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fields_ = - new java.util.ArrayList< - com.google.firestore.v1.StructuredQuery.FieldReference>(); - mutable_bitField0_ |= 0x00000001; - } - fields_.add( - input.readMessage( - com.google.firestore.v1.StructuredQuery.FieldReference.parser(), - extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - fields_ = java.util.Collections.unmodifiableList(fields_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private java.util.List fields_; /** - * - * *
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8821,8 +7481,6 @@ public java.util.List ge
       return fields_;
     }
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8832,13 +7490,11 @@ public java.util.List ge
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getFieldsOrBuilderList() {
       return fields_;
     }
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8852,8 +7508,6 @@ public int getFieldsCount() {
       return fields_.size();
     }
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8867,8 +7521,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getFields(int inde
       return fields_.get(index);
     }
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8884,7 +7536,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -8896,11 +7547,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 {
       for (int i = 0; i < fields_.size(); i++) {
         output.writeMessage(2, fields_.get(i));
       }
-      unknownFields.writeTo(output);
+      getUnknownFields().writeTo(output);
     }
 
     @java.lang.Override
@@ -8910,9 +7562,10 @@ 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 += unknownFields.getSerializedSize();
+      size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
       return size;
     }
@@ -8920,16 +7573,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.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 (!unknownFields.equals(other.unknownFields)) return false;
+      if (!getFieldsList()
+          .equals(other.getFieldsList())) return false;
+      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
 
@@ -8944,99 +7597,93 @@ public int hashCode() {
         hash = (37 * hash) + FIELDS_FIELD_NUMBER;
         hash = (53 * hash) + getFieldsList().hashCode();
       }
-      hash = (29 * hash) + unknownFields.hashCode();
+      hash = (29 * hash) + getUnknownFields().hashCode();
       memoizedHashCode = hash;
       return hash;
     }
 
     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
@@ -9046,66 +7693,56 @@ 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getFieldsFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); if (fieldsBuilder_ == null) { fields_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + fields_ = null; fieldsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); return this; } @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 @@ -9124,8 +7761,7 @@ 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); int from_bitField0_ = bitField0_; if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -9144,41 +7780,38 @@ public com.google.firestore.v1.StructuredQuery.Projection 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -9186,8 +7819,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.Projection other) { - if (other == com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance()) return this; if (fieldsBuilder_ == null) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { @@ -9206,16 +7838,15 @@ 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_); } } } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -9230,44 +7861,60 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.StructuredQuery.Projection parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.firestore.v1.StructuredQuery.Projection) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } - private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - fields_ = - new java.util.ArrayList( - fields_); + fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> - fieldsBuilder_; + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> fieldsBuilder_; /** - * - * *
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9276,8 +7923,7 @@ private void ensureFieldsIsMutable() {
        *
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
-      public java.util.List
-          getFieldsList() {
+      public java.util.List getFieldsList() {
         if (fieldsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(fields_);
         } else {
@@ -9285,8 +7931,6 @@ private void ensureFieldsIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9303,8 +7947,6 @@ public int getFieldsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9321,8 +7963,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getFields(int inde
         }
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9346,8 +7986,6 @@ public Builder setFields(
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9357,8 +7995,7 @@ public Builder setFields(
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
       public Builder setFields(
-          int index,
-          com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
+          int index, com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
         if (fieldsBuilder_ == null) {
           ensureFieldsIsMutable();
           fields_.set(index, builderForValue.build());
@@ -9369,8 +8006,6 @@ public Builder setFields(
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9393,8 +8028,6 @@ public Builder addFields(com.google.firestore.v1.StructuredQuery.FieldReference
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9418,8 +8051,6 @@ public Builder addFields(
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9440,8 +8071,6 @@ public Builder addFields(
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9451,8 +8080,7 @@ public Builder addFields(
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
       public Builder addFields(
-          int index,
-          com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
+          int index, com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
         if (fieldsBuilder_ == null) {
           ensureFieldsIsMutable();
           fields_.add(index, builderForValue.build());
@@ -9463,8 +8091,6 @@ public Builder addFields(
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9474,11 +8100,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);
@@ -9486,8 +8112,6 @@ public Builder addAllFields(
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9507,8 +8131,6 @@ public Builder clearFields() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9528,8 +8150,6 @@ public Builder removeFields(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9543,8 +8163,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldsB
         return getFieldsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9556,14 +8174,11 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldsB
       public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(
           int index) {
         if (fieldsBuilder_ == null) {
-          return fields_.get(index);
-        } else {
+          return fields_.get(index);  } else {
           return fieldsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9572,9 +8187,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
        *
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
-      public java.util.List<
-              ? extends com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>
-          getFieldsOrBuilderList() {
+      public java.util.List 
+           getFieldsOrBuilderList() {
         if (fieldsBuilder_ != null) {
           return fieldsBuilder_.getMessageOrBuilderList();
         } else {
@@ -9582,8 +8196,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
         }
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9593,13 +8205,10 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
       public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsBuilder() {
-        return getFieldsFieldBuilder()
-            .addBuilder(
-                com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
+        return getFieldsFieldBuilder().addBuilder(
+            com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9610,13 +8219,10 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsB
        */
       public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsBuilder(
           int index) {
-        return getFieldsFieldBuilder()
-            .addBuilder(
-                index, com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
+        return getFieldsFieldBuilder().addBuilder(
+            index, com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9625,28 +8231,24 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsB
        *
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
-      public java.util.List
-          getFieldsBuilderList() {
+      public java.util.List 
+           getFieldsBuilderList() {
         return getFieldsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.firestore.v1.StructuredQuery.FieldReference,
-              com.google.firestore.v1.StructuredQuery.FieldReference.Builder,
-              com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>
+          com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> 
           getFieldsFieldBuilder() {
         if (fieldsBuilder_ == null) {
-          fieldsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.firestore.v1.StructuredQuery.FieldReference,
-                  com.google.firestore.v1.StructuredQuery.FieldReference.Builder,
-                  com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>(
-                  fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>(
+                  fields_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           fields_ = null;
         }
         return fieldsBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -9659,12 +8261,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();
     }
@@ -9673,16 +8275,27 @@ public static com.google.firestore.v1.StructuredQuery.Projection getDefaultInsta
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Projection parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new Projection(input, extensionRegistry);
-          }
-        };
+    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;
@@ -9697,19 +8310,17 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.StructuredQuery.Projection getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int SELECT_FIELD_NUMBER = 1;
   private com.google.firestore.v1.StructuredQuery.Projection select_;
   /**
-   *
-   *
    * 
    * The projection to return.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; - * * @return Whether the select field is set. */ @java.lang.Override @@ -9717,25 +8328,18 @@ public boolean hasSelect() { return select_ != null; } /** - * - * *
    * The projection to return.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; - * * @return The select. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.Projection getSelect() { - return select_ == null - ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() - : select_; + return select_ == null ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() : select_; } /** - * - * *
    * The projection to return.
    * 
@@ -9750,8 +8354,6 @@ public com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBu public static final int FROM_FIELD_NUMBER = 2; private java.util.List from_; /** - * - * *
    * The collections to query.
    * 
@@ -9763,8 +8365,6 @@ public java.util.List * The collections to query. *
@@ -9772,14 +8372,11 @@ public java.util.Listrepeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> + public java.util.List getFromOrBuilderList() { return from_; } /** - * - * *
    * The collections to query.
    * 
@@ -9791,8 +8388,6 @@ public int getFromCount() { return from_.size(); } /** - * - * *
    * The collections to query.
    * 
@@ -9804,8 +8399,6 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int in return from_.get(index); } /** - * - * *
    * The collections to query.
    * 
@@ -9821,14 +8414,11 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFr public static final int WHERE_FIELD_NUMBER = 3; private com.google.firestore.v1.StructuredQuery.Filter where_; /** - * - * *
    * The filter to apply.
    * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; - * * @return Whether the where field is set. */ @java.lang.Override @@ -9836,25 +8426,18 @@ public boolean hasWhere() { return where_ != null; } /** - * - * *
    * The filter to apply.
    * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; - * * @return The where. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.Filter getWhere() { - return where_ == null - ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() - : where_; + return where_ == null ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() : where_; } /** - * - * *
    * The filter to apply.
    * 
@@ -9869,8 +8452,6 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder public static final int ORDER_BY_FIELD_NUMBER = 4; private java.util.List orderBy_; /** - * - * *
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -9897,8 +8478,6 @@ public java.util.List getOrderByL
     return orderBy_;
   }
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -9921,13 +8500,11 @@ public java.util.List getOrderByL
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOrderByOrBuilderList() {
     return orderBy_;
   }
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -9954,8 +8531,6 @@ public int getOrderByCount() {
     return orderBy_.size();
   }
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -9982,8 +8557,6 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
     return orderBy_.get(index);
   }
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10006,15 +8579,14 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
   @java.lang.Override
-  public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index) {
+  public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
+      int index) {
     return orderBy_.get(index);
   }
 
   public static final int START_AT_FIELD_NUMBER = 7;
   private com.google.firestore.v1.Cursor startAt_;
   /**
-   *
-   *
    * 
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10041,7 +8613,6 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
    * 
* * .google.firestore.v1.Cursor start_at = 7; - * * @return Whether the startAt field is set. */ @java.lang.Override @@ -10049,8 +8620,6 @@ public boolean hasStartAt() { return startAt_ != null; } /** - * - * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10077,7 +8646,6 @@ public boolean hasStartAt() {
    * 
* * .google.firestore.v1.Cursor start_at = 7; - * * @return The startAt. */ @java.lang.Override @@ -10085,8 +8653,6 @@ public com.google.firestore.v1.Cursor getStartAt() { return startAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_; } /** - * - * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10122,8 +8688,6 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
   public static final int END_AT_FIELD_NUMBER = 8;
   private com.google.firestore.v1.Cursor endAt_;
   /**
-   *
-   *
    * 
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -10134,7 +8698,6 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
    * 
* * .google.firestore.v1.Cursor end_at = 8; - * * @return Whether the endAt field is set. */ @java.lang.Override @@ -10142,8 +8705,6 @@ public boolean hasEndAt() { return endAt_ != null; } /** - * - * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -10154,7 +8715,6 @@ public boolean hasEndAt() {
    * 
* * .google.firestore.v1.Cursor end_at = 8; - * * @return The endAt. */ @java.lang.Override @@ -10162,8 +8722,6 @@ public com.google.firestore.v1.Cursor getEndAt() { return endAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_; } /** - * - * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -10183,8 +8741,6 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
   public static final int OFFSET_FIELD_NUMBER = 6;
   private int offset_;
   /**
-   *
-   *
    * 
    * The number of documents to skip before returning the first result.
    * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -10194,7 +8750,6 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
    * 
* * int32 offset = 6; - * * @return The offset. */ @java.lang.Override @@ -10205,8 +8760,6 @@ public int getOffset() { public static final int LIMIT_FIELD_NUMBER = 5; private com.google.protobuf.Int32Value limit_; /** - * - * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -10215,7 +8768,6 @@ public int getOffset() {
    * 
* * .google.protobuf.Int32Value limit = 5; - * * @return Whether the limit field is set. */ @java.lang.Override @@ -10223,8 +8775,6 @@ public boolean hasLimit() { return limit_ != null; } /** - * - * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -10233,7 +8783,6 @@ public boolean hasLimit() {
    * 
* * .google.protobuf.Int32Value limit = 5; - * * @return The limit. */ @java.lang.Override @@ -10241,8 +8790,6 @@ public com.google.protobuf.Int32Value getLimit() { return limit_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : limit_; } /** - * - * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -10258,7 +8805,6 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -10270,7 +8816,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (select_ != null) {
       output.writeMessage(1, getSelect());
     }
@@ -10295,7 +8842,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (endAt_ != null) {
       output.writeMessage(8, getEndAt());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -10305,30 +8852,38 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -10336,7 +8891,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);
@@ -10345,28 +8900,36 @@ 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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -10407,151 +8970,135 @@ public int hashCode() {
       hash = (37 * hash) + LIMIT_FIELD_NUMBER;
       hash = (53 * hash) + getLimit().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getFromFieldBuilder(); - getOrderByFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); @@ -10563,10 +9110,11 @@ public Builder clear() { } if (fromBuilder_ == null) { from_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + from_ = null; fromBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); if (whereBuilder_ == null) { where_ = null; } else { @@ -10575,10 +9123,11 @@ public Builder clear() { } if (orderByBuilder_ == null) { orderBy_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); } else { + orderBy_ = null; orderByBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000002); if (startAtBuilder_ == null) { startAt_ = null; } else { @@ -10603,9 +9152,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 @@ -10624,8 +9173,7 @@ 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); int from_bitField0_ = bitField0_; if (selectBuilder_ == null) { result.select_ = select_; @@ -10679,39 +9227,38 @@ public com.google.firestore.v1.StructuredQuery 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.v1.StructuredQuery) { - return mergeFrom((com.google.firestore.v1.StructuredQuery) other); + return mergeFrom((com.google.firestore.v1.StructuredQuery)other); } else { super.mergeFrom(other); return this; @@ -10741,10 +9288,9 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery other) { fromBuilder_ = null; from_ = other.from_; bitField0_ = (bitField0_ & ~0x00000001); - fromBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFromFieldBuilder() - : null; + fromBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFromFieldBuilder() : null; } else { fromBuilder_.addAllMessages(other.from_); } @@ -10771,10 +9317,9 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery other) { orderByBuilder_ = null; orderBy_ = other.orderBy_; bitField0_ = (bitField0_ & ~0x00000002); - orderByBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOrderByFieldBuilder() - : null; + orderByBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOrderByFieldBuilder() : null; } else { orderByBuilder_.addAllMessages(other.orderBy_); } @@ -10792,80 +9337,145 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery other) { if (other.hasLimit()) { mergeLimit(other.getLimit()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getSelectFieldBuilder().getBuilder(), + extensionRegistry); + + 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); + + 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); - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.firestore.v1.StructuredQuery parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + break; + } // case 42 + case 48: { + offset_ = input.readInt32(); + + break; + } // case 48 + case 58: { + input.readMessage( + getStartAtFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 58 + case 66: { + input.readMessage( + getEndAtFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = (com.google.firestore.v1.StructuredQuery) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } - private int bitField0_; private com.google.firestore.v1.StructuredQuery.Projection select_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Projection, - com.google.firestore.v1.StructuredQuery.Projection.Builder, - com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder> - selectBuilder_; + com.google.firestore.v1.StructuredQuery.Projection, com.google.firestore.v1.StructuredQuery.Projection.Builder, com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder> selectBuilder_; /** - * - * *
      * The projection to return.
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; - * * @return Whether the select field is set. */ public boolean hasSelect() { return selectBuilder_ != null || select_ != null; } /** - * - * *
      * The projection to return.
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; - * * @return The select. */ public com.google.firestore.v1.StructuredQuery.Projection getSelect() { if (selectBuilder_ == null) { - return select_ == null - ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() - : select_; + return select_ == null ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() : select_; } else { return selectBuilder_.getMessage(); } } /** - * - * *
      * The projection to return.
      * 
@@ -10886,8 +9496,6 @@ public Builder setSelect(com.google.firestore.v1.StructuredQuery.Projection valu return this; } /** - * - * *
      * The projection to return.
      * 
@@ -10906,8 +9514,6 @@ public Builder setSelect( return this; } /** - * - * *
      * The projection to return.
      * 
@@ -10918,9 +9524,7 @@ public Builder mergeSelect(com.google.firestore.v1.StructuredQuery.Projection va if (selectBuilder_ == null) { if (select_ != null) { select_ = - com.google.firestore.v1.StructuredQuery.Projection.newBuilder(select_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.v1.StructuredQuery.Projection.newBuilder(select_).mergeFrom(value).buildPartial(); } else { select_ = value; } @@ -10932,8 +9536,6 @@ public Builder mergeSelect(com.google.firestore.v1.StructuredQuery.Projection va return this; } /** - * - * *
      * The projection to return.
      * 
@@ -10952,8 +9554,6 @@ public Builder clearSelect() { return this; } /** - * - * *
      * The projection to return.
      * 
@@ -10961,13 +9561,11 @@ public Builder clearSelect() { * .google.firestore.v1.StructuredQuery.Projection select = 1; */ public com.google.firestore.v1.StructuredQuery.Projection.Builder getSelectBuilder() { - + onChanged(); return getSelectFieldBuilder().getBuilder(); } /** - * - * *
      * The projection to return.
      * 
@@ -10978,14 +9576,11 @@ public com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBu if (selectBuilder_ != null) { return selectBuilder_.getMessageOrBuilder(); } else { - return select_ == null - ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() - : select_; + return select_ == null ? + com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() : select_; } } /** - * - * *
      * The projection to return.
      * 
@@ -10993,51 +9588,39 @@ 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_ & 0x00000001) != 0)) { - from_ = - new java.util.ArrayList( - from_); + from_ = new java.util.ArrayList(from_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -11045,8 +9628,6 @@ private void ensureFromIsMutable() { } } /** - * - * *
      * The collections to query.
      * 
@@ -11061,8 +9642,6 @@ public int getFromCount() { } } /** - * - * *
      * The collections to query.
      * 
@@ -11077,8 +9656,6 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int in } } /** - * - * *
      * The collections to query.
      * 
@@ -11100,8 +9677,6 @@ public Builder setFrom( return this; } /** - * - * *
      * The collections to query.
      * 
@@ -11109,8 +9684,7 @@ public Builder setFrom( * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ public Builder setFrom( - int index, - com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { + int index, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { if (fromBuilder_ == null) { ensureFromIsMutable(); from_.set(index, builderForValue.build()); @@ -11121,8 +9695,6 @@ public Builder setFrom( return this; } /** - * - * *
      * The collections to query.
      * 
@@ -11143,8 +9715,6 @@ public Builder addFrom(com.google.firestore.v1.StructuredQuery.CollectionSelecto return this; } /** - * - * *
      * The collections to query.
      * 
@@ -11166,8 +9736,6 @@ public Builder addFrom( return this; } /** - * - * *
      * The collections to query.
      * 
@@ -11186,8 +9754,6 @@ public Builder addFrom( return this; } /** - * - * *
      * The collections to query.
      * 
@@ -11195,8 +9761,7 @@ public Builder addFrom( * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ public Builder addFrom( - int index, - com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { + int index, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { if (fromBuilder_ == null) { ensureFromIsMutable(); from_.add(index, builderForValue.build()); @@ -11207,8 +9772,6 @@ public Builder addFrom( return this; } /** - * - * *
      * The collections to query.
      * 
@@ -11216,11 +9779,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); @@ -11228,8 +9791,6 @@ public Builder addAllFrom( return this; } /** - * - * *
      * The collections to query.
      * 
@@ -11247,8 +9808,6 @@ public Builder clearFrom() { return this; } /** - * - * *
      * The collections to query.
      * 
@@ -11266,8 +9825,6 @@ public Builder removeFrom(int index) { return this; } /** - * - * *
      * The collections to query.
      * 
@@ -11279,8 +9836,6 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder getFro return getFromFieldBuilder().getBuilder(index); } /** - * - * *
      * The collections to query.
      * 
@@ -11290,23 +9845,19 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder getFro public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBuilder( int index) { if (fromBuilder_ == null) { - return from_.get(index); - } else { + return from_.get(index); } else { return fromBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The collections to query.
      * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - public java.util.List< - ? extends com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> - getFromOrBuilderList() { + public java.util.List + getFromOrBuilderList() { if (fromBuilder_ != null) { return fromBuilder_.getMessageOrBuilderList(); } else { @@ -11314,8 +9865,6 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFr } } /** - * - * *
      * The collections to query.
      * 
@@ -11323,13 +9872,10 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFr * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFromBuilder() { - return getFromFieldBuilder() - .addBuilder( - com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); + return getFromFieldBuilder().addBuilder( + com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); } /** - * - * *
      * The collections to query.
      * 
@@ -11338,37 +9884,30 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFro */ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFromBuilder( int index) { - return getFromFieldBuilder() - .addBuilder( - index, - com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); + return getFromFieldBuilder().addBuilder( + index, com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); } /** - * - * *
      * The collections to query.
      * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - public java.util.List - getFromBuilderList() { + public java.util.List + getFromBuilderList() { return getFromFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CollectionSelector, - com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, - com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> + com.google.firestore.v1.StructuredQuery.CollectionSelector, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> getFromFieldBuilder() { if (fromBuilder_ == null) { - fromBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CollectionSelector, - com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, - com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder>( - from_, ((bitField0_ & 0x00000001) != 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_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); from_ = null; } return fromBuilder_; @@ -11376,47 +9915,34 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFro private com.google.firestore.v1.StructuredQuery.Filter where_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Filter, - com.google.firestore.v1.StructuredQuery.Filter.Builder, - com.google.firestore.v1.StructuredQuery.FilterOrBuilder> - whereBuilder_; + com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder> whereBuilder_; /** - * - * *
      * The filter to apply.
      * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; - * * @return Whether the where field is set. */ public boolean hasWhere() { return whereBuilder_ != null || where_ != null; } /** - * - * *
      * 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.
      * 
@@ -11437,8 +9963,6 @@ public Builder setWhere(com.google.firestore.v1.StructuredQuery.Filter value) { return this; } /** - * - * *
      * The filter to apply.
      * 
@@ -11457,8 +9981,6 @@ public Builder setWhere( return this; } /** - * - * *
      * The filter to apply.
      * 
@@ -11469,9 +9991,7 @@ public Builder mergeWhere(com.google.firestore.v1.StructuredQuery.Filter value) if (whereBuilder_ == null) { if (where_ != null) { where_ = - com.google.firestore.v1.StructuredQuery.Filter.newBuilder(where_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.v1.StructuredQuery.Filter.newBuilder(where_).mergeFrom(value).buildPartial(); } else { where_ = value; } @@ -11483,8 +10003,6 @@ public Builder mergeWhere(com.google.firestore.v1.StructuredQuery.Filter value) return this; } /** - * - * *
      * The filter to apply.
      * 
@@ -11503,8 +10021,6 @@ public Builder clearWhere() { return this; } /** - * - * *
      * The filter to apply.
      * 
@@ -11512,13 +10028,11 @@ public Builder clearWhere() { * .google.firestore.v1.StructuredQuery.Filter where = 3; */ public com.google.firestore.v1.StructuredQuery.Filter.Builder getWhereBuilder() { - + onChanged(); return getWhereFieldBuilder().getBuilder(); } /** - * - * *
      * The filter to apply.
      * 
@@ -11529,14 +10043,11 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder if (whereBuilder_ != null) { return whereBuilder_.getMessageOrBuilder(); } else { - return where_ == null - ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() - : where_; + return where_ == null ? + com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() : where_; } } /** - * - * *
      * The filter to apply.
      * 
@@ -11544,41 +10055,32 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder * .google.firestore.v1.StructuredQuery.Filter where = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Filter, - com.google.firestore.v1.StructuredQuery.Filter.Builder, - com.google.firestore.v1.StructuredQuery.FilterOrBuilder> + com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder> getWhereFieldBuilder() { if (whereBuilder_ == null) { - whereBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Filter, - com.google.firestore.v1.StructuredQuery.Filter.Builder, - com.google.firestore.v1.StructuredQuery.FilterOrBuilder>( - getWhere(), getParentForChildren(), isClean()); + whereBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder>( + getWhere(), + getParentForChildren(), + isClean()); where_ = null; } return whereBuilder_; } private java.util.List orderBy_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOrderByIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { orderBy_ = new java.util.ArrayList(orderBy_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Order, - com.google.firestore.v1.StructuredQuery.Order.Builder, - com.google.firestore.v1.StructuredQuery.OrderOrBuilder> - orderByBuilder_; + com.google.firestore.v1.StructuredQuery.Order, com.google.firestore.v1.StructuredQuery.Order.Builder, com.google.firestore.v1.StructuredQuery.OrderOrBuilder> orderByBuilder_; /** - * - * *
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11608,8 +10110,6 @@ public java.util.List getOrderByL
       }
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11639,8 +10139,6 @@ public int getOrderByCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11670,8 +10168,6 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11693,7 +10189,8 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public Builder setOrderBy(int index, com.google.firestore.v1.StructuredQuery.Order value) {
+    public Builder setOrderBy(
+        int index, com.google.firestore.v1.StructuredQuery.Order value) {
       if (orderByBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -11707,8 +10204,6 @@ public Builder setOrderBy(int index, com.google.firestore.v1.StructuredQuery.Ord
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11742,8 +10237,6 @@ public Builder setOrderBy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11779,8 +10272,6 @@ public Builder addOrderBy(com.google.firestore.v1.StructuredQuery.Order value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11802,7 +10293,8 @@ public Builder addOrderBy(com.google.firestore.v1.StructuredQuery.Order value) {
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public Builder addOrderBy(int index, com.google.firestore.v1.StructuredQuery.Order value) {
+    public Builder addOrderBy(
+        int index, com.google.firestore.v1.StructuredQuery.Order value) {
       if (orderByBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -11816,8 +10308,6 @@ public Builder addOrderBy(int index, com.google.firestore.v1.StructuredQuery.Ord
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11851,8 +10341,6 @@ public Builder addOrderBy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11886,8 +10374,6 @@ public Builder addOrderBy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11913,7 +10399,8 @@ public Builder addAllOrderBy(
         java.lang.Iterable values) {
       if (orderByBuilder_ == null) {
         ensureOrderByIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBy_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, orderBy_);
         onChanged();
       } else {
         orderByBuilder_.addAllMessages(values);
@@ -11921,8 +10408,6 @@ public Builder addAllOrderBy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11955,8 +10440,6 @@ public Builder clearOrderBy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11989,8 +10472,6 @@ public Builder removeOrderBy(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -12012,12 +10493,11 @@ public Builder removeOrderBy(int index) {
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public com.google.firestore.v1.StructuredQuery.Order.Builder getOrderByBuilder(int index) {
+    public com.google.firestore.v1.StructuredQuery.Order.Builder getOrderByBuilder(
+        int index) {
       return getOrderByFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -12039,16 +10519,14 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder getOrderByBuilder(i
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index) {
+    public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
+        int index) {
       if (orderByBuilder_ == null) {
-        return orderBy_.get(index);
-      } else {
+        return orderBy_.get(index);  } else {
         return orderByBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -12070,8 +10548,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 {
@@ -12079,8 +10557,6 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -12103,12 +10579,10 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
     public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder() {
-      return getOrderByFieldBuilder()
-          .addBuilder(com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
+      return getOrderByFieldBuilder().addBuilder(
+          com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -12130,13 +10604,12 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder()
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(int index) {
-      return getOrderByFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
+    public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(
+        int index) {
+      return getOrderByFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -12158,23 +10631,20 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(i
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public java.util.List
-        getOrderByBuilderList() {
+    public java.util.List 
+         getOrderByBuilderList() {
       return getOrderByFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.StructuredQuery.Order,
-            com.google.firestore.v1.StructuredQuery.Order.Builder,
-            com.google.firestore.v1.StructuredQuery.OrderOrBuilder>
+        com.google.firestore.v1.StructuredQuery.Order, com.google.firestore.v1.StructuredQuery.Order.Builder, com.google.firestore.v1.StructuredQuery.OrderOrBuilder> 
         getOrderByFieldBuilder() {
       if (orderByBuilder_ == null) {
-        orderByBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.StructuredQuery.Order,
-                com.google.firestore.v1.StructuredQuery.Order.Builder,
-                com.google.firestore.v1.StructuredQuery.OrderOrBuilder>(
-                orderBy_, ((bitField0_ & 0x00000002) != 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_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         orderBy_ = null;
       }
       return orderByBuilder_;
@@ -12182,13 +10652,8 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(i
 
     private com.google.firestore.v1.Cursor startAt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Cursor,
-            com.google.firestore.v1.Cursor.Builder,
-            com.google.firestore.v1.CursorOrBuilder>
-        startAtBuilder_;
+        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> startAtBuilder_;
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12215,15 +10680,12 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(i
      * 
* * .google.firestore.v1.Cursor start_at = 7; - * * @return Whether the startAt field is set. */ public boolean hasStartAt() { return startAtBuilder_ != null || startAt_ != null; } /** - * - * *
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12250,7 +10712,6 @@ public boolean hasStartAt() {
      * 
* * .google.firestore.v1.Cursor start_at = 7; - * * @return The startAt. */ public com.google.firestore.v1.Cursor getStartAt() { @@ -12261,8 +10722,6 @@ public com.google.firestore.v1.Cursor getStartAt() { } } /** - * - * *
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12304,8 +10763,6 @@ public Builder setStartAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12333,7 +10790,8 @@ public Builder setStartAt(com.google.firestore.v1.Cursor value) {
      *
      * .google.firestore.v1.Cursor start_at = 7;
      */
-    public Builder setStartAt(com.google.firestore.v1.Cursor.Builder builderForValue) {
+    public Builder setStartAt(
+        com.google.firestore.v1.Cursor.Builder builderForValue) {
       if (startAtBuilder_ == null) {
         startAt_ = builderForValue.build();
         onChanged();
@@ -12344,8 +10802,6 @@ public Builder setStartAt(com.google.firestore.v1.Cursor.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12377,7 +10833,7 @@ public Builder mergeStartAt(com.google.firestore.v1.Cursor value) {
       if (startAtBuilder_ == null) {
         if (startAt_ != null) {
           startAt_ =
-              com.google.firestore.v1.Cursor.newBuilder(startAt_).mergeFrom(value).buildPartial();
+            com.google.firestore.v1.Cursor.newBuilder(startAt_).mergeFrom(value).buildPartial();
         } else {
           startAt_ = value;
         }
@@ -12389,8 +10845,6 @@ public Builder mergeStartAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12430,8 +10884,6 @@ public Builder clearStartAt() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12460,13 +10912,11 @@ public Builder clearStartAt() {
      * .google.firestore.v1.Cursor start_at = 7;
      */
     public com.google.firestore.v1.Cursor.Builder getStartAtBuilder() {
-
+      
       onChanged();
       return getStartAtFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12498,12 +10948,11 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
       if (startAtBuilder_ != null) {
         return startAtBuilder_.getMessageOrBuilder();
       } else {
-        return startAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_;
+        return startAt_ == null ?
+            com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_;
       }
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12532,17 +10981,14 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
      * .google.firestore.v1.Cursor start_at = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Cursor,
-            com.google.firestore.v1.Cursor.Builder,
-            com.google.firestore.v1.CursorOrBuilder>
+        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> 
         getStartAtFieldBuilder() {
       if (startAtBuilder_ == null) {
-        startAtBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.Cursor,
-                com.google.firestore.v1.Cursor.Builder,
-                com.google.firestore.v1.CursorOrBuilder>(
-                getStartAt(), getParentForChildren(), isClean());
+        startAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder>(
+                getStartAt(),
+                getParentForChildren(),
+                isClean());
         startAt_ = null;
       }
       return startAtBuilder_;
@@ -12550,13 +10996,8 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
 
     private com.google.firestore.v1.Cursor endAt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Cursor,
-            com.google.firestore.v1.Cursor.Builder,
-            com.google.firestore.v1.CursorOrBuilder>
-        endAtBuilder_;
+        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> endAtBuilder_;
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12567,15 +11008,12 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
      * 
* * .google.firestore.v1.Cursor end_at = 8; - * * @return Whether the endAt field is set. */ public boolean hasEndAt() { return endAtBuilder_ != null || endAt_ != null; } /** - * - * *
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12586,7 +11024,6 @@ public boolean hasEndAt() {
      * 
* * .google.firestore.v1.Cursor end_at = 8; - * * @return The endAt. */ public com.google.firestore.v1.Cursor getEndAt() { @@ -12597,8 +11034,6 @@ public com.google.firestore.v1.Cursor getEndAt() { } } /** - * - * *
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12624,8 +11059,6 @@ public Builder setEndAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12637,7 +11070,8 @@ public Builder setEndAt(com.google.firestore.v1.Cursor value) {
      *
      * .google.firestore.v1.Cursor end_at = 8;
      */
-    public Builder setEndAt(com.google.firestore.v1.Cursor.Builder builderForValue) {
+    public Builder setEndAt(
+        com.google.firestore.v1.Cursor.Builder builderForValue) {
       if (endAtBuilder_ == null) {
         endAt_ = builderForValue.build();
         onChanged();
@@ -12648,8 +11082,6 @@ public Builder setEndAt(com.google.firestore.v1.Cursor.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12665,7 +11097,7 @@ public Builder mergeEndAt(com.google.firestore.v1.Cursor value) {
       if (endAtBuilder_ == null) {
         if (endAt_ != null) {
           endAt_ =
-              com.google.firestore.v1.Cursor.newBuilder(endAt_).mergeFrom(value).buildPartial();
+            com.google.firestore.v1.Cursor.newBuilder(endAt_).mergeFrom(value).buildPartial();
         } else {
           endAt_ = value;
         }
@@ -12677,8 +11109,6 @@ public Builder mergeEndAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12702,8 +11132,6 @@ public Builder clearEndAt() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12716,13 +11144,11 @@ public Builder clearEndAt() {
      * .google.firestore.v1.Cursor end_at = 8;
      */
     public com.google.firestore.v1.Cursor.Builder getEndAtBuilder() {
-
+      
       onChanged();
       return getEndAtFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12738,12 +11164,11 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
       if (endAtBuilder_ != null) {
         return endAtBuilder_.getMessageOrBuilder();
       } else {
-        return endAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_;
+        return endAt_ == null ?
+            com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_;
       }
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12756,26 +11181,21 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
      * .google.firestore.v1.Cursor end_at = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Cursor,
-            com.google.firestore.v1.Cursor.Builder,
-            com.google.firestore.v1.CursorOrBuilder>
+        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> 
         getEndAtFieldBuilder() {
       if (endAtBuilder_ == null) {
-        endAtBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.Cursor,
-                com.google.firestore.v1.Cursor.Builder,
-                com.google.firestore.v1.CursorOrBuilder>(
-                getEndAt(), getParentForChildren(), isClean());
+        endAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder>(
+                getEndAt(),
+                getParentForChildren(),
+                isClean());
         endAt_ = null;
       }
       return endAtBuilder_;
     }
 
-    private int offset_;
+    private int offset_ ;
     /**
-     *
-     *
      * 
      * The number of documents to skip before returning the first result.
      * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -12785,7 +11205,6 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
      * 
* * int32 offset = 6; - * * @return The offset. */ @java.lang.Override @@ -12793,8 +11212,6 @@ public int getOffset() { return offset_; } /** - * - * *
      * The number of documents to skip before returning the first result.
      * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -12804,19 +11221,16 @@ public int getOffset() {
      * 
* * int32 offset = 6; - * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { - + offset_ = value; onChanged(); return this; } /** - * - * *
      * The number of documents to skip before returning the first result.
      * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -12826,11 +11240,10 @@ public Builder setOffset(int value) {
      * 
* * int32 offset = 6; - * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0; onChanged(); return this; @@ -12838,13 +11251,8 @@ public Builder clearOffset() { private com.google.protobuf.Int32Value limit_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int32Value, - com.google.protobuf.Int32Value.Builder, - com.google.protobuf.Int32ValueOrBuilder> - limitBuilder_; + com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> limitBuilder_; /** - * - * *
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12853,15 +11261,12 @@ public Builder clearOffset() {
      * 
* * .google.protobuf.Int32Value limit = 5; - * * @return Whether the limit field is set. */ public boolean hasLimit() { return limitBuilder_ != null || limit_ != null; } /** - * - * *
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12870,7 +11275,6 @@ public boolean hasLimit() {
      * 
* * .google.protobuf.Int32Value limit = 5; - * * @return The limit. */ public com.google.protobuf.Int32Value getLimit() { @@ -12881,8 +11285,6 @@ public com.google.protobuf.Int32Value getLimit() { } } /** - * - * *
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12906,8 +11308,6 @@ public Builder setLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12917,7 +11317,8 @@ public Builder setLimit(com.google.protobuf.Int32Value value) {
      *
      * .google.protobuf.Int32Value limit = 5;
      */
-    public Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue) {
+    public Builder setLimit(
+        com.google.protobuf.Int32Value.Builder builderForValue) {
       if (limitBuilder_ == null) {
         limit_ = builderForValue.build();
         onChanged();
@@ -12928,8 +11329,6 @@ public Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12943,7 +11342,7 @@ public Builder mergeLimit(com.google.protobuf.Int32Value value) {
       if (limitBuilder_ == null) {
         if (limit_ != null) {
           limit_ =
-              com.google.protobuf.Int32Value.newBuilder(limit_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Int32Value.newBuilder(limit_).mergeFrom(value).buildPartial();
         } else {
           limit_ = value;
         }
@@ -12955,8 +11354,6 @@ public Builder mergeLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12978,8 +11375,6 @@ public Builder clearLimit() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12990,13 +11385,11 @@ public Builder clearLimit() {
      * .google.protobuf.Int32Value limit = 5;
      */
     public com.google.protobuf.Int32Value.Builder getLimitBuilder() {
-
+      
       onChanged();
       return getLimitFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -13010,12 +11403,11 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
       if (limitBuilder_ != null) {
         return limitBuilder_.getMessageOrBuilder();
       } else {
-        return limit_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : limit_;
+        return limit_ == null ?
+            com.google.protobuf.Int32Value.getDefaultInstance() : limit_;
       }
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -13026,24 +11418,21 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
      * .google.protobuf.Int32Value limit = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int32Value,
-            com.google.protobuf.Int32Value.Builder,
-            com.google.protobuf.Int32ValueOrBuilder>
+        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> 
         getLimitFieldBuilder() {
       if (limitBuilder_ == null) {
-        limitBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Int32Value,
-                com.google.protobuf.Int32Value.Builder,
-                com.google.protobuf.Int32ValueOrBuilder>(
-                getLimit(), getParentForChildren(), isClean());
+        limitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
+                getLimit(),
+                getParentForChildren(),
+                isClean());
         limit_ = null;
       }
       return limitBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -13053,12 +11442,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();
   }
@@ -13067,16 +11456,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 {
-          return new StructuredQuery(input, extensionRegistry);
-        }
-      };
+  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;
@@ -13091,4 +11491,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.StructuredQuery getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
similarity index 93%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
index 94d6bf2e36..2786e440ed 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/query.proto
 
 package com.google.firestore.v1;
 
-public interface StructuredQueryOrBuilder
-    extends
+public interface StructuredQueryOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The projection to return.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; - * * @return Whether the select field is set. */ boolean hasSelect(); /** - * - * *
    * The projection to return.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; - * * @return The select. */ com.google.firestore.v1.StructuredQuery.Projection getSelect(); /** - * - * *
    * The projection to return.
    * 
@@ -59,18 +35,15 @@ public interface StructuredQueryOrBuilder com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBuilder(); /** - * - * *
    * The collections to query.
    * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - java.util.List getFromList(); + java.util.List + getFromList(); /** - * - * *
    * The collections to query.
    * 
@@ -79,8 +52,6 @@ public interface StructuredQueryOrBuilder */ com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int index); /** - * - * *
    * The collections to query.
    * 
@@ -89,54 +60,43 @@ public interface StructuredQueryOrBuilder */ int getFromCount(); /** - * - * *
    * The collections to query.
    * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - java.util.List + java.util.List getFromOrBuilderList(); /** - * - * *
    * The collections to query.
    * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBuilder(int index); + com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBuilder( + int index); /** - * - * *
    * The filter to apply.
    * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; - * * @return Whether the where field is set. */ boolean hasWhere(); /** - * - * *
    * The filter to apply.
    * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; - * * @return The where. */ com.google.firestore.v1.StructuredQuery.Filter getWhere(); /** - * - * *
    * The filter to apply.
    * 
@@ -146,8 +106,6 @@ public interface StructuredQueryOrBuilder com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder(); /** - * - * *
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -169,10 +127,9 @@ public interface StructuredQueryOrBuilder
    *
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
-  java.util.List getOrderByList();
+  java.util.List 
+      getOrderByList();
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -196,8 +153,6 @@ public interface StructuredQueryOrBuilder
    */
   com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index);
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -221,8 +176,6 @@ public interface StructuredQueryOrBuilder
    */
   int getOrderByCount();
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -244,11 +197,9 @@ public interface StructuredQueryOrBuilder
    *
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
-  java.util.List
+  java.util.List 
       getOrderByOrBuilderList();
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -270,11 +221,10 @@ public interface StructuredQueryOrBuilder
    *
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
-  com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index);
+  com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -301,13 +251,10 @@ public interface StructuredQueryOrBuilder
    * 
* * .google.firestore.v1.Cursor start_at = 7; - * * @return Whether the startAt field is set. */ boolean hasStartAt(); /** - * - * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -334,13 +281,10 @@ public interface StructuredQueryOrBuilder
    * 
* * .google.firestore.v1.Cursor start_at = 7; - * * @return The startAt. */ com.google.firestore.v1.Cursor getStartAt(); /** - * - * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -371,8 +315,6 @@ public interface StructuredQueryOrBuilder
   com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder();
 
   /**
-   *
-   *
    * 
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -383,13 +325,10 @@ public interface StructuredQueryOrBuilder
    * 
* * .google.firestore.v1.Cursor end_at = 8; - * * @return Whether the endAt field is set. */ boolean hasEndAt(); /** - * - * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -400,13 +339,10 @@ public interface StructuredQueryOrBuilder
    * 
* * .google.firestore.v1.Cursor end_at = 8; - * * @return The endAt. */ com.google.firestore.v1.Cursor getEndAt(); /** - * - * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -421,8 +357,6 @@ public interface StructuredQueryOrBuilder
   com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder();
 
   /**
-   *
-   *
    * 
    * The number of documents to skip before returning the first result.
    * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -432,14 +366,11 @@ public interface StructuredQueryOrBuilder
    * 
* * int32 offset = 6; - * * @return The offset. */ int getOffset(); /** - * - * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -448,13 +379,10 @@ public interface StructuredQueryOrBuilder
    * 
* * .google.protobuf.Int32Value limit = 5; - * * @return Whether the limit field is set. */ boolean hasLimit(); /** - * - * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -463,13 +391,10 @@ public interface StructuredQueryOrBuilder
    * 
* * .google.protobuf.Int32Value limit = 5; - * * @return The limit. */ com.google.protobuf.Int32Value getLimit(); /** - * - * *
    * The maximum number of results to return.
    * Applies after all other constraints.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
similarity index 71%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
index 65bddb16b5..97a9067250 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
@@ -1,180 +1,57 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A specification of a set of documents to listen to.
  * 
* * Protobuf type {@code google.firestore.v1.Target} */ -public final class Target extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Target extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Target) TargetOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Target.newBuilder() to construct. private Target(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Target() {} + private Target() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Target(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private Target( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: - { - com.google.firestore.v1.Target.QueryTarget.Builder subBuilder = null; - if (targetTypeCase_ == 2) { - subBuilder = ((com.google.firestore.v1.Target.QueryTarget) targetType_).toBuilder(); - } - targetType_ = - input.readMessage( - com.google.firestore.v1.Target.QueryTarget.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.Target.QueryTarget) targetType_); - targetType_ = subBuilder.buildPartial(); - } - targetTypeCase_ = 2; - break; - } - case 26: - { - com.google.firestore.v1.Target.DocumentsTarget.Builder subBuilder = null; - if (targetTypeCase_ == 3) { - subBuilder = - ((com.google.firestore.v1.Target.DocumentsTarget) targetType_).toBuilder(); - } - targetType_ = - input.readMessage( - com.google.firestore.v1.Target.DocumentsTarget.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.Target.DocumentsTarget) targetType_); - targetType_ = subBuilder.buildPartial(); - } - targetTypeCase_ = 3; - break; - } - case 34: - { - resumeType_ = input.readBytes(); - resumeTypeCase_ = 4; - break; - } - case 40: - { - targetId_ = input.readInt32(); - break; - } - case 48: - { - once_ = input.readBool(); - break; - } - case 90: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (resumeTypeCase_ == 11) { - subBuilder = ((com.google.protobuf.Timestamp) resumeType_).toBuilder(); - } - resumeType_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) resumeType_); - resumeType_ = subBuilder.buildPartial(); - } - resumeTypeCase_ = 11; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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}`.
@@ -183,13 +60,11 @@ public interface DocumentsTargetOrBuilder
      * 
* * repeated string documents = 2; - * * @return A list containing the documents. */ - java.util.List getDocumentsList(); + java.util.List + getDocumentsList(); /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -198,13 +73,10 @@ public interface DocumentsTargetOrBuilder
      * 
* * repeated string documents = 2; - * * @return The count of documents. */ int getDocumentsCount(); /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -213,14 +85,11 @@ public interface DocumentsTargetOrBuilder
      * 
* * repeated string documents = 2; - * * @param index The index of the element to return. * @return The documents at the given index. */ java.lang.String getDocuments(int index); /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -229,119 +98,60 @@ public interface DocumentsTargetOrBuilder
      * 
* * repeated string documents = 2; - * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - com.google.protobuf.ByteString getDocumentsBytes(int index); + com.google.protobuf.ByteString + getDocumentsBytes(int index); } /** - * - * *
    * A target specified by a set of documents names.
    * 
* * Protobuf type {@code google.firestore.v1.Target.DocumentsTarget} */ - public static final class DocumentsTarget extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DocumentsTarget extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Target.DocumentsTarget) DocumentsTargetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DocumentsTarget.newBuilder() to construct. private DocumentsTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DocumentsTarget() { documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DocumentsTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private DocumentsTarget( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - documents_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - documents_.add(s); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - documents_ = documents_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; private com.google.protobuf.LazyStringList documents_; /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -350,15 +160,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string documents = 2; - * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList getDocumentsList() { + public com.google.protobuf.ProtocolStringList + getDocumentsList() { return documents_; } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -367,15 +175,12 @@ public com.google.protobuf.ProtocolStringList getDocumentsList() {
      * 
* * repeated string documents = 2; - * * @return The count of documents. */ public int getDocumentsCount() { return documents_.size(); } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -384,7 +189,6 @@ public int getDocumentsCount() {
      * 
* * repeated string documents = 2; - * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -392,8 +196,6 @@ public java.lang.String getDocuments(int index) { return documents_.get(index); } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -402,16 +204,15 @@ public java.lang.String getDocuments(int index) {
      * 
* * repeated string documents = 2; - * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - public com.google.protobuf.ByteString getDocumentsBytes(int index) { + public com.google.protobuf.ByteString + getDocumentsBytes(int index) { return documents_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -423,11 +224,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 { for (int i = 0; i < documents_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, documents_.getRaw(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -444,7 +246,7 @@ public int getSerializedSize() { size += dataSize; size += 1 * getDocumentsList().size(); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -452,16 +254,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getDocumentsList() + .equals(other.getDocumentsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -476,99 +278,93 @@ public int hashCode() { hash = (37 * hash) + DOCUMENTS_FIELD_NUMBER; hash = (53 * hash) + getDocumentsList().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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 @@ -578,48 +374,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A target specified by a set of documents names.
      * 
* * Protobuf type {@code google.firestore.v1.Target.DocumentsTarget} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Target.DocumentsTarget) com.google.firestore.v1.Target.DocumentsTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Target.DocumentsTarget.class, - com.google.firestore.v1.Target.DocumentsTarget.Builder.class); + com.google.firestore.v1.Target.DocumentsTarget.class, com.google.firestore.v1.Target.DocumentsTarget.Builder.class); } // Construct using com.google.firestore.v1.Target.DocumentsTarget.newBuilder() private Builder() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -629,9 +416,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; } @java.lang.Override @@ -650,8 +437,7 @@ public com.google.firestore.v1.Target.DocumentsTarget build() { @java.lang.Override public com.google.firestore.v1.Target.DocumentsTarget buildPartial() { - com.google.firestore.v1.Target.DocumentsTarget result = - new com.google.firestore.v1.Target.DocumentsTarget(this); + com.google.firestore.v1.Target.DocumentsTarget result = new com.google.firestore.v1.Target.DocumentsTarget(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { documents_ = documents_.getUnmodifiableView(); @@ -666,41 +452,38 @@ public com.google.firestore.v1.Target.DocumentsTarget 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -708,8 +491,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.Target.DocumentsTarget other) { - if (other == com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) return this; if (!other.documents_.isEmpty()) { if (documents_.isEmpty()) { documents_ = other.documents_; @@ -720,7 +502,7 @@ public Builder mergeFrom(com.google.firestore.v1.Target.DocumentsTarget other) { } onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -735,34 +517,48 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.Target.DocumentsTarget parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.firestore.v1.Target.DocumentsTarget) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList documents_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDocumentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { documents_ = new com.google.protobuf.LazyStringArrayList(documents_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -771,15 +567,13 @@ private void ensureDocumentsIsMutable() {
        * 
* * repeated string documents = 2; - * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList getDocumentsList() { + public com.google.protobuf.ProtocolStringList + getDocumentsList() { return documents_.getUnmodifiableView(); } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -788,15 +582,12 @@ public com.google.protobuf.ProtocolStringList getDocumentsList() {
        * 
* * repeated string documents = 2; - * * @return The count of documents. */ public int getDocumentsCount() { return documents_.size(); } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -805,7 +596,6 @@ public int getDocumentsCount() {
        * 
* * repeated string documents = 2; - * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -813,8 +603,6 @@ public java.lang.String getDocuments(int index) { return documents_.get(index); } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -823,16 +611,14 @@ public java.lang.String getDocuments(int index) {
        * 
* * repeated string documents = 2; - * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - public com.google.protobuf.ByteString getDocumentsBytes(int index) { + public com.google.protobuf.ByteString + getDocumentsBytes(int index) { return documents_.getByteString(index); } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -841,23 +627,21 @@ public com.google.protobuf.ByteString getDocumentsBytes(int index) {
        * 
* * repeated string documents = 2; - * * @param index The index to set the value at. * @param value The documents to set. * @return This builder for chaining. */ - public Builder setDocuments(int index, java.lang.String value) { + public Builder setDocuments( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDocumentsIsMutable(); + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); documents_.set(index, value); onChanged(); return this; } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -866,22 +650,20 @@ public Builder setDocuments(int index, java.lang.String value) {
        * 
* * repeated string documents = 2; - * * @param value The documents to add. * @return This builder for chaining. */ - public Builder addDocuments(java.lang.String value) { + public Builder addDocuments( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDocumentsIsMutable(); + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); documents_.add(value); onChanged(); return this; } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -890,19 +672,18 @@ public Builder addDocuments(java.lang.String value) {
        * 
* * repeated string documents = 2; - * * @param values The documents to add. * @return This builder for chaining. */ - public Builder addAllDocuments(java.lang.Iterable values) { + public Builder addAllDocuments( + java.lang.Iterable values) { ensureDocumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, documents_); onChanged(); return this; } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -911,7 +692,6 @@ public Builder addAllDocuments(java.lang.Iterable values) {
        * 
* * repeated string documents = 2; - * * @return This builder for chaining. */ public Builder clearDocuments() { @@ -921,8 +701,6 @@ public Builder clearDocuments() { return this; } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -931,21 +709,20 @@ 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) { + public Builder addDocumentsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDocumentsIsMutable(); documents_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -958,12 +735,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(); } @@ -972,16 +749,27 @@ public static com.google.firestore.v1.Target.DocumentsTarget getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocumentsTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DocumentsTarget(input, extensionRegistry); - } - }; + 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; @@ -996,16 +784,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Target.DocumentsTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface QueryTargetOrBuilder - extends + public interface QueryTargetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Target.QueryTarget) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1016,13 +802,10 @@ public interface QueryTargetOrBuilder
      * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1033,38 +816,30 @@ public interface QueryTargetOrBuilder
      * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** - * - * *
      * A structured query.
      * 
@@ -1076,127 +851,58 @@ public interface QueryTargetOrBuilder public com.google.firestore.v1.Target.QueryTarget.QueryTypeCase getQueryTypeCase(); } /** - * - * *
    * A target specified by a query.
    * 
* * Protobuf type {@code google.firestore.v1.Target.QueryTarget} */ - public static final class QueryTarget extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class QueryTarget extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Target.QueryTarget) QueryTargetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryTarget.newBuilder() to construct. private QueryTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryTarget() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private QueryTarget( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - com.google.firestore.v1.StructuredQuery.Builder subBuilder = null; - if (queryTypeCase_ == 2) { - subBuilder = ((com.google.firestore.v1.StructuredQuery) queryType_).toBuilder(); - } - queryType_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.StructuredQuery) queryType_); - queryType_ = subBuilder.buildPartial(); - } - queryTypeCase_ = 2; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Target.QueryTarget.class, - com.google.firestore.v1.Target.QueryTarget.Builder.class); + com.google.firestore.v1.Target.QueryTarget.class, com.google.firestore.v1.Target.QueryTarget.Builder.class); } private int queryTypeCase_ = 0; private java.lang.Object queryType_; - public enum QueryTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(2), QUERYTYPE_NOT_SET(0); private final int value; - private QueryTypeCase(int value) { this.value = value; } @@ -1212,29 +918,25 @@ 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; private volatile java.lang.Object parent_; /** - * - * *
      * The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1245,7 +947,6 @@ public QueryTypeCase getQueryTypeCase() {
      * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -1254,15 +955,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1273,15 +973,16 @@ public java.lang.String getParent() {
      * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1291,14 +992,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int STRUCTURED_QUERY_FIELD_NUMBER = 2; /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -1306,26 +1004,21 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** - * - * *
      * A structured query.
      * 
@@ -1335,13 +1028,12 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { @java.lang.Override public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1353,14 +1045,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (queryTypeCase_ == 2) { output.writeMessage(2, (com.google.firestore.v1.StructuredQuery) queryType_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -1373,11 +1066,10 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -1385,24 +1077,25 @@ public int getSerializedSize() { @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: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1423,99 +1116,93 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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 @@ -1525,62 +1212,56 @@ 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); parent_ = ""; + if (structuredQueryBuilder_ != null) { + structuredQueryBuilder_.clear(); + } queryTypeCase_ = 0; queryType_ = null; return this; } @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 @@ -1599,8 +1280,7 @@ 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); + com.google.firestore.v1.Target.QueryTarget result = new com.google.firestore.v1.Target.QueryTarget(this); result.parent_ = parent_; if (queryTypeCase_ == 2) { if (structuredQueryBuilder_ == null) { @@ -1618,41 +1298,38 @@ public com.google.firestore.v1.Target.QueryTarget 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -1666,17 +1343,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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -1691,25 +1366,50 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.Target.QueryTarget parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + parent_ = input.readStringRequireUtf8(); + + 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) { - parsedMessage = (com.google.firestore.v1.Target.QueryTarget) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -1719,10 +1419,9 @@ public Builder clearQueryType() { return this; } + private java.lang.Object parent_ = ""; /** - * - * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1733,13 +1432,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; @@ -1748,8 +1447,6 @@ public java.lang.String getParent() { } } /** - * - * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1760,14 +1457,15 @@ public java.lang.String getParent() {
        * 
* * string parent = 1; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1775,8 +1473,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1787,22 +1483,20 @@ public com.google.protobuf.ByteString getParentBytes() {
        * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1813,18 +1507,15 @@ public Builder setParent(java.lang.String value) {
        * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1835,35 +1526,29 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } 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 @@ -1871,14 +1556,11 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
        * A structured query.
        * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override @@ -1896,8 +1578,6 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** - * - * *
        * A structured query.
        * 
@@ -1918,8 +1598,6 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** - * - * *
        * A structured query.
        * 
@@ -1938,8 +1616,6 @@ public Builder setStructuredQuery( return this; } /** - * - * *
        * A structured query.
        * 
@@ -1948,13 +1624,10 @@ public Builder setStructuredQuery( */ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { if (structuredQueryBuilder_ == null) { - if (queryTypeCase_ == 2 - && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { - queryType_ = - com.google.firestore.v1.StructuredQuery.newBuilder( - (com.google.firestore.v1.StructuredQuery) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 2 && + queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -1970,8 +1643,6 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** - * - * *
        * A structured query.
        * 
@@ -1995,8 +1666,6 @@ public Builder clearStructuredQuery() { return this; } /** - * - * *
        * A structured query.
        * 
@@ -2007,8 +1676,6 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** - * - * *
        * A structured query.
        * 
@@ -2027,8 +1694,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** - * - * *
        * A structured query.
        * 
@@ -2036,30 +1701,23 @@ 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()); queryType_ = null; } queryTypeCase_ = 2; - onChanged(); - ; + onChanged();; return structuredQueryBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2072,12 +1730,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(); } @@ -2086,16 +1744,27 @@ public static com.google.firestore.v1.Target.QueryTarget getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryTarget(input, extensionRegistry); - } - }; + 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; @@ -2110,20 +1779,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Target.QueryTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int targetTypeCase_ = 0; private java.lang.Object targetType_; - public enum TargetTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY(2), DOCUMENTS(3), TARGETTYPE_NOT_SET(0); private final int value; - private TargetTypeCase(int value) { this.value = value; } @@ -2139,38 +1806,32 @@ public static TargetTypeCase valueOf(int value) { public static TargetTypeCase forNumber(int value) { switch (value) { - case 2: - return QUERY; - case 3: - return DOCUMENTS; - case 0: - return TARGETTYPE_NOT_SET; - default: - return null; + case 2: return QUERY; + case 3: return DOCUMENTS; + case 0: return TARGETTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TargetTypeCase getTargetTypeCase() { - return TargetTypeCase.forNumber(targetTypeCase_); + public TargetTypeCase + getTargetTypeCase() { + return TargetTypeCase.forNumber( + targetTypeCase_); } private int resumeTypeCase_ = 0; private java.lang.Object resumeType_; - public enum ResumeTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RESUME_TOKEN(4), READ_TIME(11), RESUMETYPE_NOT_SET(0); private final int value; - private ResumeTypeCase(int value) { this.value = value; } @@ -2186,36 +1847,30 @@ public static ResumeTypeCase valueOf(int value) { public static ResumeTypeCase forNumber(int value) { switch (value) { - case 4: - return RESUME_TOKEN; - case 11: - return READ_TIME; - case 0: - return RESUMETYPE_NOT_SET; - default: - return null; + case 4: return RESUME_TOKEN; + case 11: return READ_TIME; + case 0: return RESUMETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResumeTypeCase getResumeTypeCase() { - return ResumeTypeCase.forNumber(resumeTypeCase_); + public ResumeTypeCase + getResumeTypeCase() { + return ResumeTypeCase.forNumber( + resumeTypeCase_); } public static final int QUERY_FIELD_NUMBER = 2; /** - * - * *
    * A target specified by a query.
    * 
* * .google.firestore.v1.Target.QueryTarget query = 2; - * * @return Whether the query field is set. */ @java.lang.Override @@ -2223,26 +1878,21 @@ public boolean hasQuery() { return targetTypeCase_ == 2; } /** - * - * *
    * A target specified by a query.
    * 
* * .google.firestore.v1.Target.QueryTarget query = 2; - * * @return The query. */ @java.lang.Override public com.google.firestore.v1.Target.QueryTarget getQuery() { if (targetTypeCase_ == 2) { - return (com.google.firestore.v1.Target.QueryTarget) targetType_; + return (com.google.firestore.v1.Target.QueryTarget) targetType_; } return com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); } /** - * - * *
    * A target specified by a query.
    * 
@@ -2252,21 +1902,18 @@ public com.google.firestore.v1.Target.QueryTarget getQuery() { @java.lang.Override public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { if (targetTypeCase_ == 2) { - return (com.google.firestore.v1.Target.QueryTarget) targetType_; + return (com.google.firestore.v1.Target.QueryTarget) targetType_; } return com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); } public static final int DOCUMENTS_FIELD_NUMBER = 3; /** - * - * *
    * A target specified by a set of document names.
    * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; - * * @return Whether the documents field is set. */ @java.lang.Override @@ -2274,26 +1921,21 @@ public boolean hasDocuments() { return targetTypeCase_ == 3; } /** - * - * *
    * A target specified by a set of document names.
    * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; - * * @return The documents. */ @java.lang.Override public com.google.firestore.v1.Target.DocumentsTarget getDocuments() { if (targetTypeCase_ == 3) { - return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; + return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; } return com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); } /** - * - * *
    * A target specified by a set of document names.
    * 
@@ -2303,22 +1945,19 @@ 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.
    * Using a resume token with a different target is unsupported and may fail.
    * 
* * bytes resume_token = 4; - * * @return Whether the resumeToken field is set. */ @java.lang.Override @@ -2326,15 +1965,12 @@ public boolean hasResumeToken() { return resumeTypeCase_ == 4; } /** - * - * *
    * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target.
    * Using a resume token with a different target is unsupported and may fail.
    * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ @java.lang.Override @@ -2347,15 +1983,12 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int READ_TIME_FIELD_NUMBER = 11; /** - * - * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -2363,27 +1996,22 @@ public boolean hasReadTime() { return resumeTypeCase_ == 11; } /** - * - * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (resumeTypeCase_ == 11) { - return (com.google.protobuf.Timestamp) resumeType_; + return (com.google.protobuf.Timestamp) resumeType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
@@ -2394,7 +2022,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();
   }
@@ -2402,15 +2030,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int TARGET_ID_FIELD_NUMBER = 5;
   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 @@ -2421,14 +2046,11 @@ public int getTargetId() { public static final int ONCE_FIELD_NUMBER = 6; private boolean once_; /** - * - * *
    * If the target should be removed once it is current and consistent.
    * 
* * bool once = 6; - * * @return The once. */ @java.lang.Override @@ -2437,7 +2059,6 @@ public boolean getOnce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2449,7 +2070,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (targetTypeCase_ == 2) { output.writeMessage(2, (com.google.firestore.v1.Target.QueryTarget) targetType_); } @@ -2457,7 +2079,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(3, (com.google.firestore.v1.Target.DocumentsTarget) targetType_); } if (resumeTypeCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) resumeType_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) resumeType_); } if (targetId_ != 0) { output.writeInt32(5, targetId_); @@ -2468,7 +2091,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (resumeTypeCase_ == 11) { output.writeMessage(11, (com.google.protobuf.Timestamp) resumeType_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -2478,32 +2101,31 @@ public int getSerializedSize() { size = 0; if (targetTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.firestore.v1.Target.QueryTarget) targetType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.firestore.v1.Target.QueryTarget) targetType_); } if (targetTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.firestore.v1.Target.DocumentsTarget) targetType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.firestore.v1.Target.DocumentsTarget) targetType_); } if (resumeTypeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) resumeType_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) resumeType_); } if (targetId_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, targetId_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, targetId_); } if (once_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, once_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, once_); } if (resumeTypeCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.protobuf.Timestamp) resumeType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.protobuf.Timestamp) resumeType_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -2511,22 +2133,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.Target)) { return super.equals(obj); } com.google.firestore.v1.Target other = (com.google.firestore.v1.Target) obj; - if (getTargetId() != other.getTargetId()) return false; - if (getOnce() != other.getOnce()) return false; + if (getTargetId() + != other.getTargetId()) return false; + if (getOnce() + != other.getOnce()) return false; if (!getTargetTypeCase().equals(other.getTargetTypeCase())) return false; switch (targetTypeCase_) { case 2: - if (!getQuery().equals(other.getQuery())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; break; case 3: - if (!getDocuments().equals(other.getDocuments())) return false; + if (!getDocuments() + .equals(other.getDocuments())) return false; break; case 0: default: @@ -2534,15 +2160,17 @@ 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: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2556,7 +2184,8 @@ public int hashCode() { hash = (37 * hash) + TARGET_ID_FIELD_NUMBER; hash = (53 * hash) + getTargetId(); hash = (37 * hash) + ONCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOnce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOnce()); switch (targetTypeCase_) { case 2: hash = (37 * hash) + QUERY_FIELD_NUMBER; @@ -2581,149 +2210,147 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); + if (queryBuilder_ != null) { + queryBuilder_.clear(); + } + if (documentsBuilder_ != null) { + documentsBuilder_.clear(); + } + if (readTimeBuilder_ != null) { + readTimeBuilder_.clear(); + } targetId_ = 0; once_ = false; @@ -2736,9 +2363,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 @@ -2794,39 +2421,38 @@ public com.google.firestore.v1.Target 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.v1.Target) { - return mergeFrom((com.google.firestore.v1.Target) other); + return mergeFrom((com.google.firestore.v1.Target)other); } else { super.mergeFrom(other); return this; @@ -2842,38 +2468,32 @@ public Builder mergeFrom(com.google.firestore.v1.Target other) { setOnce(other.getOnce()); } switch (other.getTargetTypeCase()) { - case QUERY: - { - mergeQuery(other.getQuery()); - break; - } - case DOCUMENTS: - { - mergeDocuments(other.getDocuments()); - break; - } - case TARGETTYPE_NOT_SET: - { - break; - } + case QUERY: { + mergeQuery(other.getQuery()); + break; + } + case DOCUMENTS: { + mergeDocuments(other.getDocuments()); + break; + } + case TARGETTYPE_NOT_SET: { + break; + } } switch (other.getResumeTypeCase()) { - case RESUME_TOKEN: - { - setResumeToken(other.getResumeToken()); - break; - } - case READ_TIME: - { - mergeReadTime(other.getReadTime()); - break; - } - case RESUMETYPE_NOT_SET: - { - break; - } + case RESUME_TOKEN: { + setResumeToken(other.getResumeToken()); + break; + } + case READ_TIME: { + mergeReadTime(other.getReadTime()); + break; + } + case RESUMETYPE_NOT_SET: { + break; + } } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -2888,25 +2508,74 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.Target parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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(); + + break; + } // case 40 + case 48: { + once_ = input.readBool(); + + break; + } // case 48 + case 90: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + resumeTypeCase_ = 11; + break; + } // case 90 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.firestore.v1.Target) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -2918,9 +2587,10 @@ public Builder clearTargetType() { private int resumeTypeCase_ = 0; private java.lang.Object resumeType_; - - public ResumeTypeCase getResumeTypeCase() { - return ResumeTypeCase.forNumber(resumeTypeCase_); + public ResumeTypeCase + getResumeTypeCase() { + return ResumeTypeCase.forNumber( + resumeTypeCase_); } public Builder clearResumeType() { @@ -2930,20 +2600,15 @@ public Builder clearResumeType() { return this; } + 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 @@ -2951,14 +2616,11 @@ public boolean hasQuery() { return targetTypeCase_ == 2; } /** - * - * *
      * A target specified by a query.
      * 
* * .google.firestore.v1.Target.QueryTarget query = 2; - * * @return The query. */ @java.lang.Override @@ -2976,8 +2638,6 @@ public com.google.firestore.v1.Target.QueryTarget getQuery() { } } /** - * - * *
      * A target specified by a query.
      * 
@@ -2998,15 +2658,14 @@ public Builder setQuery(com.google.firestore.v1.Target.QueryTarget value) { return this; } /** - * - * *
      * A target specified by a query.
      * 
* * .google.firestore.v1.Target.QueryTarget query = 2; */ - public Builder setQuery(com.google.firestore.v1.Target.QueryTarget.Builder builderForValue) { + public Builder setQuery( + com.google.firestore.v1.Target.QueryTarget.Builder builderForValue) { if (queryBuilder_ == null) { targetType_ = builderForValue.build(); onChanged(); @@ -3017,8 +2676,6 @@ public Builder setQuery(com.google.firestore.v1.Target.QueryTarget.Builder build return this; } /** - * - * *
      * A target specified by a query.
      * 
@@ -3027,13 +2684,10 @@ public Builder setQuery(com.google.firestore.v1.Target.QueryTarget.Builder build */ public Builder mergeQuery(com.google.firestore.v1.Target.QueryTarget value) { if (queryBuilder_ == null) { - if (targetTypeCase_ == 2 - && targetType_ != com.google.firestore.v1.Target.QueryTarget.getDefaultInstance()) { - targetType_ = - com.google.firestore.v1.Target.QueryTarget.newBuilder( - (com.google.firestore.v1.Target.QueryTarget) targetType_) - .mergeFrom(value) - .buildPartial(); + if (targetTypeCase_ == 2 && + targetType_ != com.google.firestore.v1.Target.QueryTarget.getDefaultInstance()) { + targetType_ = com.google.firestore.v1.Target.QueryTarget.newBuilder((com.google.firestore.v1.Target.QueryTarget) targetType_) + .mergeFrom(value).buildPartial(); } else { targetType_ = value; } @@ -3049,8 +2703,6 @@ public Builder mergeQuery(com.google.firestore.v1.Target.QueryTarget value) { return this; } /** - * - * *
      * A target specified by a query.
      * 
@@ -3074,8 +2726,6 @@ public Builder clearQuery() { return this; } /** - * - * *
      * A target specified by a query.
      * 
@@ -3086,8 +2736,6 @@ public com.google.firestore.v1.Target.QueryTarget.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** - * - * *
      * A target specified by a query.
      * 
@@ -3106,8 +2754,6 @@ public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { } } /** - * - * *
      * A target specified by a query.
      * 
@@ -3115,44 +2761,32 @@ 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()); targetType_ = null; } targetTypeCase_ = 2; - onChanged(); - ; + onChanged();; return queryBuilder_; } 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 @@ -3160,14 +2794,11 @@ public boolean hasDocuments() { return targetTypeCase_ == 3; } /** - * - * *
      * A target specified by a set of document names.
      * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; - * * @return The documents. */ @java.lang.Override @@ -3185,8 +2816,6 @@ public com.google.firestore.v1.Target.DocumentsTarget getDocuments() { } } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3207,8 +2836,6 @@ public Builder setDocuments(com.google.firestore.v1.Target.DocumentsTarget value return this; } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3227,8 +2854,6 @@ public Builder setDocuments( return this; } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3237,13 +2862,10 @@ public Builder setDocuments( */ public Builder mergeDocuments(com.google.firestore.v1.Target.DocumentsTarget value) { if (documentsBuilder_ == null) { - if (targetTypeCase_ == 3 - && targetType_ != com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) { - targetType_ = - com.google.firestore.v1.Target.DocumentsTarget.newBuilder( - (com.google.firestore.v1.Target.DocumentsTarget) targetType_) - .mergeFrom(value) - .buildPartial(); + if (targetTypeCase_ == 3 && + targetType_ != com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) { + targetType_ = com.google.firestore.v1.Target.DocumentsTarget.newBuilder((com.google.firestore.v1.Target.DocumentsTarget) targetType_) + .mergeFrom(value).buildPartial(); } else { targetType_ = value; } @@ -3259,8 +2881,6 @@ public Builder mergeDocuments(com.google.firestore.v1.Target.DocumentsTarget val return this; } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3284,8 +2904,6 @@ public Builder clearDocuments() { return this; } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3296,8 +2914,6 @@ public com.google.firestore.v1.Target.DocumentsTarget.Builder getDocumentsBuilde return getDocumentsFieldBuilder().getBuilder(); } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3316,8 +2932,6 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui } } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3325,55 +2939,43 @@ 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()); targetType_ = null; } targetTypeCase_ = 3; - onChanged(); - ; + onChanged();; return documentsBuilder_; } /** - * - * *
      * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target.
      * Using a resume token with a different target is unsupported and may fail.
      * 
* * 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.
      * Using a resume token with a different target is unsupported and may fail.
      * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ public com.google.protobuf.ByteString getResumeToken() { @@ -3383,37 +2985,31 @@ 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.
      * Using a resume token with a different target is unsupported and may fail.
      * 
* * 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(); - } - resumeTypeCase_ = 4; + 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.
      * Using a resume token with a different target is unsupported and may fail.
      * 
* * bytes resume_token = 4; - * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -3426,20 +3022,14 @@ public Builder clearResumeToken() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
      * 
* * .google.protobuf.Timestamp read_time = 11; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -3447,15 +3037,12 @@ public boolean hasReadTime() { return resumeTypeCase_ == 11; } /** - * - * *
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
      * 
* * .google.protobuf.Timestamp read_time = 11; - * * @return The readTime. */ @java.lang.Override @@ -3473,8 +3060,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3496,8 +3081,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3505,7 +3088,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 11;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         resumeType_ = builderForValue.build();
         onChanged();
@@ -3516,8 +3100,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3527,12 +3109,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (resumeTypeCase_ == 11
-            && resumeType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          resumeType_ =
-              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) resumeType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (resumeTypeCase_ == 11 &&
+            resumeType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          resumeType_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) resumeType_)
+              .mergeFrom(value).buildPartial();
         } else {
           resumeType_ = value;
         }
@@ -3548,8 +3128,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3574,8 +3152,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3587,8 +3163,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3608,8 +3182,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3618,39 +3190,32 @@ 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;
-      onChanged();
-      ;
+      onChanged();;
       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 @@ -3658,53 +3223,44 @@ public int getTargetId() { return targetId_; } /** - * - * *
      * The target ID that identifies the target on the stream. Must be a positive
      * number and non-zero.
      * 
* * int32 target_id = 5; - * * @param value The targetId to set. * @return This builder for chaining. */ public Builder setTargetId(int value) { - + targetId_ = value; onChanged(); return this; } /** - * - * *
      * The target ID that identifies the target on the stream. Must be a positive
      * number and non-zero.
      * 
* * int32 target_id = 5; - * * @return This builder for chaining. */ public Builder clearTargetId() { - + targetId_ = 0; onChanged(); 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 @@ -3712,43 +3268,37 @@ public boolean getOnce() { return once_; } /** - * - * *
      * If the target should be removed once it is current and consistent.
      * 
* * bool once = 6; - * * @param value The once to set. * @return This builder for chaining. */ public Builder setOnce(boolean value) { - + once_ = value; onChanged(); return this; } /** - * - * *
      * If the target should be removed once it is current and consistent.
      * 
* * bool once = 6; - * * @return This builder for chaining. */ public Builder clearOnce() { - + once_ = false; 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); } @@ -3758,12 +3308,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(); } @@ -3772,16 +3322,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 { - return new Target(input, extensionRegistry); - } - }; + 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; @@ -3796,4 +3357,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Target getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java similarity index 74% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java index 82ba716429..4e33a6b1e5 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * Targets being watched have changed.
  * 
* * Protobuf type {@code google.firestore.v1.TargetChange} */ -public final class TargetChange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TargetChange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TargetChange) TargetChangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TargetChange.newBuilder() to construct. private TargetChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TargetChange() { targetChangeType_ = 0; targetIds_ = emptyIntList(); @@ -45,150 +27,39 @@ private TargetChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TargetChange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private TargetChange( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - int rawValue = input.readEnum(); - - targetChangeType_ = rawValue; - break; - } - case 16: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - targetIds_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - targetIds_.addInt(input.readInt32()); - break; - } - case 18: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { - targetIds_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - while (input.getBytesUntilLimit() > 0) { - targetIds_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; - } - case 26: - { - com.google.rpc.Status.Builder subBuilder = null; - if (cause_ != null) { - subBuilder = cause_.toBuilder(); - } - cause_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cause_); - cause_ = subBuilder.buildPartial(); - } - - break; - } - case 34: - { - resumeToken_ = input.readBytes(); - break; - } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); - } - readTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - targetIds_.makeImmutable(); // C - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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`.
      * 
@@ -197,8 +68,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum */ NO_CHANGE(0), /** - * - * *
      * The targets have been added.
      * 
@@ -207,8 +76,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum */ ADD(1), /** - * - * *
      * The targets have been removed.
      * 
@@ -217,8 +84,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum */ REMOVE(2), /** - * - * *
      * The targets reflect all changes committed before the targets were added
      * to the stream.
@@ -232,8 +97,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum
      */
     CURRENT(3),
     /**
-     *
-     *
      * 
      * The targets have been reset, and a new initial state for the targets
      * will be returned in subsequent changes.
@@ -248,8 +111,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * No change has occurred. Used only to send an updated `resume_token`.
      * 
@@ -258,8 +119,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum */ public static final int NO_CHANGE_VALUE = 0; /** - * - * *
      * The targets have been added.
      * 
@@ -268,8 +127,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum */ public static final int ADD_VALUE = 1; /** - * - * *
      * The targets have been removed.
      * 
@@ -278,8 +135,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum */ public static final int REMOVE_VALUE = 2; /** - * - * *
      * The targets reflect all changes committed before the targets were added
      * to the stream.
@@ -293,8 +148,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int CURRENT_VALUE = 3;
     /**
-     *
-     *
      * 
      * The targets have been reset, and a new initial state for the targets
      * will be returned in subsequent changes.
@@ -306,6 +159,7 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int RESET_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -330,46 +184,41 @@ public static TargetChangeType valueOf(int value) {
      */
     public static TargetChangeType forNumber(int value) {
       switch (value) {
-        case 0:
-          return NO_CHANGE;
-        case 1:
-          return ADD;
-        case 2:
-          return REMOVE;
-        case 3:
-          return CURRENT;
-        case 4:
-          return RESET;
-        default:
-          return null;
+        case 0: return NO_CHANGE;
+        case 1: return ADD;
+        case 2: return REMOVE;
+        case 3: return CURRENT;
+        case 4: return RESET;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        TargetChangeType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public TargetChangeType findValueByNumber(int number) {
+              return TargetChangeType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public TargetChangeType findValueByNumber(int number) {
-                return TargetChangeType.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.firestore.v1.TargetChange.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -378,7 +227,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static TargetChangeType valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -398,46 +248,33 @@ private TargetChangeType(int value) {
   public static final int TARGET_CHANGE_TYPE_FIELD_NUMBER = 1;
   private int targetChangeType_;
   /**
-   *
-   *
    * 
    * 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() { + @java.lang.Override public com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType() { @SuppressWarnings("deprecation") - com.google.firestore.v1.TargetChange.TargetChangeType result = - com.google.firestore.v1.TargetChange.TargetChangeType.valueOf(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.valueOf(targetChangeType_); + return result == null ? com.google.firestore.v1.TargetChange.TargetChangeType.UNRECOGNIZED : result; } public static final int TARGET_IDS_FIELD_NUMBER = 2; private com.google.protobuf.Internal.IntList targetIds_; /** - * - * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -445,16 +282,14 @@ public com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType
    * 
* * repeated int32 target_ids = 2; - * * @return A list containing the targetIds. */ @java.lang.Override - public java.util.List getTargetIdsList() { + public java.util.List + getTargetIdsList() { return targetIds_; } /** - * - * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -462,15 +297,12 @@ public java.util.List getTargetIdsList() {
    * 
* * repeated int32 target_ids = 2; - * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** - * - * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -478,27 +310,22 @@ public int getTargetIdsCount() {
    * 
* * repeated int32 target_ids = 2; - * * @param index The index of the element to return. * @return The targetIds at the given index. */ public int getTargetIds(int index) { return targetIds_.getInt(index); } - private int targetIdsMemoizedSerializedSize = -1; public static final int CAUSE_FIELD_NUMBER = 3; private com.google.rpc.Status cause_; /** - * - * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; - * * @return Whether the cause field is set. */ @java.lang.Override @@ -506,14 +333,11 @@ public boolean hasCause() { return cause_ != null; } /** - * - * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; - * * @return The cause. */ @java.lang.Override @@ -521,8 +345,6 @@ public com.google.rpc.Status getCause() { return cause_ == null ? com.google.rpc.Status.getDefaultInstance() : cause_; } /** - * - * *
    * The error that resulted in this change, if applicable.
    * 
@@ -537,8 +359,6 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { public static final int RESUME_TOKEN_FIELD_NUMBER = 4; private com.google.protobuf.ByteString resumeToken_; /** - * - * *
    * A token that can be used to resume the stream for the given `target_ids`,
    * or all targets if `target_ids` is empty.
@@ -546,7 +366,6 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() {
    * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ @java.lang.Override @@ -557,8 +376,6 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int READ_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -571,7 +388,6 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -579,8 +395,6 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -593,7 +407,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ @java.lang.Override @@ -601,8 +414,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -622,7 +433,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -634,10 +444,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getSerializedSize();
-    if (targetChangeType_
-        != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
+    if (targetChangeType_ != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
       output.writeEnum(1, targetChangeType_);
     }
     if (getTargetIdsList().size() > 0) {
@@ -656,7 +466,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (readTime_ != null) {
       output.writeMessage(6, getReadTime());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -665,33 +475,37 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -699,7 +513,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.TargetChange)) {
       return super.equals(obj);
@@ -707,17 +521,21 @@ 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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -744,147 +562,135 @@ public int hashCode() {
       hash = (37 * hash) + READ_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getReadTime().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -910,9 +716,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 @@ -958,39 +764,38 @@ public com.google.firestore.v1.TargetChange 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.v1.TargetChange) { - return mergeFrom((com.google.firestore.v1.TargetChange) other); + return mergeFrom((com.google.firestore.v1.TargetChange)other); } else { super.mergeFrom(other); return this; @@ -1021,7 +826,7 @@ public Builder mergeFrom(com.google.firestore.v1.TargetChange other) { if (other.hasReadTime()) { mergeReadTime(other.getReadTime()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -1036,127 +841,156 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.TargetChange parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + targetChangeType_ = input.readEnum(); + + 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); + + break; + } // case 26 + case 34: { + resumeToken_ = input.readBytes(); + + break; + } // case 34 + case 50: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = (com.google.firestore.v1.TargetChange) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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. */ public Builder setTargetChangeTypeValue(int value) { - + targetChangeType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.v1.TargetChange.TargetChangeType result = - com.google.firestore.v1.TargetChange.TargetChangeType.valueOf(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.valueOf(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(); } - + targetChangeType_ = value.getNumber(); onChanged(); 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() { - + targetChangeType_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList targetIds_ = emptyIntList(); - private void ensureTargetIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { targetIds_ = mutableCopy(targetIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1164,17 +998,14 @@ private void ensureTargetIdsIsMutable() {
      * 
* * repeated int32 target_ids = 2; - * * @return A list containing the targetIds. */ - public java.util.List getTargetIdsList() { - return ((bitField0_ & 0x00000001) != 0) - ? java.util.Collections.unmodifiableList(targetIds_) - : targetIds_; + public java.util.List + getTargetIdsList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(targetIds_) : targetIds_; } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1182,15 +1013,12 @@ public java.util.List getTargetIdsList() {
      * 
* * repeated int32 target_ids = 2; - * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1198,7 +1026,6 @@ public int getTargetIdsCount() {
      * 
* * repeated int32 target_ids = 2; - * * @param index The index of the element to return. * @return The targetIds at the given index. */ @@ -1206,8 +1033,6 @@ public int getTargetIds(int index) { return targetIds_.getInt(index); } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1215,20 +1040,18 @@ public int getTargetIds(int index) {
      * 
* * repeated int32 target_ids = 2; - * * @param index The index to set the value at. * @param value The targetIds to set. * @return This builder for chaining. */ - public Builder setTargetIds(int index, int value) { + public Builder setTargetIds( + int index, int value) { ensureTargetIdsIsMutable(); targetIds_.setInt(index, value); onChanged(); return this; } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1236,7 +1059,6 @@ public Builder setTargetIds(int index, int value) {
      * 
* * repeated int32 target_ids = 2; - * * @param value The targetIds to add. * @return This builder for chaining. */ @@ -1247,8 +1069,6 @@ public Builder addTargetIds(int value) { return this; } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1256,19 +1076,18 @@ public Builder addTargetIds(int value) {
      * 
* * repeated int32 target_ids = 2; - * * @param values The targetIds to add. * @return This builder for chaining. */ - public Builder addAllTargetIds(java.lang.Iterable values) { + public Builder addAllTargetIds( + java.lang.Iterable values) { ensureTargetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, targetIds_); onChanged(); return this; } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1276,7 +1095,6 @@ public Builder addAllTargetIds(java.lang.Iterable v
      * 
* * repeated int32 target_ids = 2; - * * @return This builder for chaining. */ public Builder clearTargetIds() { @@ -1288,31 +1106,24 @@ public Builder clearTargetIds() { private com.google.rpc.Status cause_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - causeBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> causeBuilder_; /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
* * .google.rpc.Status cause = 3; - * * @return Whether the cause field is set. */ public boolean hasCause() { return causeBuilder_ != null || cause_ != null; } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
* * .google.rpc.Status cause = 3; - * * @return The cause. */ public com.google.rpc.Status getCause() { @@ -1323,8 +1134,6 @@ public com.google.rpc.Status getCause() { } } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1345,15 +1154,14 @@ public Builder setCause(com.google.rpc.Status value) { return this; } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
* * .google.rpc.Status cause = 3; */ - public Builder setCause(com.google.rpc.Status.Builder builderForValue) { + public Builder setCause( + com.google.rpc.Status.Builder builderForValue) { if (causeBuilder_ == null) { cause_ = builderForValue.build(); onChanged(); @@ -1364,8 +1172,6 @@ public Builder setCause(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1375,7 +1181,8 @@ public Builder setCause(com.google.rpc.Status.Builder builderForValue) { public Builder mergeCause(com.google.rpc.Status value) { if (causeBuilder_ == null) { if (cause_ != null) { - cause_ = com.google.rpc.Status.newBuilder(cause_).mergeFrom(value).buildPartial(); + cause_ = + com.google.rpc.Status.newBuilder(cause_).mergeFrom(value).buildPartial(); } else { cause_ = value; } @@ -1387,8 +1194,6 @@ public Builder mergeCause(com.google.rpc.Status value) { return this; } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1407,8 +1212,6 @@ public Builder clearCause() { return this; } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1416,13 +1219,11 @@ public Builder clearCause() { * .google.rpc.Status cause = 3; */ public com.google.rpc.Status.Builder getCauseBuilder() { - + onChanged(); return getCauseFieldBuilder().getBuilder(); } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1433,12 +1234,11 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { if (causeBuilder_ != null) { return causeBuilder_.getMessageOrBuilder(); } else { - return cause_ == null ? com.google.rpc.Status.getDefaultInstance() : cause_; + return cause_ == null ? + com.google.rpc.Status.getDefaultInstance() : cause_; } } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1446,14 +1246,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_; @@ -1461,8 +1261,6 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * A token that can be used to resume the stream for the given `target_ids`,
      * or all targets if `target_ids` is empty.
@@ -1470,7 +1268,6 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() {
      * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ @java.lang.Override @@ -1478,8 +1275,6 @@ public com.google.protobuf.ByteString getResumeToken() { return resumeToken_; } /** - * - * *
      * A token that can be used to resume the stream for the given `target_ids`,
      * or all targets if `target_ids` is empty.
@@ -1487,22 +1282,19 @@ 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(); - } - + throw new NullPointerException(); + } + resumeToken_ = value; 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.
@@ -1510,11 +1302,10 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 4; - * * @return This builder for chaining. */ public Builder clearResumeToken() { - + resumeToken_ = getDefaultInstance().getResumeToken(); onChanged(); return this; @@ -1522,13 +1313,8 @@ public Builder clearResumeToken() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1541,15 +1327,12 @@ public Builder clearResumeToken() {
      * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1562,7 +1345,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1573,8 +1355,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1602,8 +1382,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1617,7 +1395,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 6;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
         onChanged();
@@ -1628,8 +1407,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1647,7 +1424,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -1659,8 +1436,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1686,8 +1461,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1702,13 +1475,11 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-
+      
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1726,12 +1497,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1746,24 +1516,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1773,12 +1540,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();
   }
@@ -1787,16 +1554,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 {
-          return new TargetChange(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1811,4 +1589,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.TargetChange getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
similarity index 85%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
index 2c36f37e41..6cd26c0b7f 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
@@ -1,56 +1,32 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface TargetChangeOrBuilder
-    extends
+public interface TargetChangeOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.TargetChange)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The type of change that occurred.
    * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; - * * @return The enum numeric value on the wire for targetChangeType. */ int getTargetChangeTypeValue(); /** - * - * *
    * The type of change that occurred.
    * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; - * * @return The targetChangeType. */ com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType(); /** - * - * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -58,13 +34,10 @@ public interface TargetChangeOrBuilder
    * 
* * repeated int32 target_ids = 2; - * * @return A list containing the targetIds. */ java.util.List getTargetIdsList(); /** - * - * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -72,13 +45,10 @@ public interface TargetChangeOrBuilder
    * 
* * repeated int32 target_ids = 2; - * * @return The count of targetIds. */ int getTargetIdsCount(); /** - * - * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -86,39 +56,30 @@ public interface TargetChangeOrBuilder
    * 
* * repeated int32 target_ids = 2; - * * @param index The index of the element to return. * @return The targetIds at the given index. */ int getTargetIds(int index); /** - * - * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; - * * @return Whether the cause field is set. */ boolean hasCause(); /** - * - * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; - * * @return The cause. */ com.google.rpc.Status getCause(); /** - * - * *
    * The error that resulted in this change, if applicable.
    * 
@@ -128,8 +89,6 @@ public interface TargetChangeOrBuilder com.google.rpc.StatusOrBuilder getCauseOrBuilder(); /** - * - * *
    * A token that can be used to resume the stream for the given `target_ids`,
    * or all targets if `target_ids` is empty.
@@ -137,14 +96,11 @@ public interface TargetChangeOrBuilder
    * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** - * - * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -157,13 +113,10 @@ public interface TargetChangeOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -176,13 +129,10 @@ public interface TargetChangeOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
similarity index 82%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
index e4ef86a50e..d4d71d9cbc 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface TargetOrBuilder
-    extends
+public interface TargetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.Target)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A target specified by a query.
    * 
* * .google.firestore.v1.Target.QueryTarget query = 2; - * * @return Whether the query field is set. */ boolean hasQuery(); /** - * - * *
    * A target specified by a query.
    * 
* * .google.firestore.v1.Target.QueryTarget query = 2; - * * @return The query. */ com.google.firestore.v1.Target.QueryTarget getQuery(); /** - * - * *
    * A target specified by a query.
    * 
@@ -59,32 +35,24 @@ public interface TargetOrBuilder com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder(); /** - * - * *
    * A target specified by a set of document names.
    * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; - * * @return Whether the documents field is set. */ boolean hasDocuments(); /** - * - * *
    * A target specified by a set of document names.
    * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; - * * @return The documents. */ com.google.firestore.v1.Target.DocumentsTarget getDocuments(); /** - * - * *
    * A target specified by a set of document names.
    * 
@@ -94,61 +62,47 @@ public interface TargetOrBuilder com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBuilder(); /** - * - * *
    * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target.
    * Using a resume token with a different target is unsupported and may fail.
    * 
* * 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.
    * Using a resume token with a different target is unsupported and may fail.
    * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** - * - * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
@@ -159,28 +113,22 @@ public interface TargetOrBuilder
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The target ID that identifies the target on the stream. Must be a positive
    * number and non-zero.
    * 
* * int32 target_id = 5; - * * @return The targetId. */ int getTargetId(); /** - * - * *
    * If the target should be removed once it is current and consistent.
    * 
* * bool once = 6; - * * @return The once. */ boolean getOnce(); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java similarity index 67% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java index dd96d5e691..1172400aa8 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java @@ -1,267 +1,119 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; /** - * - * *
  * Options for creating a new transaction.
  * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions} */ -public final class TransactionOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransactionOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions) TransactionOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransactionOptions.newBuilder() to construct. private TransactionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TransactionOptions() {} + private TransactionOptions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransactionOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private TransactionOptions( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: - { - com.google.firestore.v1.TransactionOptions.ReadOnly.Builder subBuilder = null; - if (modeCase_ == 2) { - subBuilder = - ((com.google.firestore.v1.TransactionOptions.ReadOnly) mode_).toBuilder(); - } - mode_ = - input.readMessage( - com.google.firestore.v1.TransactionOptions.ReadOnly.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.TransactionOptions.ReadOnly) mode_); - mode_ = subBuilder.buildPartial(); - } - modeCase_ = 2; - break; - } - case 26: - { - com.google.firestore.v1.TransactionOptions.ReadWrite.Builder subBuilder = null; - if (modeCase_ == 3) { - subBuilder = - ((com.google.firestore.v1.TransactionOptions.ReadWrite) mode_).toBuilder(); - } - mode_ = - input.readMessage( - com.google.firestore.v1.TransactionOptions.ReadWrite.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.TransactionOptions.ReadWrite) mode_); - mode_ = subBuilder.buildPartial(); - } - modeCase_ = 3; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.class, - com.google.firestore.v1.TransactionOptions.Builder.class); + com.google.firestore.v1.TransactionOptions.class, com.google.firestore.v1.TransactionOptions.Builder.class); } - public interface ReadWriteOrBuilder - extends + public interface ReadWriteOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.TransactionOptions.ReadWrite) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * An optional transaction to retry.
      * 
* * bytes retry_transaction = 1; - * * @return The retryTransaction. */ com.google.protobuf.ByteString getRetryTransaction(); } /** - * - * *
    * Options for a transaction that can be used to read and write documents.
    * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadWrite} */ - public static final class ReadWrite extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ReadWrite extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions.ReadWrite) ReadWriteOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadWrite.newBuilder() to construct. private ReadWrite(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadWrite() { retryTransaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadWrite(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ReadWrite( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - retryTransaction_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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_; /** - * - * *
      * An optional transaction to retry.
      * 
* * bytes retry_transaction = 1; - * * @return The retryTransaction. */ @java.lang.Override @@ -270,7 +122,6 @@ public com.google.protobuf.ByteString getRetryTransaction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -282,11 +133,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 (!retryTransaction_.isEmpty()) { output.writeBytes(1, retryTransaction_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -296,9 +148,10 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -306,16 +159,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.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 (!unknownFields.equals(other.unknownFields)) return false; + if (!getRetryTransaction() + .equals(other.getRetryTransaction())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -328,100 +181,93 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RETRY_TRANSACTION_FIELD_NUMBER; hash = (53 * hash) + getRetryTransaction().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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 @@ -431,48 +277,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Options for a transaction that can be used to read and write documents.
      * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadWrite} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.TransactionOptions.ReadWrite) com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.ReadWrite.class, - com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); + com.google.firestore.v1.TransactionOptions.ReadWrite.class, com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); } // Construct using com.google.firestore.v1.TransactionOptions.ReadWrite.newBuilder() private Builder() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,9 +319,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override @@ -503,8 +340,7 @@ 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); + com.google.firestore.v1.TransactionOptions.ReadWrite result = new com.google.firestore.v1.TransactionOptions.ReadWrite(this); result.retryTransaction_ = retryTransaction_; onBuilt(); return result; @@ -514,41 +350,38 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -556,12 +389,11 @@ 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()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -576,32 +408,45 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.TransactionOptions.ReadWrite parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + retryTransaction_ = input.readBytes(); + + 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) { - parsedMessage = - (com.google.firestore.v1.TransactionOptions.ReadWrite) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } - 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 @@ -609,44 +454,37 @@ 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(); - } - + throw new NullPointerException(); + } + retryTransaction_ = value; onChanged(); return this; } /** - * - * *
        * An optional transaction to retry.
        * 
* * bytes retry_transaction = 1; - * * @return This builder for chaining. */ public Builder clearRetryTransaction() { - + retryTransaction_ = getDefaultInstance().getRetryTransaction(); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -659,12 +497,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(); } @@ -673,16 +511,27 @@ public static com.google.firestore.v1.TransactionOptions.ReadWrite getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadWrite parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadWrite(input, extensionRegistry); - } - }; + 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; @@ -697,42 +546,34 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.TransactionOptions.ReadWrite getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ReadOnlyOrBuilder - extends + public interface ReadOnlyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.TransactionOptions.ReadOnly) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
@@ -742,121 +583,60 @@ public interface ReadOnlyOrBuilder
      */
     com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-    public com.google.firestore.v1.TransactionOptions.ReadOnly.ConsistencySelectorCase
-        getConsistencySelectorCase();
+    public com.google.firestore.v1.TransactionOptions.ReadOnly.ConsistencySelectorCase getConsistencySelectorCase();
   }
   /**
-   *
-   *
    * 
    * Options for a transaction that can only be used to read documents.
    * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadOnly} */ - public static final class ReadOnly extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ReadOnly extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions.ReadOnly) ReadOnlyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadOnly.newBuilder() to construct. private ReadOnly(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadOnly() {} + private ReadOnly() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadOnly(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private ReadOnly( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (consistencySelectorCase_ == 2) { - subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder(); - } - consistencySelector_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_); - consistencySelector_ = subBuilder.buildPartial(); - } - consistencySelectorCase_ = 2; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.ReadOnly.class, - com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.firestore.v1.TransactionOptions.ReadOnly.class, com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - public enum ConsistencySelectorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_TIME(2), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; - private ConsistencySelectorCase(int value) { this.value = value; } @@ -872,35 +652,30 @@ public static ConsistencySelectorCase valueOf(int value) { public static ConsistencySelectorCase forNumber(int value) { switch (value) { - case 2: - return READ_TIME; - case 0: - return CONSISTENCYSELECTOR_NOT_SET; - default: - return null; + case 2: return READ_TIME; + case 0: return CONSISTENCYSELECTOR_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConsistencySelectorCase getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + public ConsistencySelectorCase + getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber( + consistencySelectorCase_); } public static final int READ_TIME_FIELD_NUMBER = 2; /** - * - * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -908,27 +683,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 2; } /** - * - * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 2) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
@@ -939,13 +709,12 @@ public com.google.protobuf.Timestamp getReadTime() {
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (consistencySelectorCase_ == 2) {
-        return (com.google.protobuf.Timestamp) consistencySelector_;
+         return (com.google.protobuf.Timestamp) consistencySelector_;
       }
       return com.google.protobuf.Timestamp.getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -957,11 +726,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 (consistencySelectorCase_ == 2) {
         output.writeMessage(2, (com.google.protobuf.Timestamp) consistencySelector_);
       }
-      unknownFields.writeTo(output);
+      getUnknownFields().writeTo(output);
     }
 
     @java.lang.Override
@@ -971,11 +741,10 @@ 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 += unknownFields.getSerializedSize();
+      size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
       return size;
     }
@@ -983,23 +752,23 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.firestore.v1.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:
       }
-      if (!unknownFields.equals(other.unknownFields)) return false;
+      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
 
@@ -1018,100 +787,93 @@ public int hashCode() {
         case 0:
         default:
       }
-      hash = (29 * hash) + unknownFields.hashCode();
+      hash = (29 * hash) + getUnknownFields().hashCode();
       memoizedHashCode = hash;
       return hash;
     }
 
     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
@@ -1121,60 +883,54 @@ 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); + if (readTimeBuilder_ != null) { + readTimeBuilder_.clear(); + } consistencySelectorCase_ = 0; consistencySelector_ = null; return this; } @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 @@ -1193,8 +949,7 @@ 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); + com.google.firestore.v1.TransactionOptions.ReadOnly result = new com.google.firestore.v1.TransactionOptions.ReadOnly(this); if (consistencySelectorCase_ == 2) { if (readTimeBuilder_ == null) { result.consistencySelector_ = consistencySelector_; @@ -1211,41 +966,38 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -1253,20 +1005,17 @@ 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -1281,26 +1030,45 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.TransactionOptions.ReadOnly parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.firestore.v1.TransactionOptions.ReadOnly) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -1310,21 +1078,16 @@ public Builder clearConsistencySelector() { return this; } + 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 @@ -1332,15 +1095,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 2; } /** - * - * *
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
        * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -1358,8 +1118,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1381,8 +1139,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1390,7 +1146,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp read_time = 2;
        */
-      public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setReadTime(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (readTimeBuilder_ == null) {
           consistencySelector_ = builderForValue.build();
           onChanged();
@@ -1401,8 +1158,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
         return this;
       }
       /**
-       *
-       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1412,13 +1167,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
        */
       public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
         if (readTimeBuilder_ == null) {
-          if (consistencySelectorCase_ == 2
-              && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-            consistencySelector_ =
-                com.google.protobuf.Timestamp.newBuilder(
-                        (com.google.protobuf.Timestamp) consistencySelector_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (consistencySelectorCase_ == 2 &&
+              consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+            consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+                .mergeFrom(value).buildPartial();
           } else {
             consistencySelector_ = value;
           }
@@ -1434,8 +1186,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1460,8 +1210,6 @@ public Builder clearReadTime() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1473,8 +1221,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
         return getReadTimeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1494,8 +1240,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1504,30 +1248,23 @@ 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());
           consistencySelector_ = null;
         }
         consistencySelectorCase_ = 2;
-        onChanged();
-        ;
+        onChanged();;
         return readTimeBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1540,12 +1277,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();
     }
@@ -1554,16 +1291,27 @@ public static com.google.firestore.v1.TransactionOptions.ReadOnly getDefaultInst
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public ReadOnly parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new ReadOnly(input, extensionRegistry);
-          }
-        };
+    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;
@@ -1578,20 +1326,18 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.TransactionOptions.ReadOnly getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int modeCase_ = 0;
   private java.lang.Object mode_;
-
   public enum ModeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     READ_ONLY(2),
     READ_WRITE(3),
     MODE_NOT_SET(0);
     private final int value;
-
     private ModeCase(int value) {
       this.value = value;
     }
@@ -1607,36 +1353,30 @@ public static ModeCase valueOf(int value) {
 
     public static ModeCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return READ_ONLY;
-        case 3:
-          return READ_WRITE;
-        case 0:
-          return MODE_NOT_SET;
-        default:
-          return null;
+        case 2: return READ_ONLY;
+        case 3: return READ_WRITE;
+        case 0: return MODE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ModeCase getModeCase() {
-    return ModeCase.forNumber(modeCase_);
+  public ModeCase
+  getModeCase() {
+    return ModeCase.forNumber(
+        modeCase_);
   }
 
   public static final int READ_ONLY_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * The transaction can only be used for read operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -1644,26 +1384,21 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** - * - * *
    * The transaction can only be used for read operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly() { if (modeCase_ == 2) { - return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; + return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; } return com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } /** - * - * *
    * The transaction can only be used for read operations.
    * 
@@ -1673,21 +1408,18 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly() { @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder() { if (modeCase_ == 2) { - return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; + return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; } return com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } public static final int READ_WRITE_FIELD_NUMBER = 3; /** - * - * *
    * The transaction can be used for both read and write operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; - * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -1695,26 +1427,21 @@ public boolean hasReadWrite() { return modeCase_ == 3; } /** - * - * *
    * The transaction can be used for both read and write operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; - * * @return The readWrite. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite() { if (modeCase_ == 3) { - return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; + return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; } return com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } /** - * - * *
    * The transaction can be used for both read and write operations.
    * 
@@ -1724,13 +1451,12 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite() { @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder() { if (modeCase_ == 3) { - return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; + return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; } return com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1742,14 +1468,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 (modeCase_ == 2) { output.writeMessage(2, (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_); } if (modeCase_ == 3) { output.writeMessage(3, (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -1759,16 +1486,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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -1776,26 +1501,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.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: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1818,160 +1544,153 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); + if (readOnlyBuilder_ != null) { + readOnlyBuilder_.clear(); + } + if (readWriteBuilder_ != null) { + readWriteBuilder_.clear(); + } modeCase_ = 0; mode_ = null; return this; } @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 @@ -1990,8 +1709,7 @@ 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); + com.google.firestore.v1.TransactionOptions result = new com.google.firestore.v1.TransactionOptions(this); if (modeCase_ == 2) { if (readOnlyBuilder_ == null) { result.mode_ = mode_; @@ -2015,39 +1733,38 @@ public com.google.firestore.v1.TransactionOptions 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.v1.TransactionOptions) { - return mergeFrom((com.google.firestore.v1.TransactionOptions) other); + return mergeFrom((com.google.firestore.v1.TransactionOptions)other); } else { super.mergeFrom(other); return this; @@ -2057,22 +1774,19 @@ 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -2087,25 +1801,52 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.TransactionOptions parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.firestore.v1.TransactionOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -2115,20 +1856,15 @@ public Builder clearMode() { return this; } + 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 @@ -2136,14 +1872,11 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** - * - * *
      * The transaction can only be used for read operations.
      * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ @java.lang.Override @@ -2161,8 +1894,6 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly() { } } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2183,8 +1914,6 @@ public Builder setReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly v return this; } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2203,8 +1932,6 @@ public Builder setReadOnly( return this; } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2213,13 +1940,10 @@ public Builder setReadOnly( */ public Builder mergeReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly value) { if (readOnlyBuilder_ == null) { - if (modeCase_ == 2 - && mode_ != com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) { - mode_ = - com.google.firestore.v1.TransactionOptions.ReadOnly.newBuilder( - (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_) - .mergeFrom(value) - .buildPartial(); + if (modeCase_ == 2 && + mode_ != com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) { + mode_ = com.google.firestore.v1.TransactionOptions.ReadOnly.newBuilder((com.google.firestore.v1.TransactionOptions.ReadOnly) mode_) + .mergeFrom(value).buildPartial(); } else { mode_ = value; } @@ -2235,8 +1959,6 @@ public Builder mergeReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly return this; } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2260,8 +1982,6 @@ public Builder clearReadOnly() { return this; } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2272,8 +1992,6 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly.Builder getReadOnlyBu return getReadOnlyFieldBuilder().getBuilder(); } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2292,8 +2010,6 @@ public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO } } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2301,44 +2017,32 @@ 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()); mode_ = null; } modeCase_ = 2; - onChanged(); - ; + onChanged();; return readOnlyBuilder_; } 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 @@ -2346,14 +2050,11 @@ public boolean hasReadWrite() { return modeCase_ == 3; } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; - * * @return The readWrite. */ @java.lang.Override @@ -2371,8 +2072,6 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite() { } } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2393,8 +2092,6 @@ public Builder setReadWrite(com.google.firestore.v1.TransactionOptions.ReadWrite return this; } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2413,8 +2110,6 @@ public Builder setReadWrite( return this; } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2423,13 +2118,10 @@ public Builder setReadWrite( */ public Builder mergeReadWrite(com.google.firestore.v1.TransactionOptions.ReadWrite value) { if (readWriteBuilder_ == null) { - if (modeCase_ == 3 - && mode_ != com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) { - mode_ = - com.google.firestore.v1.TransactionOptions.ReadWrite.newBuilder( - (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_) - .mergeFrom(value) - .buildPartial(); + if (modeCase_ == 3 && + mode_ != com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) { + mode_ = com.google.firestore.v1.TransactionOptions.ReadWrite.newBuilder((com.google.firestore.v1.TransactionOptions.ReadWrite) mode_) + .mergeFrom(value).buildPartial(); } else { mode_ = value; } @@ -2445,8 +2137,6 @@ public Builder mergeReadWrite(com.google.firestore.v1.TransactionOptions.ReadWri return this; } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2470,8 +2160,6 @@ public Builder clearReadWrite() { return this; } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2482,8 +2170,6 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite.Builder getReadWrite return getReadWriteFieldBuilder().getBuilder(); } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2502,8 +2188,6 @@ public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit } } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2511,32 +2195,26 @@ 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()); mode_ = null; } modeCase_ = 3; - onChanged(); - ; + 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); } @@ -2546,12 +2224,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(); } @@ -2560,16 +2238,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 { - return new TransactionOptions(input, extensionRegistry); - } - }; + 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; @@ -2584,4 +2273,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.TransactionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java similarity index 73% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java index 7010d2dbaf..b2bddcce3c 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; -public interface TransactionOptionsOrBuilder - extends +public interface TransactionOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.TransactionOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The transaction can only be used for read operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ boolean hasReadOnly(); /** - * - * *
    * The transaction can only be used for read operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly(); /** - * - * *
    * The transaction can only be used for read operations.
    * 
@@ -59,32 +35,24 @@ public interface TransactionOptionsOrBuilder com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder(); /** - * - * *
    * The transaction can be used for both read and write operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; - * * @return Whether the readWrite field is set. */ boolean hasReadWrite(); /** - * - * *
    * The transaction can be used for both read and write operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; - * * @return The readWrite. */ com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite(); /** - * - * *
    * The transaction can be used for both read and write operations.
    * 
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java similarity index 70% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java index 7901b1827d..122ed7e616 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java @@ -1,185 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument].
  * 
* * Protobuf type {@code google.firestore.v1.UpdateDocumentRequest} */ -public final class UpdateDocumentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDocumentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.UpdateDocumentRequest) UpdateDocumentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDocumentRequest.newBuilder() to construct. private UpdateDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDocumentRequest() {} + private UpdateDocumentRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDocumentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private UpdateDocumentRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.firestore.v1.Document.Builder subBuilder = null; - if (document_ != null) { - subBuilder = document_.toBuilder(); - } - document_ = - input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(document_); - document_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - com.google.firestore.v1.DocumentMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage( - com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; - } - case 26: - { - com.google.firestore.v1.DocumentMask.Builder subBuilder = null; - if (mask_ != null) { - subBuilder = mask_.toBuilder(); - } - mask_ = - input.readMessage( - com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(mask_); - mask_ = subBuilder.buildPartial(); - } - - break; - } - case 34: - { - com.google.firestore.v1.Precondition.Builder subBuilder = null; - if (currentDocument_ != null) { - subBuilder = currentDocument_.toBuilder(); - } - currentDocument_ = - input.readMessage( - com.google.firestore.v1.Precondition.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(currentDocument_); - currentDocument_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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 @@ -187,16 +63,12 @@ public boolean hasDocument() { return document_ != null; } /** - * - * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The document. */ @java.lang.Override @@ -204,15 +76,12 @@ public com.google.firestore.v1.Document getDocument() { return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } /** - * - * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { @@ -222,8 +91,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.firestore.v1.DocumentMask updateMask_; /** - * - * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -234,7 +101,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -242,8 +108,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -254,18 +118,13 @@ public boolean hasUpdateMask() {
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override public com.google.firestore.v1.DocumentMask getUpdateMask() { - return updateMask_ == null - ? com.google.firestore.v1.DocumentMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -285,8 +144,6 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int MASK_FIELD_NUMBER = 3;
   private com.google.firestore.v1.DocumentMask mask_;
   /**
-   *
-   *
    * 
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -294,7 +151,6 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return Whether the mask field is set. */ @java.lang.Override @@ -302,8 +158,6 @@ public boolean hasMask() { return mask_ != null; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -311,7 +165,6 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return The mask. */ @java.lang.Override @@ -319,8 +172,6 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -337,15 +188,12 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
   public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 4;
   private com.google.firestore.v1.Precondition currentDocument_;
   /**
-   *
-   *
    * 
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return Whether the currentDocument field is set. */ @java.lang.Override @@ -353,26 +201,19 @@ public boolean hasCurrentDocument() { return currentDocument_ != null; } /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return The currentDocument. */ @java.lang.Override public com.google.firestore.v1.Precondition getCurrentDocument() { - return currentDocument_ == null - ? com.google.firestore.v1.Precondition.getDefaultInstance() - : currentDocument_; + return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; } /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
@@ -386,7 +227,6 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -398,7 +238,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (document_ != null) {
       output.writeMessage(1, getDocument());
     }
@@ -411,7 +252,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (currentDocument_ != null) {
       output.writeMessage(4, getCurrentDocument());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -421,18 +262,22 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -440,31 +285,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.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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -491,148 +339,135 @@ public int hashCode() {
       hash = (37 * hash) + CURRENT_DOCUMENT_FIELD_NUMBER;
       hash = (53 * hash) + getCurrentDocument().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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].
    * 
* * 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); @@ -664,9 +499,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 @@ -685,8 +520,7 @@ 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); + com.google.firestore.v1.UpdateDocumentRequest result = new com.google.firestore.v1.UpdateDocumentRequest(this); if (documentBuilder_ == null) { result.document_ = document_; } else { @@ -715,39 +549,38 @@ public com.google.firestore.v1.UpdateDocumentRequest 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.v1.UpdateDocumentRequest) { - return mergeFrom((com.google.firestore.v1.UpdateDocumentRequest) other); + return mergeFrom((com.google.firestore.v1.UpdateDocumentRequest)other); } else { super.mergeFrom(other); return this; @@ -768,7 +601,7 @@ public Builder mergeFrom(com.google.firestore.v1.UpdateDocumentRequest other) { if (other.hasCurrentDocument()) { mergeCurrentDocument(other.getCurrentDocument()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -783,74 +616,99 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.UpdateDocumentRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getDocumentFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getMaskFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getCurrentDocumentFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = (com.google.firestore.v1.UpdateDocumentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } 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 documentBuilder_ != null || 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. */ 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) { @@ -866,17 +724,15 @@ public Builder setDocument(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setDocument( + com.google.firestore.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { document_ = builderForValue.build(); onChanged(); @@ -887,23 +743,18 @@ public Builder setDocument(com.google.firestore.v1.Document.Builder builderForVa return this; } /** - * - * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { if (document_ != null) { document_ = - com.google.firestore.v1.Document.newBuilder(document_) - .mergeFrom(value) - .buildPartial(); + com.google.firestore.v1.Document.newBuilder(document_).mergeFrom(value).buildPartial(); } else { document_ = value; } @@ -915,15 +766,12 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDocument() { if (documentBuilder_ == null) { @@ -937,64 +785,51 @@ 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() { - + onChanged(); 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_; @@ -1002,13 +837,8 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { private com.google.firestore.v1.DocumentMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder> - updateMaskBuilder_; + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1019,15 +849,12 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
      * 
* * .google.firestore.v1.DocumentMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1038,21 +865,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.firestore.v1.DocumentMask update_mask = 2; - * * @return The updateMask. */ public com.google.firestore.v1.DocumentMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.firestore.v1.DocumentMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1078,8 +900,6 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1091,7 +911,8 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -1102,8 +923,6 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1119,9 +938,7 @@ public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.firestore.v1.DocumentMask.newBuilder(updateMask_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.v1.DocumentMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -1133,8 +950,6 @@ public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1158,8 +973,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1172,13 +985,11 @@ public Builder clearUpdateMask() {
      * .google.firestore.v1.DocumentMask update_mask = 2;
      */
     public com.google.firestore.v1.DocumentMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1194,14 +1005,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.firestore.v1.DocumentMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1214,17 +1022,14 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.DocumentMask,
-                com.google.firestore.v1.DocumentMask.Builder,
-                com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
@@ -1232,13 +1037,8 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.firestore.v1.DocumentMask mask_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
-        maskBuilder_;
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_;
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1246,15 +1046,12 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return Whether the mask field is set. */ public boolean hasMask() { return maskBuilder_ != null || mask_ != null; } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1262,7 +1059,6 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1273,8 +1069,6 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1297,8 +1091,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1307,7 +1099,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 3;
      */
-    public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setMask(
+        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (maskBuilder_ == null) {
         mask_ = builderForValue.build();
         onChanged();
@@ -1318,8 +1111,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1332,9 +1123,7 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
         if (mask_ != null) {
           mask_ =
-              com.google.firestore.v1.DocumentMask.newBuilder(mask_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.v1.DocumentMask.newBuilder(mask_).mergeFrom(value).buildPartial();
         } else {
           mask_ = value;
         }
@@ -1346,8 +1135,6 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1368,8 +1155,6 @@ public Builder clearMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1379,13 +1164,11 @@ public Builder clearMask() {
      * .google.firestore.v1.DocumentMask mask = 3;
      */
     public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
-
+      
       onChanged();
       return getMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1398,12 +1181,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ?
+            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1413,17 +1195,14 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
         getMaskFieldBuilder() {
       if (maskBuilder_ == null) {
-        maskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.DocumentMask,
-                com.google.firestore.v1.DocumentMask.Builder,
-                com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getMask(), getParentForChildren(), isClean());
+        maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getMask(),
+                getParentForChildren(),
+                isClean());
         mask_ = null;
       }
       return maskBuilder_;
@@ -1431,49 +1210,36 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
 
     private com.google.firestore.v1.Precondition currentDocument_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Precondition,
-            com.google.firestore.v1.Precondition.Builder,
-            com.google.firestore.v1.PreconditionOrBuilder>
-        currentDocumentBuilder_;
+        com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> currentDocumentBuilder_;
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return Whether the currentDocument field is set. */ public boolean hasCurrentDocument() { return currentDocumentBuilder_ != null || 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. */ 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.
@@ -1495,8 +1261,6 @@ public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1516,8 +1280,6 @@ public Builder setCurrentDocument(
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1529,9 +1291,7 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       if (currentDocumentBuilder_ == null) {
         if (currentDocument_ != null) {
           currentDocument_ =
-              com.google.firestore.v1.Precondition.newBuilder(currentDocument_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.v1.Precondition.newBuilder(currentDocument_).mergeFrom(value).buildPartial();
         } else {
           currentDocument_ = value;
         }
@@ -1543,8 +1303,6 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1564,8 +1322,6 @@ public Builder clearCurrentDocument() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1574,13 +1330,11 @@ public Builder clearCurrentDocument() {
      * .google.firestore.v1.Precondition current_document = 4;
      */
     public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder() {
-
+      
       onChanged();
       return getCurrentDocumentFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1592,14 +1346,11 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
       if (currentDocumentBuilder_ != null) {
         return currentDocumentBuilder_.getMessageOrBuilder();
       } else {
-        return currentDocument_ == null
-            ? com.google.firestore.v1.Precondition.getDefaultInstance()
-            : currentDocument_;
+        return currentDocument_ == null ?
+            com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
       }
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1608,24 +1359,21 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
      * .google.firestore.v1.Precondition current_document = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Precondition,
-            com.google.firestore.v1.Precondition.Builder,
-            com.google.firestore.v1.PreconditionOrBuilder>
+        com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> 
         getCurrentDocumentFieldBuilder() {
       if (currentDocumentBuilder_ == null) {
-        currentDocumentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.Precondition,
-                com.google.firestore.v1.Precondition.Builder,
-                com.google.firestore.v1.PreconditionOrBuilder>(
-                getCurrentDocument(), getParentForChildren(), isClean());
+        currentDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder>(
+                getCurrentDocument(),
+                getParentForChildren(),
+                isClean());
         currentDocument_ = null;
       }
       return currentDocumentBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1635,12 +1383,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();
   }
@@ -1649,16 +1397,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 {
-          return new UpdateDocumentRequest(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1673,4 +1432,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.UpdateDocumentRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
similarity index 83%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
index bd85f98ec7..36fa7c3643 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
@@ -1,72 +1,43 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface UpdateDocumentRequestOrBuilder
-    extends
+public interface UpdateDocumentRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.UpdateDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the document field is set. */ boolean hasDocument(); /** - * - * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The document. */ com.google.firestore.v1.Document getDocument(); /** - * - * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); /** - * - * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -77,13 +48,10 @@ public interface UpdateDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -94,13 +62,10 @@ public interface UpdateDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; - * * @return The updateMask. */ com.google.firestore.v1.DocumentMask getUpdateMask(); /** - * - * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -115,8 +80,6 @@ public interface UpdateDocumentRequestOrBuilder
   com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -124,13 +87,10 @@ public interface UpdateDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return Whether the mask field is set. */ boolean hasMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -138,13 +98,10 @@ public interface UpdateDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -156,34 +113,26 @@ public interface UpdateDocumentRequestOrBuilder
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return Whether the currentDocument field is set. */ boolean hasCurrentDocument(); /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return The currentDocument. */ com.google.firestore.v1.Precondition getCurrentDocument(); /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
similarity index 73%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
index eca8a042da..be267246dc 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
@@ -1,218 +1,56 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A message that can hold any of the supported value types.
  * 
* * Protobuf type {@code google.firestore.v1.Value} */ -public final class Value extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Value extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Value) ValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Value.newBuilder() to construct. private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Value() {} + private Value() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Value(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private Value( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - valueType_ = input.readBool(); - valueTypeCase_ = 1; - break; - } - case 16: - { - valueType_ = input.readInt64(); - valueTypeCase_ = 2; - break; - } - case 25: - { - valueType_ = input.readDouble(); - valueTypeCase_ = 3; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - valueTypeCase_ = 5; - valueType_ = s; - break; - } - case 50: - { - com.google.firestore.v1.MapValue.Builder subBuilder = null; - if (valueTypeCase_ == 6) { - subBuilder = ((com.google.firestore.v1.MapValue) valueType_).toBuilder(); - } - valueType_ = - input.readMessage(com.google.firestore.v1.MapValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.MapValue) valueType_); - valueType_ = subBuilder.buildPartial(); - } - valueTypeCase_ = 6; - break; - } - case 66: - { - com.google.type.LatLng.Builder subBuilder = null; - if (valueTypeCase_ == 8) { - subBuilder = ((com.google.type.LatLng) valueType_).toBuilder(); - } - valueType_ = input.readMessage(com.google.type.LatLng.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.type.LatLng) valueType_); - valueType_ = subBuilder.buildPartial(); - } - valueTypeCase_ = 8; - break; - } - case 74: - { - com.google.firestore.v1.ArrayValue.Builder subBuilder = null; - if (valueTypeCase_ == 9) { - subBuilder = ((com.google.firestore.v1.ArrayValue) valueType_).toBuilder(); - } - valueType_ = - input.readMessage(com.google.firestore.v1.ArrayValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.ArrayValue) valueType_); - valueType_ = subBuilder.buildPartial(); - } - valueTypeCase_ = 9; - break; - } - case 82: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (valueTypeCase_ == 10) { - subBuilder = ((com.google.protobuf.Timestamp) valueType_).toBuilder(); - } - valueType_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) valueType_); - valueType_ = subBuilder.buildPartial(); - } - valueTypeCase_ = 10; - break; - } - case 88: - { - int rawValue = input.readEnum(); - valueTypeCase_ = 11; - valueType_ = rawValue; - break; - } - case 138: - { - java.lang.String s = input.readStringRequireUtf8(); - valueTypeCase_ = 17; - valueType_ = s; - break; - } - case 146: - { - valueType_ = input.readBytes(); - valueTypeCase_ = 18; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_Value_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_Value_fieldAccessorTable + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Value.class, com.google.firestore.v1.Value.Builder.class); } private int valueTypeCase_ = 0; private java.lang.Object valueType_; - public enum ValueTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NULL_VALUE(11), BOOLEAN_VALUE(1), @@ -227,7 +65,6 @@ public enum ValueTypeCase MAP_VALUE(6), VALUETYPE_NOT_SET(0); private final int value; - private ValueTypeCase(int value) { this.value = value; } @@ -243,68 +80,50 @@ public static ValueTypeCase valueOf(int value) { public static ValueTypeCase forNumber(int value) { switch (value) { - case 11: - return NULL_VALUE; - case 1: - return BOOLEAN_VALUE; - case 2: - return INTEGER_VALUE; - case 3: - return DOUBLE_VALUE; - case 10: - return TIMESTAMP_VALUE; - case 17: - return STRING_VALUE; - case 18: - return BYTES_VALUE; - case 5: - return REFERENCE_VALUE; - case 8: - return GEO_POINT_VALUE; - case 9: - return ARRAY_VALUE; - case 6: - return MAP_VALUE; - case 0: - return VALUETYPE_NOT_SET; - default: - return null; + case 11: return NULL_VALUE; + case 1: return BOOLEAN_VALUE; + case 2: return INTEGER_VALUE; + case 3: return DOUBLE_VALUE; + case 10: return TIMESTAMP_VALUE; + case 17: return STRING_VALUE; + case 18: return BYTES_VALUE; + case 5: return REFERENCE_VALUE; + case 8: return GEO_POINT_VALUE; + case 9: return ARRAY_VALUE; + case 6: return MAP_VALUE; + case 0: return VALUETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ValueTypeCase getValueTypeCase() { - return ValueTypeCase.forNumber(valueTypeCase_); + public ValueTypeCase + getValueTypeCase() { + return ValueTypeCase.forNumber( + valueTypeCase_); } public static final int NULL_VALUE_FIELD_NUMBER = 11; /** - * - * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; - * * @return Whether the nullValue field is set. */ public boolean hasNullValue() { return valueTypeCase_ == 11; } /** - * - * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; - * * @return The enum numeric value on the wire for nullValue. */ public int getNullValueValue() { @@ -314,21 +133,18 @@ 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) { @SuppressWarnings("deprecation") - com.google.protobuf.NullValue result = - com.google.protobuf.NullValue.valueOf((java.lang.Integer) valueType_); + com.google.protobuf.NullValue result = com.google.protobuf.NullValue.valueOf( + (java.lang.Integer) valueType_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; @@ -336,14 +152,11 @@ public com.google.protobuf.NullValue getNullValue() { public static final int BOOLEAN_VALUE_FIELD_NUMBER = 1; /** - * - * *
    * A boolean value.
    * 
* * bool boolean_value = 1; - * * @return Whether the booleanValue field is set. */ @java.lang.Override @@ -351,14 +164,11 @@ public boolean hasBooleanValue() { return valueTypeCase_ == 1; } /** - * - * *
    * A boolean value.
    * 
* * bool boolean_value = 1; - * * @return The booleanValue. */ @java.lang.Override @@ -371,14 +181,11 @@ public boolean getBooleanValue() { public static final int INTEGER_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * An integer value.
    * 
* * int64 integer_value = 2; - * * @return Whether the integerValue field is set. */ @java.lang.Override @@ -386,14 +193,11 @@ public boolean hasIntegerValue() { return valueTypeCase_ == 2; } /** - * - * *
    * An integer value.
    * 
* * int64 integer_value = 2; - * * @return The integerValue. */ @java.lang.Override @@ -406,14 +210,11 @@ public long getIntegerValue() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * A double value.
    * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -421,14 +222,11 @@ public boolean hasDoubleValue() { return valueTypeCase_ == 3; } /** - * - * *
    * A double value.
    * 
* * double double_value = 3; - * * @return The doubleValue. */ @java.lang.Override @@ -441,8 +239,6 @@ public double getDoubleValue() { public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 10; /** - * - * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -450,7 +246,6 @@ public double getDoubleValue() {
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -458,8 +253,6 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** - * - * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -467,19 +260,16 @@ public boolean hasTimestampValue() {
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return The timestampValue. */ @java.lang.Override public com.google.protobuf.Timestamp getTimestampValue() { if (valueTypeCase_ == 10) { - return (com.google.protobuf.Timestamp) valueType_; + return (com.google.protobuf.Timestamp) valueType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -491,15 +281,13 @@ public com.google.protobuf.Timestamp getTimestampValue() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
     if (valueTypeCase_ == 10) {
-      return (com.google.protobuf.Timestamp) valueType_;
+       return (com.google.protobuf.Timestamp) valueType_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   public static final int STRING_VALUE_FIELD_NUMBER = 17;
   /**
-   *
-   *
    * 
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -508,15 +296,12 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
    * 
* * string string_value = 17; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueTypeCase_ == 17; } /** - * - * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -525,7 +310,6 @@ public boolean hasStringValue() {
    * 
* * string string_value = 17; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -536,7 +320,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 17) { valueType_ = s; @@ -545,8 +330,6 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -555,17 +338,18 @@ public java.lang.String getStringValue() {
    * 
* * string string_value = 17; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 17) { ref = valueType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueTypeCase_ == 17) { valueType_ = b; } @@ -577,8 +361,6 @@ public com.google.protobuf.ByteString getStringValueBytes() { public static final int BYTES_VALUE_FIELD_NUMBER = 18; /** - * - * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -586,7 +368,6 @@ public com.google.protobuf.ByteString getStringValueBytes() {
    * 
* * bytes bytes_value = 18; - * * @return Whether the bytesValue field is set. */ @java.lang.Override @@ -594,8 +375,6 @@ public boolean hasBytesValue() { return valueTypeCase_ == 18; } /** - * - * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -603,7 +382,6 @@ public boolean hasBytesValue() {
    * 
* * bytes bytes_value = 18; - * * @return The bytesValue. */ @java.lang.Override @@ -616,30 +394,24 @@ public com.google.protobuf.ByteString getBytesValue() { public static final int REFERENCE_VALUE_FIELD_NUMBER = 5; /** - * - * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; - * * @return Whether the referenceValue field is set. */ public boolean hasReferenceValue() { return valueTypeCase_ == 5; } /** - * - * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; - * * @return The referenceValue. */ public java.lang.String getReferenceValue() { @@ -650,7 +422,8 @@ public java.lang.String getReferenceValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 5) { valueType_ = s; @@ -659,25 +432,24 @@ public java.lang.String getReferenceValue() { } } /** - * - * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; - * * @return The bytes for referenceValue. */ - public com.google.protobuf.ByteString getReferenceValueBytes() { + public com.google.protobuf.ByteString + getReferenceValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 5) { ref = valueType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueTypeCase_ == 5) { valueType_ = b; } @@ -689,14 +461,11 @@ public com.google.protobuf.ByteString getReferenceValueBytes() { public static final int GEO_POINT_VALUE_FIELD_NUMBER = 8; /** - * - * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; - * * @return Whether the geoPointValue field is set. */ @java.lang.Override @@ -704,26 +473,21 @@ public boolean hasGeoPointValue() { return valueTypeCase_ == 8; } /** - * - * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; - * * @return The geoPointValue. */ @java.lang.Override public com.google.type.LatLng getGeoPointValue() { if (valueTypeCase_ == 8) { - return (com.google.type.LatLng) valueType_; + return (com.google.type.LatLng) valueType_; } return com.google.type.LatLng.getDefaultInstance(); } /** - * - * *
    * A geo point value representing a point on the surface of Earth.
    * 
@@ -733,15 +497,13 @@ public com.google.type.LatLng getGeoPointValue() { @java.lang.Override public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { if (valueTypeCase_ == 8) { - return (com.google.type.LatLng) valueType_; + return (com.google.type.LatLng) valueType_; } return com.google.type.LatLng.getDefaultInstance(); } public static final int ARRAY_VALUE_FIELD_NUMBER = 9; /** - * - * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -749,7 +511,6 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; - * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -757,8 +518,6 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** - * - * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -766,19 +525,16 @@ public boolean hasArrayValue() {
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; - * * @return The arrayValue. */ @java.lang.Override public com.google.firestore.v1.ArrayValue getArrayValue() { if (valueTypeCase_ == 9) { - return (com.google.firestore.v1.ArrayValue) valueType_; + return (com.google.firestore.v1.ArrayValue) valueType_; } return com.google.firestore.v1.ArrayValue.getDefaultInstance(); } /** - * - * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -790,21 +546,18 @@ public com.google.firestore.v1.ArrayValue getArrayValue() {
   @java.lang.Override
   public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
     if (valueTypeCase_ == 9) {
-      return (com.google.firestore.v1.ArrayValue) valueType_;
+       return (com.google.firestore.v1.ArrayValue) valueType_;
     }
     return com.google.firestore.v1.ArrayValue.getDefaultInstance();
   }
 
   public static final int MAP_VALUE_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; - * * @return Whether the mapValue field is set. */ @java.lang.Override @@ -812,26 +565,21 @@ public boolean hasMapValue() { return valueTypeCase_ == 6; } /** - * - * *
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; - * * @return The mapValue. */ @java.lang.Override public com.google.firestore.v1.MapValue getMapValue() { if (valueTypeCase_ == 6) { - return (com.google.firestore.v1.MapValue) valueType_; + return (com.google.firestore.v1.MapValue) valueType_; } return com.google.firestore.v1.MapValue.getDefaultInstance(); } /** - * - * *
    * A map value.
    * 
@@ -841,13 +589,12 @@ public com.google.firestore.v1.MapValue getMapValue() { @java.lang.Override public com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder() { if (valueTypeCase_ == 6) { - return (com.google.firestore.v1.MapValue) valueType_; + return (com.google.firestore.v1.MapValue) valueType_; } return com.google.firestore.v1.MapValue.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -859,15 +606,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (valueTypeCase_ == 1) { - output.writeBool(1, (boolean) ((java.lang.Boolean) valueType_)); + output.writeBool( + 1, (boolean)((java.lang.Boolean) valueType_)); } if (valueTypeCase_ == 2) { - output.writeInt64(2, (long) ((java.lang.Long) valueType_)); + output.writeInt64( + 2, (long)((java.lang.Long) valueType_)); } if (valueTypeCase_ == 3) { - output.writeDouble(3, (double) ((java.lang.Double) valueType_)); + output.writeDouble( + 3, (double)((java.lang.Double) valueType_)); } if (valueTypeCase_ == 5) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, valueType_); @@ -891,9 +642,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 17, valueType_); } if (valueTypeCase_ == 18) { - output.writeBytes(18, (com.google.protobuf.ByteString) valueType_); + output.writeBytes( + 18, (com.google.protobuf.ByteString) valueType_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -903,57 +655,52 @@ 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 += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -961,7 +708,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); @@ -971,43 +718,54 @@ 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: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1025,18 +783,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; @@ -1069,158 +827,159 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @java.lang.Override public Builder clear() { super.clear(); + if (timestampValueBuilder_ != null) { + timestampValueBuilder_.clear(); + } + if (geoPointValueBuilder_ != null) { + geoPointValueBuilder_.clear(); + } + if (arrayValueBuilder_ != null) { + arrayValueBuilder_.clear(); + } + if (mapValueBuilder_ != null) { + mapValueBuilder_.clear(); + } valueTypeCase_ = 0; valueType_ = null; return this; } @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 @@ -1298,39 +1057,38 @@ public com.google.firestore.v1.Value 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.v1.Value) { - return mergeFrom((com.google.firestore.v1.Value) other); + return mergeFrom((com.google.firestore.v1.Value)other); } else { super.mergeFrom(other); return this; @@ -1340,71 +1098,59 @@ 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; - } - } - this.mergeUnknownFields(other.unknownFields); + 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(); return this; } @@ -1419,25 +1165,104 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.Value parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.firestore.v1.Value) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -1447,15 +1272,13 @@ public Builder clearValueType() { return this; } + /** - * - * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; - * * @return Whether the nullValue field is set. */ @java.lang.Override @@ -1463,14 +1286,11 @@ public boolean hasNullValue() { return valueTypeCase_ == 11; } /** - * - * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; - * * @return The enum numeric value on the wire for nullValue. */ @java.lang.Override @@ -1481,14 +1301,11 @@ public int getNullValueValue() { return 0; } /** - * - * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; - * * @param value The enum numeric value on the wire for nullValue to set. * @return This builder for chaining. */ @@ -1499,35 +1316,29 @@ 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) { @SuppressWarnings("deprecation") - com.google.protobuf.NullValue result = - com.google.protobuf.NullValue.valueOf((java.lang.Integer) valueType_); + com.google.protobuf.NullValue result = com.google.protobuf.NullValue.valueOf( + (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. */ @@ -1541,14 +1352,11 @@ public Builder setNullValue(com.google.protobuf.NullValue value) { return this; } /** - * - * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; - * * @return This builder for chaining. */ public Builder clearNullValue() { @@ -1561,28 +1369,22 @@ public Builder clearNullValue() { } /** - * - * *
      * A boolean value.
      * 
* * bool boolean_value = 1; - * * @return Whether the booleanValue field is set. */ public boolean hasBooleanValue() { return valueTypeCase_ == 1; } /** - * - * *
      * A boolean value.
      * 
* * bool boolean_value = 1; - * * @return The booleanValue. */ public boolean getBooleanValue() { @@ -1592,14 +1394,11 @@ public boolean getBooleanValue() { return false; } /** - * - * *
      * A boolean value.
      * 
* * bool boolean_value = 1; - * * @param value The booleanValue to set. * @return This builder for chaining. */ @@ -1610,14 +1409,11 @@ public Builder setBooleanValue(boolean value) { return this; } /** - * - * *
      * A boolean value.
      * 
* * bool boolean_value = 1; - * * @return This builder for chaining. */ public Builder clearBooleanValue() { @@ -1630,28 +1426,22 @@ public Builder clearBooleanValue() { } /** - * - * *
      * An integer value.
      * 
* * int64 integer_value = 2; - * * @return Whether the integerValue field is set. */ public boolean hasIntegerValue() { return valueTypeCase_ == 2; } /** - * - * *
      * An integer value.
      * 
* * int64 integer_value = 2; - * * @return The integerValue. */ public long getIntegerValue() { @@ -1661,14 +1451,11 @@ public long getIntegerValue() { return 0L; } /** - * - * *
      * An integer value.
      * 
* * int64 integer_value = 2; - * * @param value The integerValue to set. * @return This builder for chaining. */ @@ -1679,14 +1466,11 @@ public Builder setIntegerValue(long value) { return this; } /** - * - * *
      * An integer value.
      * 
* * int64 integer_value = 2; - * * @return This builder for chaining. */ public Builder clearIntegerValue() { @@ -1699,28 +1483,22 @@ public Builder clearIntegerValue() { } /** - * - * *
      * A double value.
      * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueTypeCase_ == 3; } /** - * - * *
      * A double value.
      * 
* * double double_value = 3; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -1730,14 +1508,11 @@ public double getDoubleValue() { return 0D; } /** - * - * *
      * A double value.
      * 
* * double double_value = 3; - * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1748,14 +1523,11 @@ public Builder setDoubleValue(double value) { return this; } /** - * - * *
      * A double value.
      * 
* * double double_value = 3; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1768,13 +1540,8 @@ public Builder clearDoubleValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - timestampValueBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampValueBuilder_; /** - * - * *
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1782,7 +1549,6 @@ public Builder clearDoubleValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -1790,8 +1556,6 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** - * - * *
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1799,7 +1563,6 @@ public boolean hasTimestampValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return The timestampValue. */ @java.lang.Override @@ -1817,8 +1580,6 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** - * - * *
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1841,8 +1602,6 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1851,7 +1610,8 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp timestamp_value = 10;
      */
-    public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setTimestampValue(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (timestampValueBuilder_ == null) {
         valueType_ = builderForValue.build();
         onChanged();
@@ -1862,8 +1622,6 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1874,12 +1632,10 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo
      */
     public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) {
       if (timestampValueBuilder_ == null) {
-        if (valueTypeCase_ == 10
-            && valueType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          valueType_ =
-              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) valueType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (valueTypeCase_ == 10 &&
+            valueType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          valueType_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) valueType_)
+              .mergeFrom(value).buildPartial();
         } else {
           valueType_ = value;
         }
@@ -1895,8 +1651,6 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1922,8 +1676,6 @@ public Builder clearTimestampValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1936,8 +1688,6 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() {
       return getTimestampValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1958,8 +1708,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1969,31 +1717,25 @@ 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;
-      onChanged();
-      ;
+      onChanged();;
       return timestampValueBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -2002,7 +1744,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
      * 
* * string string_value = 17; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -2010,8 +1751,6 @@ public boolean hasStringValue() { return valueTypeCase_ == 17; } /** - * - * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -2020,7 +1759,6 @@ public boolean hasStringValue() {
      * 
* * string string_value = 17; - * * @return The stringValue. */ @java.lang.Override @@ -2030,7 +1768,8 @@ public java.lang.String getStringValue() { ref = valueType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 17) { valueType_ = s; @@ -2041,8 +1780,6 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -2051,18 +1788,19 @@ public java.lang.String getStringValue() {
      * 
* * string string_value = 17; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 17) { ref = valueType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueTypeCase_ == 17) { valueType_ = b; } @@ -2072,8 +1810,6 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -2082,22 +1818,20 @@ public com.google.protobuf.ByteString getStringValueBytes() {
      * 
* * string string_value = 17; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { + public Builder setStringValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueTypeCase_ = 17; + throw new NullPointerException(); + } + valueTypeCase_ = 17; valueType_ = value; onChanged(); return this; } /** - * - * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -2106,7 +1840,6 @@ public Builder setStringValue(java.lang.String value) {
      * 
* * string string_value = 17; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -2118,8 +1851,6 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -2128,15 +1859,15 @@ 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) { + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueTypeCase_ = 17; valueType_ = value; onChanged(); @@ -2144,8 +1875,6 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -2153,15 +1882,12 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes bytes_value = 18; - * * @return Whether the bytesValue field is set. */ public boolean hasBytesValue() { return valueTypeCase_ == 18; } /** - * - * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -2169,7 +1895,6 @@ public boolean hasBytesValue() {
      * 
* * bytes bytes_value = 18; - * * @return The bytesValue. */ public com.google.protobuf.ByteString getBytesValue() { @@ -2179,8 +1904,6 @@ public com.google.protobuf.ByteString getBytesValue() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -2188,22 +1911,19 @@ 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(); - } - valueTypeCase_ = 18; + throw new NullPointerException(); + } + valueTypeCase_ = 18; valueType_ = value; onChanged(); return this; } /** - * - * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -2211,7 +1931,6 @@ public Builder setBytesValue(com.google.protobuf.ByteString value) {
      * 
* * bytes bytes_value = 18; - * * @return This builder for chaining. */ public Builder clearBytesValue() { @@ -2224,15 +1943,12 @@ public Builder clearBytesValue() { } /** - * - * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; - * * @return Whether the referenceValue field is set. */ @java.lang.Override @@ -2240,15 +1956,12 @@ public boolean hasReferenceValue() { return valueTypeCase_ == 5; } /** - * - * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; - * * @return The referenceValue. */ @java.lang.Override @@ -2258,7 +1971,8 @@ public java.lang.String getReferenceValue() { ref = valueType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 5) { valueType_ = s; @@ -2269,26 +1983,25 @@ public java.lang.String getReferenceValue() { } } /** - * - * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; - * * @return The bytes for referenceValue. */ @java.lang.Override - public com.google.protobuf.ByteString getReferenceValueBytes() { + public com.google.protobuf.ByteString + getReferenceValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 5) { ref = valueType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueTypeCase_ == 5) { valueType_ = b; } @@ -2298,37 +2011,32 @@ public com.google.protobuf.ByteString getReferenceValueBytes() { } } /** - * - * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; - * * @param value The referenceValue to set. * @return This builder for chaining. */ - public Builder setReferenceValue(java.lang.String value) { + public Builder setReferenceValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueTypeCase_ = 5; + 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() { @@ -2340,23 +2048,21 @@ 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) { + public Builder setReferenceValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueTypeCase_ = 5; valueType_ = value; onChanged(); @@ -2364,17 +2070,13 @@ public Builder setReferenceValueBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> - geoPointValueBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> geoPointValueBuilder_; /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
* * .google.type.LatLng geo_point_value = 8; - * * @return Whether the geoPointValue field is set. */ @java.lang.Override @@ -2382,14 +2084,11 @@ public boolean hasGeoPointValue() { return valueTypeCase_ == 8; } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
* * .google.type.LatLng geo_point_value = 8; - * * @return The geoPointValue. */ @java.lang.Override @@ -2407,8 +2106,6 @@ public com.google.type.LatLng getGeoPointValue() { } } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2429,15 +2126,14 @@ public Builder setGeoPointValue(com.google.type.LatLng value) { return this; } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
* * .google.type.LatLng geo_point_value = 8; */ - public Builder setGeoPointValue(com.google.type.LatLng.Builder builderForValue) { + public Builder setGeoPointValue( + com.google.type.LatLng.Builder builderForValue) { if (geoPointValueBuilder_ == null) { valueType_ = builderForValue.build(); onChanged(); @@ -2448,8 +2144,6 @@ public Builder setGeoPointValue(com.google.type.LatLng.Builder builderForValue) return this; } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2458,11 +2152,10 @@ public Builder setGeoPointValue(com.google.type.LatLng.Builder builderForValue) */ public Builder mergeGeoPointValue(com.google.type.LatLng value) { if (geoPointValueBuilder_ == null) { - if (valueTypeCase_ == 8 && valueType_ != com.google.type.LatLng.getDefaultInstance()) { - valueType_ = - com.google.type.LatLng.newBuilder((com.google.type.LatLng) valueType_) - .mergeFrom(value) - .buildPartial(); + if (valueTypeCase_ == 8 && + valueType_ != com.google.type.LatLng.getDefaultInstance()) { + valueType_ = com.google.type.LatLng.newBuilder((com.google.type.LatLng) valueType_) + .mergeFrom(value).buildPartial(); } else { valueType_ = value; } @@ -2478,8 +2171,6 @@ public Builder mergeGeoPointValue(com.google.type.LatLng value) { return this; } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2503,8 +2194,6 @@ public Builder clearGeoPointValue() { return this; } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2515,8 +2204,6 @@ public com.google.type.LatLng.Builder getGeoPointValueBuilder() { return getGeoPointValueFieldBuilder().getBuilder(); } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2535,8 +2222,6 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { } } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2544,34 +2229,27 @@ 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; - onChanged(); - ; + onChanged();; return geoPointValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.ArrayValue, - com.google.firestore.v1.ArrayValue.Builder, - com.google.firestore.v1.ArrayValueOrBuilder> - arrayValueBuilder_; + com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> arrayValueBuilder_; /** - * - * *
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2579,7 +2257,6 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
      * 
* * .google.firestore.v1.ArrayValue array_value = 9; - * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -2587,8 +2264,6 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** - * - * *
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2596,7 +2271,6 @@ public boolean hasArrayValue() {
      * 
* * .google.firestore.v1.ArrayValue array_value = 9; - * * @return The arrayValue. */ @java.lang.Override @@ -2614,8 +2288,6 @@ public com.google.firestore.v1.ArrayValue getArrayValue() { } } /** - * - * *
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2638,8 +2310,6 @@ public Builder setArrayValue(com.google.firestore.v1.ArrayValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2648,7 +2318,8 @@ public Builder setArrayValue(com.google.firestore.v1.ArrayValue value) {
      *
      * .google.firestore.v1.ArrayValue array_value = 9;
      */
-    public Builder setArrayValue(com.google.firestore.v1.ArrayValue.Builder builderForValue) {
+    public Builder setArrayValue(
+        com.google.firestore.v1.ArrayValue.Builder builderForValue) {
       if (arrayValueBuilder_ == null) {
         valueType_ = builderForValue.build();
         onChanged();
@@ -2659,8 +2330,6 @@ public Builder setArrayValue(com.google.firestore.v1.ArrayValue.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2671,13 +2340,10 @@ public Builder setArrayValue(com.google.firestore.v1.ArrayValue.Builder builderF
      */
     public Builder mergeArrayValue(com.google.firestore.v1.ArrayValue value) {
       if (arrayValueBuilder_ == null) {
-        if (valueTypeCase_ == 9
-            && valueType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
-          valueType_ =
-              com.google.firestore.v1.ArrayValue.newBuilder(
-                      (com.google.firestore.v1.ArrayValue) valueType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (valueTypeCase_ == 9 &&
+            valueType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
+          valueType_ = com.google.firestore.v1.ArrayValue.newBuilder((com.google.firestore.v1.ArrayValue) valueType_)
+              .mergeFrom(value).buildPartial();
         } else {
           valueType_ = value;
         }
@@ -2693,8 +2359,6 @@ public Builder mergeArrayValue(com.google.firestore.v1.ArrayValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2720,8 +2384,6 @@ public Builder clearArrayValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2734,8 +2396,6 @@ public com.google.firestore.v1.ArrayValue.Builder getArrayValueBuilder() {
       return getArrayValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2756,8 +2416,6 @@ public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2767,42 +2425,32 @@ 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;
-      onChanged();
-      ;
+      onChanged();;
       return arrayValueBuilder_;
     }
 
     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 @@ -2810,14 +2458,11 @@ public boolean hasMapValue() { return valueTypeCase_ == 6; } /** - * - * *
      * A map value.
      * 
* * .google.firestore.v1.MapValue map_value = 6; - * * @return The mapValue. */ @java.lang.Override @@ -2835,8 +2480,6 @@ public com.google.firestore.v1.MapValue getMapValue() { } } /** - * - * *
      * A map value.
      * 
@@ -2857,15 +2500,14 @@ public Builder setMapValue(com.google.firestore.v1.MapValue value) { return this; } /** - * - * *
      * A map value.
      * 
* * .google.firestore.v1.MapValue map_value = 6; */ - public Builder setMapValue(com.google.firestore.v1.MapValue.Builder builderForValue) { + public Builder setMapValue( + com.google.firestore.v1.MapValue.Builder builderForValue) { if (mapValueBuilder_ == null) { valueType_ = builderForValue.build(); onChanged(); @@ -2876,8 +2518,6 @@ public Builder setMapValue(com.google.firestore.v1.MapValue.Builder builderForVa return this; } /** - * - * *
      * A map value.
      * 
@@ -2886,13 +2526,10 @@ public Builder setMapValue(com.google.firestore.v1.MapValue.Builder builderForVa */ public Builder mergeMapValue(com.google.firestore.v1.MapValue value) { if (mapValueBuilder_ == null) { - if (valueTypeCase_ == 6 - && valueType_ != com.google.firestore.v1.MapValue.getDefaultInstance()) { - valueType_ = - com.google.firestore.v1.MapValue.newBuilder( - (com.google.firestore.v1.MapValue) valueType_) - .mergeFrom(value) - .buildPartial(); + if (valueTypeCase_ == 6 && + valueType_ != com.google.firestore.v1.MapValue.getDefaultInstance()) { + valueType_ = com.google.firestore.v1.MapValue.newBuilder((com.google.firestore.v1.MapValue) valueType_) + .mergeFrom(value).buildPartial(); } else { valueType_ = value; } @@ -2908,8 +2545,6 @@ public Builder mergeMapValue(com.google.firestore.v1.MapValue value) { return this; } /** - * - * *
      * A map value.
      * 
@@ -2933,8 +2568,6 @@ public Builder clearMapValue() { return this; } /** - * - * *
      * A map value.
      * 
@@ -2945,8 +2578,6 @@ public com.google.firestore.v1.MapValue.Builder getMapValueBuilder() { return getMapValueFieldBuilder().getBuilder(); } /** - * - * *
      * A map value.
      * 
@@ -2965,8 +2596,6 @@ public com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder() { } } /** - * - * *
      * A map value.
      * 
@@ -2974,30 +2603,26 @@ public com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder() { * .google.firestore.v1.MapValue map_value = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.MapValue, - com.google.firestore.v1.MapValue.Builder, - com.google.firestore.v1.MapValueOrBuilder> + com.google.firestore.v1.MapValue, com.google.firestore.v1.MapValue.Builder, com.google.firestore.v1.MapValueOrBuilder> getMapValueFieldBuilder() { if (mapValueBuilder_ == null) { if (!(valueTypeCase_ == 6)) { valueType_ = com.google.firestore.v1.MapValue.getDefaultInstance(); } - mapValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.MapValue, - com.google.firestore.v1.MapValue.Builder, - com.google.firestore.v1.MapValueOrBuilder>( - (com.google.firestore.v1.MapValue) valueType_, getParentForChildren(), isClean()); + mapValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.MapValue, com.google.firestore.v1.MapValue.Builder, com.google.firestore.v1.MapValueOrBuilder>( + (com.google.firestore.v1.MapValue) valueType_, + getParentForChildren(), + isClean()); valueType_ = null; } valueTypeCase_ = 6; - onChanged(); - ; + 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); } @@ -3007,12 +2632,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(); } @@ -3021,16 +2646,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 { - return new Value(input, extensionRegistry); - } - }; + 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; @@ -3045,4 +2681,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java similarity index 86% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java index 7227b16ac8..dda81dae76 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java @@ -1,143 +1,98 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/document.proto package com.google.firestore.v1; -public interface ValueOrBuilder - extends +public interface ValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Value) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; - * * @return Whether the nullValue field is set. */ boolean hasNullValue(); /** - * - * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; - * * @return The enum numeric value on the wire for nullValue. */ int getNullValueValue(); /** - * - * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; - * * @return The nullValue. */ com.google.protobuf.NullValue getNullValue(); /** - * - * *
    * A boolean value.
    * 
* * bool boolean_value = 1; - * * @return Whether the booleanValue field is set. */ boolean hasBooleanValue(); /** - * - * *
    * A boolean value.
    * 
* * bool boolean_value = 1; - * * @return The booleanValue. */ boolean getBooleanValue(); /** - * - * *
    * An integer value.
    * 
* * int64 integer_value = 2; - * * @return Whether the integerValue field is set. */ boolean hasIntegerValue(); /** - * - * *
    * An integer value.
    * 
* * int64 integer_value = 2; - * * @return The integerValue. */ long getIntegerValue(); /** - * - * *
    * A double value.
    * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
    * A double value.
    * 
* * double double_value = 3; - * * @return The doubleValue. */ double getDoubleValue(); /** - * - * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -145,13 +100,10 @@ public interface ValueOrBuilder
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** - * - * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -159,13 +111,10 @@ public interface ValueOrBuilder
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** - * - * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -177,8 +126,6 @@ public interface ValueOrBuilder
   com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -187,13 +134,10 @@ public interface ValueOrBuilder
    * 
* * string string_value = 17; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -202,13 +146,10 @@ public interface ValueOrBuilder
    * 
* * string string_value = 17; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -217,14 +158,12 @@ public interface ValueOrBuilder
    * 
* * string string_value = 17; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); /** - * - * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -232,13 +171,10 @@ public interface ValueOrBuilder
    * 
* * bytes bytes_value = 18; - * * @return Whether the bytesValue field is set. */ boolean hasBytesValue(); /** - * - * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -246,78 +182,61 @@ public interface ValueOrBuilder
    * 
* * bytes bytes_value = 18; - * * @return The bytesValue. */ com.google.protobuf.ByteString getBytesValue(); /** - * - * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; - * * @return Whether the referenceValue field is set. */ boolean hasReferenceValue(); /** - * - * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; - * * @return The referenceValue. */ java.lang.String getReferenceValue(); /** - * - * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; - * * @return The bytes for referenceValue. */ - com.google.protobuf.ByteString getReferenceValueBytes(); + com.google.protobuf.ByteString + getReferenceValueBytes(); /** - * - * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; - * * @return Whether the geoPointValue field is set. */ boolean hasGeoPointValue(); /** - * - * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; - * * @return The geoPointValue. */ com.google.type.LatLng getGeoPointValue(); /** - * - * *
    * A geo point value representing a point on the surface of Earth.
    * 
@@ -327,8 +246,6 @@ public interface ValueOrBuilder com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder(); /** - * - * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -336,13 +253,10 @@ public interface ValueOrBuilder
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; - * * @return Whether the arrayValue field is set. */ boolean hasArrayValue(); /** - * - * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -350,13 +264,10 @@ public interface ValueOrBuilder
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; - * * @return The arrayValue. */ com.google.firestore.v1.ArrayValue getArrayValue(); /** - * - * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -368,32 +279,24 @@ public interface ValueOrBuilder
   com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; - * * @return Whether the mapValue field is set. */ boolean hasMapValue(); /** - * - * *
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; - * * @return The mapValue. */ com.google.firestore.v1.MapValue getMapValue(); /** - * - * *
    * A map value.
    * 
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java similarity index 73% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java index 9fa66afeb5..f94bf48e4c 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java @@ -1,210 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; /** - * - * *
  * A write on a document.
  * 
* * Protobuf type {@code google.firestore.v1.Write} */ -public final class Write extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Write extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Write) WriteOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Write.newBuilder() to construct. private Write(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Write() { updateTransforms_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Write(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private Write( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.firestore.v1.Document.Builder subBuilder = null; - if (operationCase_ == 1) { - subBuilder = ((com.google.firestore.v1.Document) operation_).toBuilder(); - } - operation_ = - input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.Document) operation_); - operation_ = subBuilder.buildPartial(); - } - operationCase_ = 1; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - operationCase_ = 2; - operation_ = s; - break; - } - case 26: - { - com.google.firestore.v1.DocumentMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage( - com.google.firestore.v1.DocumentMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; - } - case 34: - { - com.google.firestore.v1.Precondition.Builder subBuilder = null; - if (currentDocument_ != null) { - subBuilder = currentDocument_.toBuilder(); - } - currentDocument_ = - input.readMessage( - com.google.firestore.v1.Precondition.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(currentDocument_); - currentDocument_ = subBuilder.buildPartial(); - } - - break; - } - case 50: - { - com.google.firestore.v1.DocumentTransform.Builder subBuilder = null; - if (operationCase_ == 6) { - subBuilder = ((com.google.firestore.v1.DocumentTransform) operation_).toBuilder(); - } - operation_ = - input.readMessage( - com.google.firestore.v1.DocumentTransform.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.firestore.v1.DocumentTransform) operation_); - operation_ = subBuilder.buildPartial(); - } - operationCase_ = 6; - break; - } - case 58: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - updateTransforms_ = - new java.util.ArrayList< - com.google.firestore.v1.DocumentTransform.FieldTransform>(); - mutable_bitField0_ |= 0x00000001; - } - updateTransforms_.add( - input.readMessage( - com.google.firestore.v1.DocumentTransform.FieldTransform.parser(), - extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - updateTransforms_ = java.util.Collections.unmodifiableList(updateTransforms_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_Write_fieldAccessorTable + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Write.class, com.google.firestore.v1.Write.Builder.class); } private int operationCase_ = 0; private java.lang.Object operation_; - public enum OperationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { UPDATE(1), DELETE(2), TRANSFORM(6), OPERATION_NOT_SET(0); private final int value; - private OperationCase(int value) { this.value = value; } @@ -220,38 +73,31 @@ public static OperationCase valueOf(int value) { public static OperationCase forNumber(int value) { switch (value) { - case 1: - return UPDATE; - case 2: - return DELETE; - case 6: - return TRANSFORM; - case 0: - return OPERATION_NOT_SET; - default: - return null; + case 1: return UPDATE; + case 2: return DELETE; + case 6: return TRANSFORM; + case 0: return OPERATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OperationCase getOperationCase() { - return OperationCase.forNumber(operationCase_); + public OperationCase + getOperationCase() { + return OperationCase.forNumber( + operationCase_); } public static final int UPDATE_FIELD_NUMBER = 1; /** - * - * *
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; - * * @return Whether the update field is set. */ @java.lang.Override @@ -259,26 +105,21 @@ public boolean hasUpdate() { return operationCase_ == 1; } /** - * - * *
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; - * * @return The update. */ @java.lang.Override public com.google.firestore.v1.Document getUpdate() { if (operationCase_ == 1) { - return (com.google.firestore.v1.Document) operation_; + return (com.google.firestore.v1.Document) operation_; } return com.google.firestore.v1.Document.getDefaultInstance(); } /** - * - * *
    * A document to write.
    * 
@@ -288,37 +129,31 @@ public com.google.firestore.v1.Document getUpdate() { @java.lang.Override public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { if (operationCase_ == 1) { - return (com.google.firestore.v1.Document) operation_; + return (com.google.firestore.v1.Document) operation_; } return com.google.firestore.v1.Document.getDefaultInstance(); } public static final int DELETE_FIELD_NUMBER = 2; /** - * - * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; - * * @return Whether the delete field is set. */ public boolean hasDelete() { return operationCase_ == 2; } /** - * - * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; - * * @return The delete. */ public java.lang.String getDelete() { @@ -329,7 +164,8 @@ public java.lang.String getDelete() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (operationCase_ == 2) { operation_ = s; @@ -338,25 +174,24 @@ public java.lang.String getDelete() { } } /** - * - * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; - * * @return The bytes for delete. */ - public com.google.protobuf.ByteString getDeleteBytes() { + public com.google.protobuf.ByteString + getDeleteBytes() { java.lang.Object ref = ""; if (operationCase_ == 2) { ref = operation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (operationCase_ == 2) { operation_ = b; } @@ -368,14 +203,11 @@ public com.google.protobuf.ByteString getDeleteBytes() { public static final int TRANSFORM_FIELD_NUMBER = 6; /** - * - * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; - * * @return Whether the transform field is set. */ @java.lang.Override @@ -383,26 +215,21 @@ public boolean hasTransform() { return operationCase_ == 6; } /** - * - * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; - * * @return The transform. */ @java.lang.Override public com.google.firestore.v1.DocumentTransform getTransform() { if (operationCase_ == 6) { - return (com.google.firestore.v1.DocumentTransform) operation_; + return (com.google.firestore.v1.DocumentTransform) operation_; } return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); } /** - * - * *
    * Applies a transformation to a document.
    * 
@@ -412,7 +239,7 @@ public com.google.firestore.v1.DocumentTransform getTransform() { @java.lang.Override public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder() { if (operationCase_ == 6) { - return (com.google.firestore.v1.DocumentTransform) operation_; + return (com.google.firestore.v1.DocumentTransform) operation_; } return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); } @@ -420,8 +247,6 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder( public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.firestore.v1.DocumentMask updateMask_; /** - * - * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -435,7 +260,6 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder(
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -443,8 +267,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -458,18 +280,13 @@ public boolean hasUpdateMask() {
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override public com.google.firestore.v1.DocumentMask getUpdateMask() { - return updateMask_ == null - ? com.google.firestore.v1.DocumentMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -490,11 +307,8 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   public static final int UPDATE_TRANSFORMS_FIELD_NUMBER = 7;
-  private java.util.List
-      updateTransforms_;
+  private java.util.List updateTransforms_;
   /**
-   *
-   *
    * 
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -502,17 +316,13 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ @java.lang.Override - public java.util.List - getUpdateTransformsList() { + public java.util.List getUpdateTransformsList() { return updateTransforms_; } /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -520,17 +330,14 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ @java.lang.Override - public java.util.List + public java.util.List getUpdateTransformsOrBuilderList() { return updateTransforms_; } /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -538,16 +345,13 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ @java.lang.Override public int getUpdateTransformsCount() { return updateTransforms_.size(); } /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -555,16 +359,13 @@ public int getUpdateTransformsCount() {
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ @java.lang.Override public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransforms(int index) { return updateTransforms_.get(index); } /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -572,27 +373,23 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransfo
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ @java.lang.Override - public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder - getUpdateTransformsOrBuilder(int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTransformsOrBuilder( + int index) { return updateTransforms_.get(index); } public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 4; private com.google.firestore.v1.Precondition currentDocument_; /** - * - * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return Whether the currentDocument field is set. */ @java.lang.Override @@ -600,26 +397,19 @@ public boolean hasCurrentDocument() { return currentDocument_ != null; } /** - * - * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return The currentDocument. */ @java.lang.Override public com.google.firestore.v1.Precondition getCurrentDocument() { - return currentDocument_ == null - ? com.google.firestore.v1.Precondition.getDefaultInstance() - : currentDocument_; + return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; } /** - * - * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
@@ -633,7 +423,6 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -645,7 +434,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (operationCase_ == 1) {
       output.writeMessage(1, (com.google.firestore.v1.Document) operation_);
     }
@@ -664,7 +454,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     for (int i = 0; i < updateTransforms_.size(); i++) {
       output.writeMessage(7, updateTransforms_.get(i));
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -674,28 +464,29 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -703,7 +494,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);
@@ -712,28 +503,34 @@ 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:
     }
-    if (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -772,151 +569,144 @@ public int hashCode() {
       case 0:
       default:
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getUpdateTransformsFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); + if (updateBuilder_ != null) { + updateBuilder_.clear(); + } + if (transformBuilder_ != null) { + transformBuilder_.clear(); + } if (updateMaskBuilder_ == null) { updateMask_ = null; } else { @@ -925,10 +715,11 @@ public Builder clear() { } if (updateTransformsBuilder_ == null) { updateTransforms_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + updateTransforms_ = null; updateTransformsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); if (currentDocumentBuilder_ == null) { currentDocument_ = null; } else { @@ -941,9 +732,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_Write_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_descriptor; } @java.lang.Override @@ -1009,39 +800,38 @@ public com.google.firestore.v1.Write 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.v1.Write) { - return mergeFrom((com.google.firestore.v1.Write) other); + return mergeFrom((com.google.firestore.v1.Write)other); } else { super.mergeFrom(other); return this; @@ -1071,10 +861,9 @@ public Builder mergeFrom(com.google.firestore.v1.Write other) { updateTransformsBuilder_ = null; updateTransforms_ = other.updateTransforms_; bitField0_ = (bitField0_ & ~0x00000001); - updateTransformsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUpdateTransformsFieldBuilder() - : null; + updateTransformsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUpdateTransformsFieldBuilder() : null; } else { updateTransformsBuilder_.addAllMessages(other.updateTransforms_); } @@ -1084,29 +873,25 @@ 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.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -1121,25 +906,85 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.Write parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + 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); + + break; + } // case 26 + case 34: { + input.readMessage( + getCurrentDocumentFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = (com.google.firestore.v1.Write) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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() { @@ -1152,19 +997,13 @@ public Builder clearOperation() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> - updateBuilder_; + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> updateBuilder_; /** - * - * *
      * A document to write.
      * 
* * .google.firestore.v1.Document update = 1; - * * @return Whether the update field is set. */ @java.lang.Override @@ -1172,14 +1011,11 @@ public boolean hasUpdate() { return operationCase_ == 1; } /** - * - * *
      * A document to write.
      * 
* * .google.firestore.v1.Document update = 1; - * * @return The update. */ @java.lang.Override @@ -1197,8 +1033,6 @@ public com.google.firestore.v1.Document getUpdate() { } } /** - * - * *
      * A document to write.
      * 
@@ -1219,15 +1053,14 @@ public Builder setUpdate(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * A document to write.
      * 
* * .google.firestore.v1.Document update = 1; */ - public Builder setUpdate(com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setUpdate( + com.google.firestore.v1.Document.Builder builderForValue) { if (updateBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); @@ -1238,8 +1071,6 @@ public Builder setUpdate(com.google.firestore.v1.Document.Builder builderForValu return this; } /** - * - * *
      * A document to write.
      * 
@@ -1248,13 +1079,10 @@ public Builder setUpdate(com.google.firestore.v1.Document.Builder builderForValu */ public Builder mergeUpdate(com.google.firestore.v1.Document value) { if (updateBuilder_ == null) { - if (operationCase_ == 1 - && operation_ != com.google.firestore.v1.Document.getDefaultInstance()) { - operation_ = - com.google.firestore.v1.Document.newBuilder( - (com.google.firestore.v1.Document) operation_) - .mergeFrom(value) - .buildPartial(); + if (operationCase_ == 1 && + operation_ != com.google.firestore.v1.Document.getDefaultInstance()) { + operation_ = com.google.firestore.v1.Document.newBuilder((com.google.firestore.v1.Document) operation_) + .mergeFrom(value).buildPartial(); } else { operation_ = value; } @@ -1270,8 +1098,6 @@ public Builder mergeUpdate(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * A document to write.
      * 
@@ -1295,8 +1121,6 @@ public Builder clearUpdate() { return this; } /** - * - * *
      * A document to write.
      * 
@@ -1307,8 +1131,6 @@ public com.google.firestore.v1.Document.Builder getUpdateBuilder() { return getUpdateFieldBuilder().getBuilder(); } /** - * - * *
      * A document to write.
      * 
@@ -1327,8 +1149,6 @@ public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { } } /** - * - * *
      * A document to write.
      * 
@@ -1336,38 +1156,31 @@ 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; - onChanged(); - ; + onChanged();; return updateBuilder_; } /** - * - * *
      * 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 @@ -1375,15 +1188,12 @@ public boolean hasDelete() { return operationCase_ == 2; } /** - * - * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; - * * @return The delete. */ @java.lang.Override @@ -1393,7 +1203,8 @@ public java.lang.String getDelete() { ref = operation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (operationCase_ == 2) { operation_ = s; @@ -1404,26 +1215,25 @@ public java.lang.String getDelete() { } } /** - * - * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; - * * @return The bytes for delete. */ @java.lang.Override - public com.google.protobuf.ByteString getDeleteBytes() { + public com.google.protobuf.ByteString + getDeleteBytes() { java.lang.Object ref = ""; if (operationCase_ == 2) { ref = operation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (operationCase_ == 2) { operation_ = b; } @@ -1433,37 +1243,32 @@ public com.google.protobuf.ByteString getDeleteBytes() { } } /** - * - * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; - * * @param value The delete to set. * @return This builder for chaining. */ - public Builder setDelete(java.lang.String value) { + public Builder setDelete( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - operationCase_ = 2; + 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() { @@ -1475,23 +1280,21 @@ 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) { + public Builder setDeleteBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); operationCase_ = 2; operation_ = value; onChanged(); @@ -1499,19 +1302,13 @@ public Builder setDeleteBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentTransform, - com.google.firestore.v1.DocumentTransform.Builder, - com.google.firestore.v1.DocumentTransformOrBuilder> - transformBuilder_; + com.google.firestore.v1.DocumentTransform, com.google.firestore.v1.DocumentTransform.Builder, com.google.firestore.v1.DocumentTransformOrBuilder> transformBuilder_; /** - * - * *
      * Applies a transformation to a document.
      * 
* * .google.firestore.v1.DocumentTransform transform = 6; - * * @return Whether the transform field is set. */ @java.lang.Override @@ -1519,14 +1316,11 @@ public boolean hasTransform() { return operationCase_ == 6; } /** - * - * *
      * Applies a transformation to a document.
      * 
* * .google.firestore.v1.DocumentTransform transform = 6; - * * @return The transform. */ @java.lang.Override @@ -1544,8 +1338,6 @@ public com.google.firestore.v1.DocumentTransform getTransform() { } } /** - * - * *
      * Applies a transformation to a document.
      * 
@@ -1566,15 +1358,14 @@ public Builder setTransform(com.google.firestore.v1.DocumentTransform value) { return this; } /** - * - * *
      * Applies a transformation to a document.
      * 
* * .google.firestore.v1.DocumentTransform transform = 6; */ - public Builder setTransform(com.google.firestore.v1.DocumentTransform.Builder builderForValue) { + public Builder setTransform( + com.google.firestore.v1.DocumentTransform.Builder builderForValue) { if (transformBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); @@ -1585,8 +1376,6 @@ public Builder setTransform(com.google.firestore.v1.DocumentTransform.Builder bu return this; } /** - * - * *
      * Applies a transformation to a document.
      * 
@@ -1595,13 +1384,10 @@ public Builder setTransform(com.google.firestore.v1.DocumentTransform.Builder bu */ public Builder mergeTransform(com.google.firestore.v1.DocumentTransform value) { if (transformBuilder_ == null) { - if (operationCase_ == 6 - && operation_ != com.google.firestore.v1.DocumentTransform.getDefaultInstance()) { - operation_ = - com.google.firestore.v1.DocumentTransform.newBuilder( - (com.google.firestore.v1.DocumentTransform) operation_) - .mergeFrom(value) - .buildPartial(); + if (operationCase_ == 6 && + operation_ != com.google.firestore.v1.DocumentTransform.getDefaultInstance()) { + operation_ = com.google.firestore.v1.DocumentTransform.newBuilder((com.google.firestore.v1.DocumentTransform) operation_) + .mergeFrom(value).buildPartial(); } else { operation_ = value; } @@ -1617,8 +1403,6 @@ public Builder mergeTransform(com.google.firestore.v1.DocumentTransform value) { return this; } /** - * - * *
      * Applies a transformation to a document.
      * 
@@ -1642,8 +1426,6 @@ public Builder clearTransform() { return this; } /** - * - * *
      * Applies a transformation to a document.
      * 
@@ -1654,8 +1436,6 @@ public com.google.firestore.v1.DocumentTransform.Builder getTransformBuilder() { return getTransformFieldBuilder().getBuilder(); } /** - * - * *
      * Applies a transformation to a document.
      * 
@@ -1674,8 +1454,6 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder( } } /** - * - * *
      * Applies a transformation to a document.
      * 
@@ -1683,39 +1461,28 @@ 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()); operation_ = null; } operationCase_ = 6; - onChanged(); - ; + onChanged();; return transformBuilder_; } private com.google.firestore.v1.DocumentMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder> - updateMaskBuilder_; + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1729,15 +1496,12 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder(
      * 
* * .google.firestore.v1.DocumentMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1751,21 +1515,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.firestore.v1.DocumentMask update_mask = 3; - * * @return The updateMask. */ public com.google.firestore.v1.DocumentMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.firestore.v1.DocumentMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1794,8 +1553,6 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1810,7 +1567,8 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask update_mask = 3;
      */
-    public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -1821,8 +1579,6 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1841,9 +1597,7 @@ public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.firestore.v1.DocumentMask.newBuilder(updateMask_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.v1.DocumentMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -1855,8 +1609,6 @@ public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1883,8 +1635,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1900,13 +1650,11 @@ public Builder clearUpdateMask() {
      * .google.firestore.v1.DocumentMask update_mask = 3;
      */
     public com.google.firestore.v1.DocumentMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1925,14 +1673,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.firestore.v1.DocumentMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1948,43 +1693,32 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask update_mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.DocumentMask,
-                com.google.firestore.v1.DocumentMask.Builder,
-                com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
 
-    private java.util.List
-        updateTransforms_ = java.util.Collections.emptyList();
-
+    private java.util.List updateTransforms_ =
+      java.util.Collections.emptyList();
     private void ensureUpdateTransformsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        updateTransforms_ =
-            new java.util.ArrayList(
-                updateTransforms_);
+        updateTransforms_ = new java.util.ArrayList(updateTransforms_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.DocumentTransform.FieldTransform,
-            com.google.firestore.v1.DocumentTransform.FieldTransform.Builder,
-            com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>
-        updateTransformsBuilder_;
+        com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> updateTransformsBuilder_;
 
     /**
-     *
-     *
      * 
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1992,11 +1726,9 @@ private void ensureUpdateTransformsIsMutable() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public java.util.List - getUpdateTransformsList() { + public java.util.List getUpdateTransformsList() { if (updateTransformsBuilder_ == null) { return java.util.Collections.unmodifiableList(updateTransforms_); } else { @@ -2004,8 +1736,6 @@ private void ensureUpdateTransformsIsMutable() { } } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2013,8 +1743,7 @@ private void ensureUpdateTransformsIsMutable() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public int getUpdateTransformsCount() { if (updateTransformsBuilder_ == null) { @@ -2024,8 +1753,6 @@ public int getUpdateTransformsCount() { } } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2033,8 +1760,7 @@ public int getUpdateTransformsCount() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransforms(int index) { if (updateTransformsBuilder_ == null) { @@ -2044,8 +1770,6 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransfo } } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2053,8 +1777,7 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransfo
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder setUpdateTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -2071,8 +1794,6 @@ public Builder setUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2080,12 +1801,10 @@ public Builder setUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder setUpdateTransforms( - int index, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (updateTransformsBuilder_ == null) { ensureUpdateTransformsIsMutable(); updateTransforms_.set(index, builderForValue.build()); @@ -2096,8 +1815,6 @@ public Builder setUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2105,11 +1822,9 @@ public Builder setUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public Builder addUpdateTransforms( - com.google.firestore.v1.DocumentTransform.FieldTransform value) { + public Builder addUpdateTransforms(com.google.firestore.v1.DocumentTransform.FieldTransform value) { if (updateTransformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2123,8 +1838,6 @@ public Builder addUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2132,8 +1845,7 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder addUpdateTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -2150,8 +1862,6 @@ public Builder addUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2159,8 +1869,7 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder addUpdateTransforms( com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { @@ -2174,8 +1883,6 @@ public Builder addUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2183,12 +1890,10 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder addUpdateTransforms( - int index, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (updateTransformsBuilder_ == null) { ensureUpdateTransformsIsMutable(); updateTransforms_.add(index, builderForValue.build()); @@ -2199,8 +1904,6 @@ public Builder addUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2208,15 +1911,14 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder addAllUpdateTransforms( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (updateTransformsBuilder_ == null) { ensureUpdateTransformsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, updateTransforms_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, updateTransforms_); onChanged(); } else { updateTransformsBuilder_.addAllMessages(values); @@ -2224,8 +1926,6 @@ public Builder addAllUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2233,8 +1933,7 @@ public Builder addAllUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder clearUpdateTransforms() { if (updateTransformsBuilder_ == null) { @@ -2247,8 +1946,6 @@ public Builder clearUpdateTransforms() { return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2256,8 +1953,7 @@ public Builder clearUpdateTransforms() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder removeUpdateTransforms(int index) { if (updateTransformsBuilder_ == null) { @@ -2270,8 +1966,6 @@ public Builder removeUpdateTransforms(int index) { return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2279,16 +1973,13 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder - getUpdateTransformsBuilder(int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder getUpdateTransformsBuilder( + int index) { return getUpdateTransformsFieldBuilder().getBuilder(index); } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2296,20 +1987,16 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder - getUpdateTransformsOrBuilder(int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTransformsOrBuilder( + int index) { if (updateTransformsBuilder_ == null) { - return updateTransforms_.get(index); - } else { + return updateTransforms_.get(index); } else { return updateTransformsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2317,12 +2004,10 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public java.util.List< - ? extends com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> - getUpdateTransformsOrBuilderList() { + public java.util.List + getUpdateTransformsOrBuilderList() { if (updateTransformsBuilder_ != null) { return updateTransformsBuilder_.getMessageOrBuilderList(); } else { @@ -2330,8 +2015,6 @@ public Builder removeUpdateTransforms(int index) { } } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2339,18 +2022,13 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder - addUpdateTransformsBuilder() { - return getUpdateTransformsFieldBuilder() - .addBuilder( - com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdateTransformsBuilder() { + return getUpdateTransformsFieldBuilder().addBuilder( + com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2358,18 +2036,14 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder - addUpdateTransformsBuilder(int index) { - return getUpdateTransformsFieldBuilder() - .addBuilder( - index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdateTransformsBuilder( + int index) { + return getUpdateTransformsFieldBuilder().addBuilder( + index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2377,25 +2051,18 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public java.util.List - getUpdateTransformsBuilderList() { + public java.util.List + getUpdateTransformsBuilderList() { return getUpdateTransformsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, - com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> + com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> getUpdateTransformsFieldBuilder() { if (updateTransformsBuilder_ == null) { - updateTransformsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, - com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>( + updateTransformsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>( updateTransforms_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2407,49 +2074,36 @@ public Builder removeUpdateTransforms(int index) { private com.google.firestore.v1.Precondition currentDocument_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Precondition, - com.google.firestore.v1.Precondition.Builder, - com.google.firestore.v1.PreconditionOrBuilder> - currentDocumentBuilder_; + com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> currentDocumentBuilder_; /** - * - * *
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return Whether the currentDocument field is set. */ public boolean hasCurrentDocument() { return currentDocumentBuilder_ != null || currentDocument_ != null; } /** - * - * *
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return The currentDocument. */ public com.google.firestore.v1.Precondition getCurrentDocument() { if (currentDocumentBuilder_ == null) { - return currentDocument_ == null - ? com.google.firestore.v1.Precondition.getDefaultInstance() - : currentDocument_; + return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; } else { return currentDocumentBuilder_.getMessage(); } } /** - * - * *
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2471,8 +2125,6 @@ public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2492,8 +2144,6 @@ public Builder setCurrentDocument(
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2505,9 +2155,7 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       if (currentDocumentBuilder_ == null) {
         if (currentDocument_ != null) {
           currentDocument_ =
-              com.google.firestore.v1.Precondition.newBuilder(currentDocument_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.firestore.v1.Precondition.newBuilder(currentDocument_).mergeFrom(value).buildPartial();
         } else {
           currentDocument_ = value;
         }
@@ -2519,8 +2167,6 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2540,8 +2186,6 @@ public Builder clearCurrentDocument() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2550,13 +2194,11 @@ public Builder clearCurrentDocument() {
      * .google.firestore.v1.Precondition current_document = 4;
      */
     public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder() {
-
+      
       onChanged();
       return getCurrentDocumentFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2568,14 +2210,11 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
       if (currentDocumentBuilder_ != null) {
         return currentDocumentBuilder_.getMessageOrBuilder();
       } else {
-        return currentDocument_ == null
-            ? com.google.firestore.v1.Precondition.getDefaultInstance()
-            : currentDocument_;
+        return currentDocument_ == null ?
+            com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
       }
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2584,24 +2223,21 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
      * .google.firestore.v1.Precondition current_document = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Precondition,
-            com.google.firestore.v1.Precondition.Builder,
-            com.google.firestore.v1.PreconditionOrBuilder>
+        com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> 
         getCurrentDocumentFieldBuilder() {
       if (currentDocumentBuilder_ == null) {
-        currentDocumentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.Precondition,
-                com.google.firestore.v1.Precondition.Builder,
-                com.google.firestore.v1.PreconditionOrBuilder>(
-                getCurrentDocument(), getParentForChildren(), isClean());
+        currentDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder>(
+                getCurrentDocument(),
+                getParentForChildren(),
+                isClean());
         currentDocument_ = null;
       }
       return currentDocumentBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2611,12 +2247,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.Write)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.Write)
   private static final com.google.firestore.v1.Write DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.Write();
   }
@@ -2625,16 +2261,27 @@ public static com.google.firestore.v1.Write getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Write parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Write(input, extensionRegistry);
-        }
-      };
+  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;
@@ -2649,4 +2296,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.Write getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
similarity index 86%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
index 98e1b069c4..3d10085e92 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface WriteOrBuilder
-    extends
+public interface WriteOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.Write)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; - * * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; - * * @return The update. */ com.google.firestore.v1.Document getUpdate(); /** - * - * *
    * A document to write.
    * 
@@ -59,72 +35,56 @@ public interface WriteOrBuilder com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder(); /** - * - * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; - * * @return Whether the delete field is set. */ boolean hasDelete(); /** - * - * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; - * * @return The delete. */ java.lang.String getDelete(); /** - * - * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; - * * @return The bytes for delete. */ - com.google.protobuf.ByteString getDeleteBytes(); + com.google.protobuf.ByteString + getDeleteBytes(); /** - * - * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; - * * @return Whether the transform field is set. */ boolean hasTransform(); /** - * - * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; - * * @return The transform. */ com.google.firestore.v1.DocumentTransform getTransform(); /** - * - * *
    * Applies a transformation to a document.
    * 
@@ -134,8 +94,6 @@ public interface WriteOrBuilder com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder(); /** - * - * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -149,13 +107,10 @@ public interface WriteOrBuilder
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -169,13 +124,10 @@ public interface WriteOrBuilder
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; - * * @return The updateMask. */ com.google.firestore.v1.DocumentMask getUpdateMask(); /** - * - * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -193,8 +145,6 @@ public interface WriteOrBuilder
   com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -202,14 +152,11 @@ public interface WriteOrBuilder
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - java.util.List + java.util.List getUpdateTransformsList(); /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -217,13 +164,10 @@ public interface WriteOrBuilder
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransforms(int index); /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -231,13 +175,10 @@ public interface WriteOrBuilder
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ int getUpdateTransformsCount(); /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -245,14 +186,11 @@ public interface WriteOrBuilder
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - java.util.List + java.util.List getUpdateTransformsOrBuilderList(); /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -260,41 +198,32 @@ public interface WriteOrBuilder
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTransformsOrBuilder( int index); /** - * - * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return Whether the currentDocument field is set. */ boolean hasCurrentDocument(); /** - * - * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return The currentDocument. */ com.google.firestore.v1.Precondition getCurrentDocument(); /** - * - * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java
new file mode 100644
index 0000000000..283bcd7c03
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java
@@ -0,0 +1,174 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/write.proto
+
+package com.google.firestore.v1;
+
+public final class WriteProto {
+  private WriteProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_Write_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Write_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_DocumentTransform_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_WriteResult_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_WriteResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_DocumentChange_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_DocumentDelete_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_DocumentRemove_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_ExistenceFilter_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\037google/firestore/v1/write.proto\022\023googl" +
+      "e.firestore.v1\032 google/firestore/v1/comm" +
+      "on.proto\032\"google/firestore/v1/document.p" +
+      "roto\032\037google/protobuf/timestamp.proto\"\333\002" +
+      "\n\005Write\022/\n\006update\030\001 \001(\0132\035.google.firesto" +
+      "re.v1.DocumentH\000\022\020\n\006delete\030\002 \001(\tH\000\022;\n\ttr" +
+      "ansform\030\006 \001(\0132&.google.firestore.v1.Docu" +
+      "mentTransformH\000\0226\n\013update_mask\030\003 \001(\0132!.g" +
+      "oogle.firestore.v1.DocumentMask\022P\n\021updat" +
+      "e_transforms\030\007 \003(\01325.google.firestore.v1" +
+      ".DocumentTransform.FieldTransform\022;\n\020cur" +
+      "rent_document\030\004 \001(\0132!.google.firestore.v" +
+      "1.PreconditionB\013\n\toperation\"\345\004\n\021Document" +
+      "Transform\022\020\n\010document\030\001 \001(\t\022O\n\020field_tra" +
+      "nsforms\030\002 \003(\01325.google.firestore.v1.Docu" +
+      "mentTransform.FieldTransform\032\354\003\n\016FieldTr" +
+      "ansform\022\022\n\nfield_path\030\001 \001(\t\022`\n\023set_to_se" +
+      "rver_value\030\002 \001(\0162A.google.firestore.v1.D" +
+      "ocumentTransform.FieldTransform.ServerVa" +
+      "lueH\000\022/\n\tincrement\030\003 \001(\0132\032.google.firest" +
+      "ore.v1.ValueH\000\022-\n\007maximum\030\004 \001(\0132\032.google" +
+      ".firestore.v1.ValueH\000\022-\n\007minimum\030\005 \001(\0132\032" +
+      ".google.firestore.v1.ValueH\000\022B\n\027append_m" +
+      "issing_elements\030\006 \001(\0132\037.google.firestore" +
+      ".v1.ArrayValueH\000\022@\n\025remove_all_from_arra" +
+      "y\030\007 \001(\0132\037.google.firestore.v1.ArrayValue" +
+      "H\000\"=\n\013ServerValue\022\034\n\030SERVER_VALUE_UNSPEC" +
+      "IFIED\020\000\022\020\n\014REQUEST_TIME\020\001B\020\n\016transform_t" +
+      "ype\"u\n\013WriteResult\022/\n\013update_time\030\001 \001(\0132" +
+      "\032.google.protobuf.Timestamp\0225\n\021transform" +
+      "_results\030\002 \003(\0132\032.google.firestore.v1.Val" +
+      "ue\"q\n\016DocumentChange\022/\n\010document\030\001 \001(\0132\035" +
+      ".google.firestore.v1.Document\022\022\n\ntarget_" +
+      "ids\030\005 \003(\005\022\032\n\022removed_target_ids\030\006 \003(\005\"m\n" +
+      "\016DocumentDelete\022\020\n\010document\030\001 \001(\t\022\032\n\022rem" +
+      "oved_target_ids\030\006 \003(\005\022-\n\tread_time\030\004 \001(\013" +
+      "2\032.google.protobuf.Timestamp\"m\n\016Document" +
+      "Remove\022\020\n\010document\030\001 \001(\t\022\032\n\022removed_targ" +
+      "et_ids\030\002 \003(\005\022-\n\tread_time\030\004 \001(\0132\032.google" +
+      ".protobuf.Timestamp\"3\n\017ExistenceFilter\022\021" +
+      "\n\ttarget_id\030\001 \001(\005\022\r\n\005count\030\002 \001(\005B\303\001\n\027com" +
+      ".google.firestore.v1B\nWriteProtoP\001Z
  * The request for [Firestore.Write][google.firestore.v1.Firestore.Write].
  * The first request creates a stream, or resumes an existing one from a token.
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.firestore.v1.WriteRequest}
  */
-public final class WriteRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class WriteRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteRequest)
     WriteRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use WriteRequest.newBuilder() to construct.
   private WriteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private WriteRequest() {
     database_ = "";
     streamId_ = "";
@@ -52,131 +34,44 @@ private WriteRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new WriteRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  private WriteRequest(
-      com.google.protobuf.CodedInputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws com.google.protobuf.InvalidProtocolBufferException {
-    this();
-    if (extensionRegistry == null) {
-      throw new java.lang.NullPointerException();
-    }
-    int mutable_bitField0_ = 0;
-    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
-        com.google.protobuf.UnknownFieldSet.newBuilder();
-    try {
-      boolean done = false;
-      while (!done) {
-        int tag = input.readTag();
-        switch (tag) {
-          case 0:
-            done = true;
-            break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              database_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              streamId_ = s;
-              break;
-            }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                writes_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              writes_.add(
-                  input.readMessage(com.google.firestore.v1.Write.parser(), extensionRegistry));
-              break;
-            }
-          case 34:
-            {
-              streamToken_ = input.readBytes();
-              break;
-            }
-          case 42:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
-        }
-      }
-    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-      throw e.setUnfinishedMessage(this);
-    } catch (com.google.protobuf.UninitializedMessageException e) {
-      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
-    } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
-    } finally {
-      if (((mutable_bitField0_ & 0x00000001) != 0)) {
-        writes_ = java.util.Collections.unmodifiableList(writes_);
-      }
-      this.unknownFields = unknownFields.build();
-      makeExtensionsImmutable();
-    }
-  }
-
-  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;
   private volatile java.lang.Object database_;
   /**
-   *
-   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -184,7 +79,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ @java.lang.Override @@ -193,15 +87,14 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -209,15 +102,16 @@ public java.lang.String getDatabase() {
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -228,8 +122,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int STREAM_ID_FIELD_NUMBER = 2; 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
@@ -237,7 +129,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
    * 
* * string stream_id = 2; - * * @return The streamId. */ @java.lang.Override @@ -246,15 +137,14 @@ public java.lang.String getStreamId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } } /** - * - * *
    * The ID of the write stream to resume.
    * This may only be set in the first message. When left empty, a new write
@@ -262,15 +152,16 @@ public java.lang.String getStreamId() {
    * 
* * string stream_id = 2; - * * @return The bytes for streamId. */ @java.lang.Override - public com.google.protobuf.ByteString getStreamIdBytes() { + public com.google.protobuf.ByteString + getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); streamId_ = b; return b; } else { @@ -281,8 +172,6 @@ public com.google.protobuf.ByteString getStreamIdBytes() { public static final int WRITES_FIELD_NUMBER = 3; private java.util.List writes_; /** - * - * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -298,8 +187,6 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -311,12 +198,11 @@ public java.util.List getWritesList() {
    * repeated .google.firestore.v1.Write writes = 3;
    */
   @java.lang.Override
-  public java.util.List getWritesOrBuilderList() {
+  public java.util.List 
+      getWritesOrBuilderList() {
     return writes_;
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -332,8 +218,6 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -349,8 +233,6 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -362,15 +244,14 @@ public com.google.firestore.v1.Write getWrites(int index) {
    * repeated .google.firestore.v1.Write writes = 3;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
+  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+      int index) {
     return writes_.get(index);
   }
 
   public static final int STREAM_TOKEN_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString streamToken_;
   /**
-   *
-   *
    * 
    * A stream token that was previously sent by the server.
    * The client should set this field to the token from the most recent
@@ -385,7 +266,6 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
    * 
* * bytes stream_token = 4; - * * @return The streamToken. */ @java.lang.Override @@ -394,23 +274,24 @@ public com.google.protobuf.ByteString getStreamToken() { } public static final int LABELS_FIELD_NUMBER = 5; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -419,30 +300,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels associated with this write request.
    * 
* * 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.
    * 
@@ -450,12 +329,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 5; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels associated with this write request.
    * 
@@ -463,16 +341,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + 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.
    * 
@@ -480,11 +358,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * 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(); } @@ -492,7 +371,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -504,7 +382,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -517,9 +396,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!streamToken_.isEmpty()) { output.writeBytes(4, streamToken_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); - unknownFields.writeTo(output); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 5); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -535,22 +418,24 @@ 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 += unknownFields.getSerializedSize(); + 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; return size; } @@ -558,19 +443,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.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 (!unknownFields.equals(other.unknownFields)) 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; } @@ -595,108 +485,102 @@ public int hashCode() { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.firestore.v1.WriteRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.WriteRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.WriteRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.WriteRequest parseFrom(com.google.protobuf.ByteString data) + public static com.google.firestore.v1.WriteRequest parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.WriteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.WriteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.WriteRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.WriteRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.WriteRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.WriteRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.WriteRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.WriteRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.WriteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.WriteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [Firestore.Write][google.firestore.v1.Firestore.Write].
    * The first request creates a stream, or resumes an existing one from a token.
@@ -709,61 +593,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.WriteRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.WriteRequest)
       com.google.firestore.v1.WriteRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_WriteRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 5:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 5:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.WriteRequest.class,
-              com.google.firestore.v1.WriteRequest.Builder.class);
+              com.google.firestore.v1.WriteRequest.class, com.google.firestore.v1.WriteRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.WriteRequest.newBuilder()
     private Builder() {
-      maybeForceBuilderInitialization();
+
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-      maybeForceBuilderInitialization();
-    }
 
-    private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
-        getWritesFieldBuilder();
-      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -773,10 +651,11 @@ public Builder clear() {
 
       if (writesBuilder_ == null) {
         writes_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000001);
       } else {
+        writes_ = null;
         writesBuilder_.clear();
       }
+      bitField0_ = (bitField0_ & ~0x00000001);
       streamToken_ = com.google.protobuf.ByteString.EMPTY;
 
       internalGetMutableLabels().clear();
@@ -784,9 +663,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
@@ -829,39 +708,38 @@ public com.google.firestore.v1.WriteRequest 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.v1.WriteRequest) {
-        return mergeFrom((com.google.firestore.v1.WriteRequest) other);
+        return mergeFrom((com.google.firestore.v1.WriteRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -896,10 +774,9 @@ public Builder mergeFrom(com.google.firestore.v1.WriteRequest other) {
             writesBuilder_ = null;
             writes_ = other.writes_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            writesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getWritesFieldBuilder()
-                    : null;
+            writesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getWritesFieldBuilder() : null;
           } else {
             writesBuilder_.addAllMessages(other.writes_);
           }
@@ -908,8 +785,9 @@ public Builder mergeFrom(com.google.firestore.v1.WriteRequest other) {
       if (other.getStreamToken() != com.google.protobuf.ByteString.EMPTY) {
         setStreamToken(other.getStreamToken());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
-      this.mergeUnknownFields(other.unknownFields);
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
+      this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
     }
@@ -924,26 +802,72 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.firestore.v1.WriteRequest parsedMessage = null;
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       try {
-        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              database_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              streamId_ = input.readStringRequireUtf8();
+
+              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();
+
+              break;
+            } // case 34
+            case 42: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              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) {
-        parsedMessage = (com.google.firestore.v1.WriteRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
-        if (parsedMessage != null) {
-          mergeFrom(parsedMessage);
-        }
-      }
+        onChanged();
+      } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -951,13 +875,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; @@ -966,8 +890,6 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -975,14 +897,15 @@ public java.lang.String getDatabase() {
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -990,8 +913,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -999,22 +920,20 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -1022,18 +941,15 @@ public Builder setDatabase(java.lang.String value) {
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -1041,16 +957,16 @@ 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) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -1058,8 +974,6 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private java.lang.Object streamId_ = ""; /** - * - * *
      * The ID of the write stream to resume.
      * This may only be set in the first message. When left empty, a new write
@@ -1067,13 +981,13 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) {
      * 
* * string stream_id = 2; - * * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; @@ -1082,8 +996,6 @@ public java.lang.String getStreamId() { } } /** - * - * *
      * The ID of the write stream to resume.
      * This may only be set in the first message. When left empty, a new write
@@ -1091,14 +1003,15 @@ public java.lang.String getStreamId() {
      * 
* * string stream_id = 2; - * * @return The bytes for streamId. */ - public com.google.protobuf.ByteString getStreamIdBytes() { + public com.google.protobuf.ByteString + getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); streamId_ = b; return b; } else { @@ -1106,8 +1019,6 @@ public com.google.protobuf.ByteString getStreamIdBytes() { } } /** - * - * *
      * The ID of the write stream to resume.
      * This may only be set in the first message. When left empty, a new write
@@ -1115,22 +1026,20 @@ public com.google.protobuf.ByteString getStreamIdBytes() {
      * 
* * string stream_id = 2; - * * @param value The streamId to set. * @return This builder for chaining. */ - public Builder setStreamId(java.lang.String value) { + public Builder setStreamId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + streamId_ = value; 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
@@ -1138,18 +1047,15 @@ public Builder setStreamId(java.lang.String value) {
      * 
* * string stream_id = 2; - * * @return This builder for chaining. */ public Builder clearStreamId() { - + streamId_ = getDefaultInstance().getStreamId(); 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
@@ -1157,40 +1063,34 @@ 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) { + public Builder setStreamIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + streamId_ = value; onChanged(); return this; } private java.util.List writes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWritesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writes_ = new java.util.ArrayList(writes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Write, - com.google.firestore.v1.Write.Builder, - com.google.firestore.v1.WriteOrBuilder> - writesBuilder_; + com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> writesBuilder_; /** - * - * *
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1209,8 +1109,6 @@ public java.util.List getWritesList() {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1229,8 +1127,6 @@ public int getWritesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1249,8 +1145,6 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1261,7 +1155,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder setWrites(int index, com.google.firestore.v1.Write value) {
+    public Builder setWrites(
+        int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1275,8 +1170,6 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1287,7 +1180,8 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder setWrites(
+        int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.set(index, builderForValue.build());
@@ -1298,8 +1192,6 @@ public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1324,8 +1216,6 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1336,7 +1226,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder addWrites(int index, com.google.firestore.v1.Write value) {
+    public Builder addWrites(
+        int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1350,8 +1241,6 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1362,7 +1251,8 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(
+        com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(builderForValue.build());
@@ -1373,8 +1263,6 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1385,7 +1273,8 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(
+        int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(index, builderForValue.build());
@@ -1396,8 +1285,6 @@ public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1412,7 +1299,8 @@ public Builder addAllWrites(
         java.lang.Iterable values) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, writes_);
         onChanged();
       } else {
         writesBuilder_.addAllMessages(values);
@@ -1420,8 +1308,6 @@ public Builder addAllWrites(
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1443,8 +1329,6 @@ public Builder clearWrites() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1466,8 +1350,6 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1478,12 +1360,11 @@ public Builder removeWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
+    public com.google.firestore.v1.Write.Builder getWritesBuilder(
+        int index) {
       return getWritesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1494,16 +1375,14 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
+    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+        int index) {
       if (writesBuilder_ == null) {
-        return writes_.get(index);
-      } else {
+        return writes_.get(index);  } else {
         return writesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1514,8 +1393,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public java.util.List
-        getWritesOrBuilderList() {
+    public java.util.List 
+         getWritesOrBuilderList() {
       if (writesBuilder_ != null) {
         return writesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1523,8 +1402,6 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1536,11 +1413,10 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
      * repeated .google.firestore.v1.Write writes = 3;
      */
     public com.google.firestore.v1.Write.Builder addWritesBuilder() {
-      return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance());
+      return getWritesFieldBuilder().addBuilder(
+          com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1551,13 +1427,12 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
-      return getWritesFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance());
+    public com.google.firestore.v1.Write.Builder addWritesBuilder(
+        int index) {
+      return getWritesFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1568,22 +1443,20 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public java.util.List getWritesBuilderList() {
+    public java.util.List 
+         getWritesBuilderList() {
       return getWritesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Write,
-            com.google.firestore.v1.Write.Builder,
-            com.google.firestore.v1.WriteOrBuilder>
+        com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> 
         getWritesFieldBuilder() {
       if (writesBuilder_ == null) {
-        writesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.Write,
-                com.google.firestore.v1.Write.Builder,
-                com.google.firestore.v1.WriteOrBuilder>(
-                writes_, ((bitField0_ & 0x00000001) != 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_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         writes_ = null;
       }
       return writesBuilder_;
@@ -1591,8 +1464,6 @@ public java.util.List getWritesBuilderLis
 
     private com.google.protobuf.ByteString streamToken_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * A stream token that was previously sent by the server.
      * The client should set this field to the token from the most recent
@@ -1607,7 +1478,6 @@ public java.util.List getWritesBuilderLis
      * 
* * bytes stream_token = 4; - * * @return The streamToken. */ @java.lang.Override @@ -1615,8 +1485,6 @@ public com.google.protobuf.ByteString getStreamToken() { return streamToken_; } /** - * - * *
      * A stream token that was previously sent by the server.
      * The client should set this field to the token from the most recent
@@ -1631,22 +1499,19 @@ 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(); - } - + throw new NullPointerException(); + } + streamToken_ = value; onChanged(); return this; } /** - * - * *
      * A stream token that was previously sent by the server.
      * The client should set this field to the token from the most recent
@@ -1661,31 +1526,31 @@ public Builder setStreamToken(com.google.protobuf.ByteString value) {
      * 
* * bytes stream_token = 4; - * * @return This builder for chaining. */ public Builder clearStreamToken() { - + streamToken_ = getDefaultInstance().getStreamToken(); onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -1697,30 +1562,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels associated with this write request.
      * 
* * 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.
      * 
@@ -1728,12 +1591,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 5; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels associated with this write request.
      * 
@@ -1741,17 +1603,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + 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.
      * 
@@ -1759,11 +1620,12 @@ public 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(); } @@ -1771,66 +1633,69 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - 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() { 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); 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); 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); } @@ -1840,12 +1705,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(); } @@ -1854,16 +1719,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 { - return new WriteRequest(input, extensionRegistry); - } - }; + 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; @@ -1878,4 +1754,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.WriteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java similarity index 76% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java index 11c6c1e650..076745c182 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface WriteRequestOrBuilder - extends +public interface WriteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -33,13 +15,10 @@ public interface WriteRequestOrBuilder
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -47,14 +26,12 @@ public interface WriteRequestOrBuilder
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The ID of the write stream to resume.
    * This may only be set in the first message. When left empty, a new write
@@ -62,13 +39,10 @@ public interface WriteRequestOrBuilder
    * 
* * string stream_id = 2; - * * @return The streamId. */ java.lang.String getStreamId(); /** - * - * *
    * The ID of the write stream to resume.
    * This may only be set in the first message. When left empty, a new write
@@ -76,14 +50,12 @@ public interface WriteRequestOrBuilder
    * 
* * string stream_id = 2; - * * @return The bytes for streamId. */ - com.google.protobuf.ByteString getStreamIdBytes(); + com.google.protobuf.ByteString + getStreamIdBytes(); /** - * - * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -94,10 +66,9 @@ public interface WriteRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  java.util.List getWritesList();
+  java.util.List 
+      getWritesList();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -110,8 +81,6 @@ public interface WriteRequestOrBuilder
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -124,8 +93,6 @@ public interface WriteRequestOrBuilder
    */
   int getWritesCount();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -136,10 +103,9 @@ public interface WriteRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  java.util.List getWritesOrBuilderList();
+  java.util.List 
+      getWritesOrBuilderList();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -150,11 +116,10 @@ public interface WriteRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index);
+  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A stream token that was previously sent by the server.
    * The client should set this field to the token from the most recent
@@ -169,14 +134,11 @@ public interface WriteRequestOrBuilder
    * 
* * bytes stream_token = 4; - * * @return The streamToken. */ com.google.protobuf.ByteString getStreamToken(); /** - * - * *
    * Labels associated with this write request.
    * 
@@ -185,31 +147,30 @@ public interface WriteRequestOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels associated with this write request.
    * 
* * map<string, string> labels = 5; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels associated with this write request.
    * 
* * map<string, string> labels = 5; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels associated with this write request.
    * 
@@ -218,18 +179,18 @@ public interface WriteRequestOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels associated with this write request.
    * 
* * map<string, string> labels = 5; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java similarity index 73% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java index f55afe88cc..2b30d5bb11 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The response for [Firestore.Write][google.firestore.v1.Firestore.Write].
  * 
* * Protobuf type {@code google.firestore.v1.WriteResponse} */ -public final class WriteResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WriteResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteResponse) WriteResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WriteResponse.newBuilder() to construct. private WriteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WriteResponse() { streamId_ = ""; streamToken_ = com.google.protobuf.ByteString.EMPTY; @@ -45,123 +27,38 @@ private WriteResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WriteResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private WriteResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - streamId_ = s; - break; - } - case 18: - { - streamToken_ = input.readBytes(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - writeResults_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - writeResults_.add( - input.readMessage( - com.google.firestore.v1.WriteResult.parser(), extensionRegistry)); - break; - } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (commitTime_ != null) { - subBuilder = commitTime_.toBuilder(); - } - commitTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(commitTime_); - commitTime_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - writeResults_ = java.util.Collections.unmodifiableList(writeResults_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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; 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 @@ -170,30 +67,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 { @@ -204,8 +101,6 @@ public com.google.protobuf.ByteString getStreamIdBytes() { public static final int STREAM_TOKEN_FIELD_NUMBER = 2; private com.google.protobuf.ByteString 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.
@@ -213,7 +108,6 @@ public com.google.protobuf.ByteString getStreamIdBytes() {
    * 
* * bytes stream_token = 2; - * * @return The streamToken. */ @java.lang.Override @@ -224,8 +118,6 @@ public com.google.protobuf.ByteString getStreamToken() { public static final int WRITE_RESULTS_FIELD_NUMBER = 3; private java.util.List writeResults_; /** - * - * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -239,8 +131,6 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -250,13 +140,11 @@ public java.util.List getWriteResultsList()
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getWriteResultsOrBuilderList() {
     return writeResults_;
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -270,8 +158,6 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -285,8 +171,6 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -296,22 +180,20 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
+  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+      int index) {
     return writeResults_.get(index);
   }
 
   public static final int COMMIT_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp commitTime_;
   /**
-   *
-   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; - * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -319,15 +201,12 @@ public boolean hasCommitTime() { return commitTime_ != null; } /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; - * * @return The commitTime. */ @java.lang.Override @@ -335,8 +214,6 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
@@ -350,7 +227,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -362,7 +238,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, streamId_);
     }
@@ -375,7 +252,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (commitTime_ != null) {
       output.writeMessage(4, getCommitTime());
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -388,15 +265,18 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -404,21 +284,25 @@ public int getSerializedSize() {
   @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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -441,149 +325,135 @@ public int hashCode() {
       hash = (37 * hash) + COMMIT_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getCommitTime().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getWriteResultsFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); @@ -593,10 +463,11 @@ public Builder clear() { if (writeResultsBuilder_ == null) { writeResults_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + writeResults_ = null; writeResultsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); if (commitTimeBuilder_ == null) { commitTime_ = null; } else { @@ -607,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_WriteResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_descriptor; } @java.lang.Override @@ -628,8 +499,7 @@ 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); int from_bitField0_ = bitField0_; result.streamId_ = streamId_; result.streamToken_ = streamToken_; @@ -655,39 +525,38 @@ public com.google.firestore.v1.WriteResponse 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.v1.WriteResponse) { - return mergeFrom((com.google.firestore.v1.WriteResponse) other); + return mergeFrom((com.google.firestore.v1.WriteResponse)other); } else { super.mergeFrom(other); return this; @@ -721,10 +590,9 @@ public Builder mergeFrom(com.google.firestore.v1.WriteResponse 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_); } @@ -733,7 +601,7 @@ public Builder mergeFrom(com.google.firestore.v1.WriteResponse other) { if (other.hasCommitTime()) { mergeCommitTime(other.getCommitTime()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -748,39 +616,79 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.WriteResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + streamId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + streamToken_ = input.readBytes(); + + 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); + + 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) { - parsedMessage = (com.google.firestore.v1.WriteResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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; @@ -789,22 +697,21 @@ public java.lang.String getStreamId() { } } /** - * - * *
      * The ID of the stream.
      * Only set on the first message, when a new stream was created.
      * 
* * string stream_id = 1; - * * @return The bytes for streamId. */ - public com.google.protobuf.ByteString getStreamIdBytes() { + public com.google.protobuf.ByteString + getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); streamId_ = b; return b; } else { @@ -812,64 +719,57 @@ public com.google.protobuf.ByteString getStreamIdBytes() { } } /** - * - * *
      * The ID of the stream.
      * Only set on the first message, when a new stream was created.
      * 
* * string stream_id = 1; - * * @param value The streamId to set. * @return This builder for chaining. */ - public Builder setStreamId(java.lang.String value) { + public Builder setStreamId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + streamId_ = value; 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() { - + streamId_ = getDefaultInstance().getStreamId(); onChanged(); 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) { + public Builder setStreamIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + streamId_ = value; onChanged(); return this; @@ -877,8 +777,6 @@ public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString streamToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * A token that represents the position of this response in the stream.
      * This can be used by a client to resume the stream at this point.
@@ -886,7 +784,6 @@ public Builder setStreamIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes stream_token = 2; - * * @return The streamToken. */ @java.lang.Override @@ -894,8 +791,6 @@ public com.google.protobuf.ByteString getStreamToken() { return streamToken_; } /** - * - * *
      * A token that represents the position of this response in the stream.
      * This can be used by a client to resume the stream at this point.
@@ -903,22 +798,19 @@ 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(); - } - + throw new NullPointerException(); + } + streamToken_ = value; 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.
@@ -926,35 +818,28 @@ public Builder setStreamToken(com.google.protobuf.ByteString value) {
      * 
* * bytes stream_token = 2; - * * @return This builder for chaining. */ public Builder clearStreamToken() { - + streamToken_ = getDefaultInstance().getStreamToken(); onChanged(); return this; } private java.util.List writeResults_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWriteResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writeResults_ = new java.util.ArrayList(writeResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.WriteResult, - com.google.firestore.v1.WriteResult.Builder, - com.google.firestore.v1.WriteResultOrBuilder> - writeResultsBuilder_; + com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> writeResultsBuilder_; /** - * - * *
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -971,8 +856,6 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -989,8 +872,6 @@ public int getWriteResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1007,8 +888,6 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1017,7 +896,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult value) {
+    public Builder setWriteResults(
+        int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1031,8 +911,6 @@ public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult va
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1053,8 +931,6 @@ public Builder setWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1077,8 +953,6 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1087,7 +961,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult value) {
+    public Builder addWriteResults(
+        int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1101,8 +976,6 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1111,7 +984,8 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder builderForValue) {
+    public Builder addWriteResults(
+        com.google.firestore.v1.WriteResult.Builder builderForValue) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
         writeResults_.add(builderForValue.build());
@@ -1122,8 +996,6 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1144,8 +1016,6 @@ public Builder addWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1158,7 +1028,8 @@ public Builder addAllWriteResults(
         java.lang.Iterable values) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, writeResults_);
         onChanged();
       } else {
         writeResultsBuilder_.addAllMessages(values);
@@ -1166,8 +1037,6 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1187,8 +1056,6 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1208,8 +1075,6 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1218,12 +1083,11 @@ public Builder removeWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) {
+    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
+        int index) {
       return getWriteResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1232,16 +1096,14 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int in
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
+    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+        int index) {
       if (writeResultsBuilder_ == null) {
-        return writeResults_.get(index);
-      } else {
+        return writeResults_.get(index);  } else {
         return writeResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1250,8 +1112,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public java.util.List
-        getWriteResultsOrBuilderList() {
+    public java.util.List 
+         getWriteResultsOrBuilderList() {
       if (writeResultsBuilder_ != null) {
         return writeResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1259,8 +1121,6 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1270,12 +1130,10 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
     public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
-      return getWriteResultsFieldBuilder()
-          .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance());
+      return getWriteResultsFieldBuilder().addBuilder(
+          com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1284,13 +1142,12 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) {
-      return getWriteResultsFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance());
+    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
+        int index) {
+      return getWriteResultsFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1299,23 +1156,20 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int in
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public java.util.List
-        getWriteResultsBuilderList() {
+    public java.util.List 
+         getWriteResultsBuilderList() {
       return getWriteResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.WriteResult,
-            com.google.firestore.v1.WriteResult.Builder,
-            com.google.firestore.v1.WriteResultOrBuilder>
+        com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> 
         getWriteResultsFieldBuilder() {
       if (writeResultsBuilder_ == null) {
-        writeResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.WriteResult,
-                com.google.firestore.v1.WriteResult.Builder,
-                com.google.firestore.v1.WriteResultOrBuilder>(
-                writeResults_, ((bitField0_ & 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_;
@@ -1323,49 +1177,36 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int in
 
     private com.google.protobuf.Timestamp commitTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        commitTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
      * 
* * .google.protobuf.Timestamp commit_time = 4; - * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return commitTimeBuilder_ != null || 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. */ 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.
@@ -1387,8 +1228,6 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1396,7 +1235,8 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp commit_time = 4;
      */
-    public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCommitTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (commitTimeBuilder_ == null) {
         commitTime_ = builderForValue.build();
         onChanged();
@@ -1407,8 +1247,6 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1420,7 +1258,7 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
         if (commitTime_ != null) {
           commitTime_ =
-              com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial();
         } else {
           commitTime_ = value;
         }
@@ -1432,8 +1270,6 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1453,8 +1289,6 @@ public Builder clearCommitTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1463,13 +1297,11 @@ public Builder clearCommitTime() {
      * .google.protobuf.Timestamp commit_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
-
+      
       onChanged();
       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.
@@ -1481,14 +1313,11 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
       if (commitTimeBuilder_ != null) {
         return commitTimeBuilder_.getMessageOrBuilder();
       } else {
-        return commitTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : commitTime_;
+        return commitTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1497,24 +1326,21 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
      * .google.protobuf.Timestamp commit_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCommitTimeFieldBuilder() {
       if (commitTimeBuilder_ == null) {
-        commitTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCommitTime(), getParentForChildren(), isClean());
+        commitTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCommitTime(),
+                getParentForChildren(),
+                isClean());
         commitTime_ = null;
       }
       return commitTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1524,12 +1350,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();
   }
@@ -1538,16 +1364,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 {
-          return new WriteResponse(input, extensionRegistry);
-        }
-      };
+  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;
@@ -1562,4 +1399,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.WriteResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
similarity index 78%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
index f92a2e255e..8bd57a4aba 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
@@ -1,58 +1,35 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface WriteResponseOrBuilder
-    extends
+public interface WriteResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The ID of the stream.
    * Only set on the first message, when a new stream was created.
    * 
* * string stream_id = 1; - * * @return The streamId. */ java.lang.String getStreamId(); /** - * - * *
    * The ID of the stream.
    * Only set on the first message, when a new stream was created.
    * 
* * string stream_id = 1; - * * @return The bytes for streamId. */ - com.google.protobuf.ByteString getStreamIdBytes(); + com.google.protobuf.ByteString + getStreamIdBytes(); /** - * - * *
    * A token that represents the position of this response in the stream.
    * This can be used by a client to resume the stream at this point.
@@ -60,14 +37,11 @@ public interface WriteResponseOrBuilder
    * 
* * bytes stream_token = 2; - * * @return The streamToken. */ com.google.protobuf.ByteString getStreamToken(); /** - * - * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -76,10 +50,9 @@ public interface WriteResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
-  java.util.List getWriteResultsList();
+  java.util.List 
+      getWriteResultsList();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -90,8 +63,6 @@ public interface WriteResponseOrBuilder
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -102,8 +73,6 @@ public interface WriteResponseOrBuilder
    */
   int getWriteResultsCount();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -112,11 +81,9 @@ public interface WriteResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
-  java.util.List
+  java.util.List 
       getWriteResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -125,37 +92,30 @@ public interface WriteResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
-  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index);
+  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; - * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; - * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
similarity index 72%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
index 65a6a26cb2..9dfac8f3a1 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
@@ -1,145 +1,56 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The result of applying a write.
  * 
* * Protobuf type {@code google.firestore.v1.WriteResult} */ -public final class WriteResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WriteResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteResult) WriteResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WriteResult.newBuilder() to construct. private WriteResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WriteResult() { transformResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WriteResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - private WriteResult( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transformResults_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - transformResults_.add( - input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - transformResults_ = java.util.Collections.unmodifiableList(transformResults_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - 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`.
@@ -148,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -156,8 +66,6 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -166,7 +74,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return The updateTime. */ @java.lang.Override @@ -174,8 +81,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -193,8 +98,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int TRANSFORM_RESULTS_FIELD_NUMBER = 2;
   private java.util.List transformResults_;
   /**
-   *
-   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -207,8 +110,6 @@ public java.util.List getTransformResultsList() {
     return transformResults_;
   }
   /**
-   *
-   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -217,13 +118,11 @@ public java.util.List getTransformResultsList() {
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTransformResultsOrBuilderList() {
     return transformResults_;
   }
   /**
-   *
-   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -236,8 +135,6 @@ public int getTransformResultsCount() {
     return transformResults_.size();
   }
   /**
-   *
-   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -250,8 +147,6 @@ public com.google.firestore.v1.Value getTransformResults(int index) {
     return transformResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -260,12 +155,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;
@@ -277,14 +172,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 (updateTime_ != null) {
       output.writeMessage(1, getUpdateTime());
     }
     for (int i = 0; i < transformResults_.size(); i++) {
       output.writeMessage(2, transformResults_.get(i));
     }
-    unknownFields.writeTo(output);
+    getUnknownFields().writeTo(output);
   }
 
   @java.lang.Override
@@ -294,12 +190,14 @@ 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 += unknownFields.getSerializedSize();
+    size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
   }
@@ -307,7 +205,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);
@@ -316,10 +214,12 @@ 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 (!unknownFields.equals(other.unknownFields)) return false;
+    if (!getTransformResultsList()
+        .equals(other.getTransformResultsList())) return false;
+    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
 
@@ -338,149 +238,135 @@ public int hashCode() {
       hash = (37 * hash) + TRANSFORM_RESULTS_FIELD_NUMBER;
       hash = (53 * hash) + getTransformResultsList().hashCode();
     }
-    hash = (29 * hash) + unknownFields.hashCode();
+    hash = (29 * hash) + getUnknownFields().hashCode();
     memoizedHashCode = hash;
     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() { - maybeForceBuilderInitialization(); + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getTransformResultsFieldBuilder(); - } } - @java.lang.Override public Builder clear() { super.clear(); @@ -492,17 +378,18 @@ public Builder clear() { } if (transformResultsBuilder_ == null) { transformResults_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + transformResults_ = null; transformResultsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); return this; } @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 @@ -545,39 +432,38 @@ public com.google.firestore.v1.WriteResult 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.v1.WriteResult) { - return mergeFrom((com.google.firestore.v1.WriteResult) other); + return mergeFrom((com.google.firestore.v1.WriteResult)other); } else { super.mergeFrom(other); return this; @@ -607,16 +493,15 @@ public Builder mergeFrom(com.google.firestore.v1.WriteResult other) { transformResultsBuilder_ = null; transformResults_ = other.transformResults_; bitField0_ = (bitField0_ & ~0x00000001); - transformResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTransformResultsFieldBuilder() - : null; + transformResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransformResultsFieldBuilder() : null; } else { transformResultsBuilder_.addAllMessages(other.transformResults_); } } } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -631,31 +516,58 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1.WriteResult parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { - parsedMessage = (com.google.firestore.v1.WriteResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // 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`.
@@ -664,15 +576,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -681,21 +590,16 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -719,8 +623,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -730,7 +632,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 1;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -741,8 +644,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -756,7 +657,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -768,8 +669,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -791,8 +690,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -803,13 +700,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -823,14 +718,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : updateTime_;
+        return updateTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -841,42 +733,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(), getParentForChildren(), isClean());
+        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(),
+                getParentForChildren(),
+                isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
     }
 
     private java.util.List transformResults_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTransformResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        transformResults_ =
-            new java.util.ArrayList(transformResults_);
+        transformResults_ = new java.util.ArrayList(transformResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     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], in the
      * same order.
@@ -892,8 +774,6 @@ public java.util.List getTransformResultsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -909,8 +789,6 @@ public int getTransformResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -926,8 +804,6 @@ public com.google.firestore.v1.Value getTransformResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -935,7 +811,8 @@ public com.google.firestore.v1.Value getTransformResults(int index) {
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public Builder setTransformResults(int index, com.google.firestore.v1.Value value) {
+    public Builder setTransformResults(
+        int index, com.google.firestore.v1.Value value) {
       if (transformResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -949,8 +826,6 @@ public Builder setTransformResults(int index, com.google.firestore.v1.Value valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -970,8 +845,6 @@ public Builder setTransformResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -993,8 +866,6 @@ public Builder addTransformResults(com.google.firestore.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -1002,7 +873,8 @@ public Builder addTransformResults(com.google.firestore.v1.Value value) {
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public Builder addTransformResults(int index, com.google.firestore.v1.Value value) {
+    public Builder addTransformResults(
+        int index, com.google.firestore.v1.Value value) {
       if (transformResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1016,8 +888,6 @@ public Builder addTransformResults(int index, com.google.firestore.v1.Value valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -1025,7 +895,8 @@ public Builder addTransformResults(int index, com.google.firestore.v1.Value valu
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public Builder addTransformResults(com.google.firestore.v1.Value.Builder builderForValue) {
+    public Builder addTransformResults(
+        com.google.firestore.v1.Value.Builder builderForValue) {
       if (transformResultsBuilder_ == null) {
         ensureTransformResultsIsMutable();
         transformResults_.add(builderForValue.build());
@@ -1036,8 +907,6 @@ public Builder addTransformResults(com.google.firestore.v1.Value.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -1057,8 +926,6 @@ public Builder addTransformResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -1070,7 +937,8 @@ public Builder addAllTransformResults(
         java.lang.Iterable values) {
       if (transformResultsBuilder_ == null) {
         ensureTransformResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transformResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, transformResults_);
         onChanged();
       } else {
         transformResultsBuilder_.addAllMessages(values);
@@ -1078,8 +946,6 @@ public Builder addAllTransformResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -1098,8 +964,6 @@ public Builder clearTransformResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -1118,8 +982,6 @@ public Builder removeTransformResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -1127,12 +989,11 @@ public Builder removeTransformResults(int index) {
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public com.google.firestore.v1.Value.Builder getTransformResultsBuilder(int index) {
+    public com.google.firestore.v1.Value.Builder getTransformResultsBuilder(
+        int index) {
       return getTransformResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -1140,16 +1001,14 @@ public com.google.firestore.v1.Value.Builder getTransformResultsBuilder(int inde
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int index) {
+    public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
+        int index) {
       if (transformResultsBuilder_ == null) {
-        return transformResults_.get(index);
-      } else {
+        return transformResults_.get(index);  } else {
         return transformResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -1157,8 +1016,8 @@ public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int i
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public java.util.List
-        getTransformResultsOrBuilderList() {
+    public java.util.List 
+         getTransformResultsOrBuilderList() {
       if (transformResultsBuilder_ != null) {
         return transformResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1166,8 +1025,6 @@ public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int i
       }
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -1176,12 +1033,10 @@ public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int i
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
     public com.google.firestore.v1.Value.Builder addTransformResultsBuilder() {
-      return getTransformResultsFieldBuilder()
-          .addBuilder(com.google.firestore.v1.Value.getDefaultInstance());
+      return getTransformResultsFieldBuilder().addBuilder(
+          com.google.firestore.v1.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -1189,13 +1044,12 @@ public com.google.firestore.v1.Value.Builder addTransformResultsBuilder() {
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public com.google.firestore.v1.Value.Builder addTransformResultsBuilder(int index) {
-      return getTransformResultsFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.Value.getDefaultInstance());
+    public com.google.firestore.v1.Value.Builder addTransformResultsBuilder(
+        int index) {
+      return getTransformResultsFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -1203,21 +1057,16 @@ public com.google.firestore.v1.Value.Builder addTransformResultsBuilder(int inde
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public java.util.List getTransformResultsBuilderList() {
+    public java.util.List 
+         getTransformResultsBuilderList() {
       return getTransformResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Value,
-            com.google.firestore.v1.Value.Builder,
-            com.google.firestore.v1.ValueOrBuilder>
+        com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> 
         getTransformResultsFieldBuilder() {
       if (transformResultsBuilder_ == null) {
-        transformResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.Value,
-                com.google.firestore.v1.Value.Builder,
-                com.google.firestore.v1.ValueOrBuilder>(
+        transformResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>(
                 transformResults_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1226,9 +1075,9 @@ public java.util.List getTransformResults
       }
       return transformResultsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1238,12 +1087,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();
   }
@@ -1252,16 +1101,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 {
-          return new WriteResult(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public WriteResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1276,4 +1136,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.WriteResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
similarity index 78%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
index 69b0367872..8280d4c498 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface WriteResultOrBuilder
-    extends
+public interface WriteResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -34,13 +16,10 @@ public interface WriteResultOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -49,13 +28,10 @@ public interface WriteResultOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -68,8 +44,6 @@ public interface WriteResultOrBuilder
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -77,10 +51,9 @@ public interface WriteResultOrBuilder
    *
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
-  java.util.List getTransformResultsList();
+  java.util.List 
+      getTransformResultsList();
   /**
-   *
-   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -90,8 +63,6 @@ public interface WriteResultOrBuilder
    */
   com.google.firestore.v1.Value getTransformResults(int index);
   /**
-   *
-   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -101,8 +72,6 @@ public interface WriteResultOrBuilder
    */
   int getTransformResultsCount();
   /**
-   *
-   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -110,11 +79,9 @@ public interface WriteResultOrBuilder
    *
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
-  java.util.List
+  java.util.List 
       getTransformResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -122,5 +89,6 @@ public interface WriteResultOrBuilder
    *
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
-  com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int index);
+  com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
similarity index 100%
rename from proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
diff --git a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
similarity index 100%
rename from proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
diff --git a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
similarity index 100%
rename from proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
diff --git a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
similarity index 100%
rename from proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
diff --git a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
similarity index 100%
rename from proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
diff --git a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto
similarity index 100%
rename from proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java
deleted file mode 100644
index 9924cab19a..0000000000
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: google/firestore/admin/v1/database.proto
-
-package com.google.firestore.admin.v1;
-
-public final class DatabaseProto {
-  private DatabaseProto() {}
-
-  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
-  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
-    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
-  }
-
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_firestore_admin_v1_Database_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_firestore_admin_v1_Database_fieldAccessorTable;
-
-  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
-    return descriptor;
-  }
-
-  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
-  static {
-    java.lang.String[] descriptorData = {
-      "\n(google/firestore/admin/v1/database.pro"
-          + "to\022\031google.firestore.admin.v1\032\037google/ap"
-          + "i/field_behavior.proto\032\031google/api/resou"
-          + "rce.proto\"\320\005\n\010Database\022\014\n\004name\030\001 \001(\t\022\023\n\013"
-          + "location_id\030\t \001(\t\022>\n\004type\030\n \001(\01620.google"
-          + ".firestore.admin.v1.Database.DatabaseTyp"
-          + "e\022M\n\020concurrency_mode\030\017 \001(\01623.google.fir"
-          + "estore.admin.v1.Database.ConcurrencyMode"
-          + "\022a\n\033app_engine_integration_mode\030\023 \001(\0162<."
-          + "google.firestore.admin.v1.Database.AppEn"
-          + "gineIntegrationMode\022\027\n\nkey_prefix\030\024 \001(\tB"
-          + "\003\340A\003\022\014\n\004etag\030c \001(\t\"W\n\014DatabaseType\022\035\n\031DA"
-          + "TABASE_TYPE_UNSPECIFIED\020\000\022\024\n\020FIRESTORE_N"
-          + "ATIVE\020\001\022\022\n\016DATASTORE_MODE\020\002\"w\n\017Concurren"
-          + "cyMode\022 \n\034CONCURRENCY_MODE_UNSPECIFIED\020\000"
-          + "\022\016\n\nOPTIMISTIC\020\001\022\017\n\013PESSIMISTIC\020\002\022!\n\035OPT"
-          + "IMISTIC_WITH_ENTITY_GROUPS\020\003\"b\n\030AppEngin"
-          + "eIntegrationMode\022+\n\'APP_ENGINE_INTEGRATI"
-          + "ON_MODE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DI"
-          + "SABLED\020\002:R\352AO\n!firestore.googleapis.com/"
-          + "Database\022\'projects/{project}/databases/{"
-          + "database}R\001\001B\341\001\n\035com.google.firestore.ad"
-          + "min.v1B\rDatabaseProtoP\001Z>google.golang.o"
-          + "rg/genproto/googleapis/firestore/admin/v"
-          + "1;admin\242\002\004GCFS\252\002\037Google.Cloud.Firestore."
-          + "Admin.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\"
-          + "V1\352\002#Google::Cloud::Firestore::Admin::V1"
-          + "b\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(),
-            });
-    internal_static_google_firestore_admin_v1_Database_descriptor =
-        getDescriptor().getMessageTypes().get(0);
-    internal_static_google_firestore_admin_v1_Database_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_firestore_admin_v1_Database_descriptor,
-            new java.lang.String[] {
-              "Name",
-              "LocationId",
-              "Type",
-              "ConcurrencyMode",
-              "AppEngineIntegrationMode",
-              "KeyPrefix",
-              "Etag",
-            });
-    com.google.protobuf.ExtensionRegistry registry =
-        com.google.protobuf.ExtensionRegistry.newInstance();
-    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
-    registry.add(com.google.api.ResourceProto.resource);
-    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
-        descriptor, registry);
-    com.google.api.FieldBehaviorProto.getDescriptor();
-    com.google.api.ResourceProto.getDescriptor();
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java
deleted file mode 100644
index 360e0535cd..0000000000
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: google/firestore/admin/v1/firestore_admin.proto
-
-package com.google.firestore.admin.v1;
-
-public interface DeleteIndexRequestOrBuilder
-    extends
-    // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.DeleteIndexRequest)
-    com.google.protobuf.MessageOrBuilder {
-
-  /**
-   *
-   *
-   * 
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java deleted file mode 100644 index 5fcc0320a6..0000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/field.proto - -package com.google.firestore.admin.v1; - -public final class FieldProto { - private FieldProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Field_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Field_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n%google/firestore/admin/v1/field.proto\022" - + "\031google.firestore.admin.v1\032\037google/api/f" - + "ield_behavior.proto\032\031google/api/resource" - + ".proto\032%google/firestore/admin/v1/index." - + "proto\"\305\004\n\005Field\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\014in" - + "dex_config\030\002 \001(\0132,.google.firestore.admi" - + "n.v1.Field.IndexConfig\022>\n\nttl_config\030\003 \001" - + "(\0132*.google.firestore.admin.v1.Field.Ttl" - + "Config\032\211\001\n\013IndexConfig\0221\n\007indexes\030\001 \003(\0132" - + " .google.firestore.admin.v1.Index\022\034\n\024use" - + "s_ancestor_config\030\002 \001(\010\022\026\n\016ancestor_fiel" - + "d\030\003 \001(\t\022\021\n\treverting\030\004 \001(\010\032\235\001\n\tTtlConfig" - + "\022D\n\005state\030\001 \001(\01620.google.firestore.admin" - + ".v1.Field.TtlConfig.StateB\003\340A\003\"J\n\005State\022" - + "\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006" - + "ACTIVE\020\002\022\020\n\014NEEDS_REPAIR\020\003:y\352Av\n\036firesto" - + "re.googleapis.com/Field\022Tprojects/{proje" - + "ct}/databases/{database}/collectionGroup" - + "s/{collection}/fields/{field}B\336\001\n\035com.go" - + "ogle.firestore.admin.v1B\nFieldProtoP\001Z>g" - + "oogle.golang.org/genproto/googleapis/fir" - + "estore/admin/v1;admin\242\002\004GCFS\252\002\037Google.Cl" - + "oud.Firestore.Admin.V1\312\002\037Google\\Cloud\\Fi" - + "restore\\Admin\\V1\352\002#Google::Cloud::Firest" - + "ore::Admin::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.firestore.admin.v1.IndexProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_Field_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_Field_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Field_descriptor, - new java.lang.String[] { - "Name", "IndexConfig", "TtlConfig", - }); - internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor = - internal_static_google_firestore_admin_v1_Field_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor, - new java.lang.String[] { - "Indexes", "UsesAncestorConfig", "AncestorField", "Reverting", - }); - internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor = - internal_static_google_firestore_admin_v1_Field_descriptor.getNestedTypes().get(1); - internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor, - new java.lang.String[] { - "State", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.firestore.admin.v1.IndexProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java deleted file mode 100644 index a607b4a0c8..0000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java +++ /dev/null @@ -1,394 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public final class FirestoreAdminProto { - private FirestoreAdminProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/firestore/admin/v1/firestore_ad" - + "min.proto\022\031google.firestore.admin.v1\032\034go" - + "ogle/api/annotations.proto\032\027google/api/c" - + "lient.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032(google/" - + "firestore/admin/v1/database.proto\032%googl" - + "e/firestore/admin/v1/field.proto\032%google" - + "/firestore/admin/v1/index.proto\032#google/" - + "longrunning/operations.proto\032\033google/pro" - + "tobuf/empty.proto\032 google/protobuf/field" - + "_mask.proto\"Q\n\024ListDatabasesRequest\0229\n\006p" - + "arent\030\001 \001(\tB)\340A\002\372A#\022!firestore.googleapi" - + "s.com/Database\"O\n\025ListDatabasesResponse\022" - + "6\n\tdatabases\030\001 \003(\0132#.google.firestore.ad" - + "min.v1.Database\"M\n\022GetDatabaseRequest\0227\n" - + "\004name\030\001 \001(\tB)\340A\002\372A#\n!firestore.googleapi" - + "s.com/Database\"\204\001\n\025UpdateDatabaseRequest" - + "\022:\n\010database\030\001 \001(\0132#.google.firestore.ad" - + "min.v1.DatabaseB\003\340A\002\022/\n\013update_mask\030\002 \001(" - + "\0132\032.google.protobuf.FieldMask\"\030\n\026UpdateD" - + "atabaseMetadata\"\214\001\n\022CreateIndexRequest\022@" - + "\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(firestore.google" - + "apis.com/CollectionGroup\0224\n\005index\030\002 \001(\0132" - + " .google.firestore.admin.v1.IndexB\003\340A\002\"\215" - + "\001\n\022ListIndexesRequest\022@\n\006parent\030\001 \001(\tB0\340" - + "A\002\372A*\n(firestore.googleapis.com/Collecti" - + "onGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001" - + "(\005\022\022\n\npage_token\030\004 \001(\t\"a\n\023ListIndexesRes" - + "ponse\0221\n\007indexes\030\001 \003(\0132 .google.firestor" - + "e.admin.v1.Index\022\027\n\017next_page_token\030\002 \001(" - + "\t\"G\n\017GetIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" - + "A \n\036firestore.googleapis.com/Index\"J\n\022De" - + "leteIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036" - + "firestore.googleapis.com/Index\"{\n\022Update" - + "FieldRequest\0224\n\005field\030\001 \001(\0132 .google.fir" - + "estore.admin.v1.FieldB\003\340A\002\022/\n\013update_mas" - + "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"G\n\017G" - + "etFieldRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036fi" - + "restore.googleapis.com/Field\"\214\001\n\021ListFie" - + "ldsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(fire" - + "store.googleapis.com/CollectionGroup\022\016\n\006" - + "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_" - + "token\030\004 \001(\t\"_\n\022ListFieldsResponse\0220\n\006fie" - + "lds\030\001 \003(\0132 .google.firestore.admin.v1.Fi" - + "eld\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\026ExportD" - + "ocumentsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!f" - + "irestore.googleapis.com/Database\022\026\n\016coll" - + "ection_ids\030\002 \003(\t\022\031\n\021output_uri_prefix\030\003 " - + "\001(\t\"\203\001\n\026ImportDocumentsRequest\0227\n\004name\030\001" - + " \001(\tB)\340A\002\372A#\n!firestore.googleapis.com/D" - + "atabase\022\026\n\016collection_ids\030\002 \003(\t\022\030\n\020input" - + "_uri_prefix\030\003 \001(\t2\222\023\n\016FirestoreAdmin\022\333\001\n" - + "\013CreateIndex\022-.google.firestore.admin.v1" - + ".CreateIndexRequest\032\035.google.longrunning" - + ".Operation\"~\202\323\344\223\002G\">/v1/{parent=projects" - + "/*/databases/*/collectionGroups/*}/index" - + "es:\005index\332A\014parent,index\312A\037\n\005Index\022\026Inde" - + "xOperationMetadata\022\275\001\n\013ListIndexes\022-.goo" - + "gle.firestore.admin.v1.ListIndexesReques" - + "t\032..google.firestore.admin.v1.ListIndexe" - + "sResponse\"O\202\323\344\223\002@\022>/v1/{parent=projects/" - + "*/databases/*/collectionGroups/*}/indexe" - + "s\332A\006parent\022\247\001\n\010GetIndex\022*.google.firesto" - + "re.admin.v1.GetIndexRequest\032 .google.fir" - + "estore.admin.v1.Index\"M\202\323\344\223\002@\022>/v1/{name" - + "=projects/*/databases/*/collectionGroups" - + "/*/indexes/*}\332A\004name\022\243\001\n\013DeleteIndex\022-.g" - + "oogle.firestore.admin.v1.DeleteIndexRequ" - + "est\032\026.google.protobuf.Empty\"M\202\323\344\223\002@*>/v1" - + "/{name=projects/*/databases/*/collection" - + "Groups/*/indexes/*}\332A\004name\022\246\001\n\010GetField\022" - + "*.google.firestore.admin.v1.GetFieldRequ" - + "est\032 .google.firestore.admin.v1.Field\"L\202" - + "\323\344\223\002?\022=/v1/{name=projects/*/databases/*/" - + "collectionGroups/*/fields/*}\332A\004name\022\331\001\n\013" - + "UpdateField\022-.google.firestore.admin.v1." - + "UpdateFieldRequest\032\035.google.longrunning." - + "Operation\"|\202\323\344\223\002L2C/v1/{field.name=proje" - + "cts/*/databases/*/collectionGroups/*/fie" - + "lds/*}:\005field\332A\005field\312A\037\n\005Field\022\026FieldOp" - + "erationMetadata\022\271\001\n\nListFields\022,.google." - + "firestore.admin.v1.ListFieldsRequest\032-.g" - + "oogle.firestore.admin.v1.ListFieldsRespo" - + "nse\"N\202\323\344\223\002?\022=/v1/{parent=projects/*/data" - + "bases/*/collectionGroups/*}/fields\332A\006par" - + "ent\022\335\001\n\017ExportDocuments\0221.google.firesto" - + "re.admin.v1.ExportDocumentsRequest\032\035.goo" - + "gle.longrunning.Operation\"x\202\323\344\223\0026\"1/v1/{" - + "name=projects/*/databases/*}:exportDocum" - + "ents:\001*\332A\004name\312A2\n\027ExportDocumentsRespon" - + "se\022\027ExportDocumentsMetadata\022\333\001\n\017ImportDo" - + "cuments\0221.google.firestore.admin.v1.Impo" - + "rtDocumentsRequest\032\035.google.longrunning." - + "Operation\"v\202\323\344\223\0026\"1/v1/{name=projects/*/" - + "databases/*}:importDocuments:\001*\332A\004name\312A" - + "0\n\025google.protobuf.Empty\022\027ImportDocument" - + "sMetadata\022\223\001\n\013GetDatabase\022-.google.fires" - + "tore.admin.v1.GetDatabaseRequest\032#.googl" - + "e.firestore.admin.v1.Database\"0\202\323\344\223\002#\022!/" - + "v1/{name=projects/*/databases/*}\332A\004name\022" - + "\246\001\n\rListDatabases\022/.google.firestore.adm" - + "in.v1.ListDatabasesRequest\0320.google.fire" - + "store.admin.v1.ListDatabasesResponse\"2\202\323" - + "\344\223\002#\022!/v1/{parent=projects/*}/databases\332" - + "A\006parent\022\333\001\n\016UpdateDatabase\0220.google.fir" - + "estore.admin.v1.UpdateDatabaseRequest\032\035." - + "google.longrunning.Operation\"x\202\323\344\223\00262*/v" - + "1/{database.name=projects/*/databases/*}" - + ":\010database\332A\024database,update_mask\312A\"\n\010Da" - + "tabase\022\026UpdateDatabaseMetadata\032v\312A\030fires" - + "tore.googleapis.com\322AXhttps://www.google" - + "apis.com/auth/cloud-platform,https://www" - + ".googleapis.com/auth/datastoreB\252\003\n\035com.g" - + "oogle.firestore.admin.v1B\023FirestoreAdmin" - + "ProtoP\001Z>google.golang.org/genproto/goog" - + "leapis/firestore/admin/v1;admin\242\002\004GCFS\252\002" - + "\037Google.Cloud.Firestore.Admin.V1\312\002\037Googl" - + "e\\Cloud\\Firestore\\Admin\\V1\352\002#Google::Clo" - + "ud::Firestore::Admin::V1\352AL\n!firestore.g" - + "oogleapis.com/Location\022\'projects/{projec" - + "t}/locations/{location}\352Aq\n(firestore.go" - + "ogleapis.com/CollectionGroup\022Eprojects/{" - + "project}/databases/{database}/collection" - + "Groups/{collection}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.firestore.admin.v1.DatabaseProto.getDescriptor(), - com.google.firestore.admin.v1.FieldProto.getDescriptor(), - com.google.firestore.admin.v1.IndexProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor, - new java.lang.String[] { - "Parent", - }); - internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor, - new java.lang.String[] { - "Databases", - }); - internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor, - new java.lang.String[] { - "Database", "UpdateMask", - }); - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor, - new java.lang.String[] {}); - internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor, - new java.lang.String[] { - "Parent", "Index", - }); - internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor, - new java.lang.String[] { - "Indexes", "NextPageToken", - }); - internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor, - new java.lang.String[] { - "Field", "UpdateMask", - }); - internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor, - new java.lang.String[] { - "Fields", "NextPageToken", - }); - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor, - new java.lang.String[] { - "Name", "CollectionIds", "OutputUriPrefix", - }); - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor, - new java.lang.String[] { - "Name", "CollectionIds", "InputUriPrefix", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.firestore.admin.v1.DatabaseProto.getDescriptor(); - com.google.firestore.admin.v1.FieldProto.getDescriptor(); - com.google.firestore.admin.v1.IndexProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java deleted file mode 100644 index e6bebb2653..0000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface GetDatabaseRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetDatabaseRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java deleted file mode 100644 index f5eaff563f..0000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface GetFieldRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetFieldRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java deleted file mode 100644 index 82ae93d227..0000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface GetIndexRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetIndexRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java deleted file mode 100644 index c30e16305a..0000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/index.proto - -package com.google.firestore.admin.v1; - -public final class IndexProto { - private IndexProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Index_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Index_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Index_IndexField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n%google/firestore/admin/v1/index.proto\022" - + "\031google.firestore.admin.v1\032\031google/api/r" - + "esource.proto\"\243\006\n\005Index\022\014\n\004name\030\001 \001(\t\022@\n" - + "\013query_scope\030\002 \001(\0162+.google.firestore.ad" - + "min.v1.Index.QueryScope\022;\n\006fields\030\003 \003(\0132" - + "+.google.firestore.admin.v1.Index.IndexF" - + "ield\0225\n\005state\030\004 \001(\0162&.google.firestore.a" - + "dmin.v1.Index.State\032\275\002\n\nIndexField\022\022\n\nfi" - + "eld_path\030\001 \001(\t\022B\n\005order\030\002 \001(\01621.google.f" - + "irestore.admin.v1.Index.IndexField.Order" - + "H\000\022O\n\014array_config\030\003 \001(\01627.google.firest" - + "ore.admin.v1.Index.IndexField.ArrayConfi" - + "gH\000\"=\n\005Order\022\025\n\021ORDER_UNSPECIFIED\020\000\022\r\n\tA" - + "SCENDING\020\001\022\016\n\nDESCENDING\020\002\"9\n\013ArrayConfi" - + "g\022\034\n\030ARRAY_CONFIG_UNSPECIFIED\020\000\022\014\n\010CONTA" - + "INS\020\001B\014\n\nvalue_mode\"O\n\nQueryScope\022\033\n\027QUE" - + "RY_SCOPE_UNSPECIFIED\020\000\022\016\n\nCOLLECTION\020\001\022\024" - + "\n\020COLLECTION_GROUP\020\002\"I\n\005State\022\025\n\021STATE_U" - + "NSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\020\n" - + "\014NEEDS_REPAIR\020\003:z\352Aw\n\036firestore.googleap" - + "is.com/Index\022Uprojects/{project}/databas" - + "es/{database}/collectionGroups/{collecti" - + "on}/indexes/{index}B\336\001\n\035com.google.fires" - + "tore.admin.v1B\nIndexProtoP\001Z>google.gola" - + "ng.org/genproto/googleapis/firestore/adm" - + "in/v1;admin\242\002\004GCFS\252\002\037Google.Cloud.Firest" - + "ore.Admin.V1\312\002\037Google\\Cloud\\Firestore\\Ad" - + "min\\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.ResourceProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_Index_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_Index_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Index_descriptor, - new java.lang.String[] { - "Name", "QueryScope", "Fields", "State", - }); - internal_static_google_firestore_admin_v1_Index_IndexField_descriptor = - internal_static_google_firestore_admin_v1_Index_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Index_IndexField_descriptor, - new java.lang.String[] { - "FieldPath", "Order", "ArrayConfig", "ValueMode", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java deleted file mode 100644 index 5af6e02937..0000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface ListDatabasesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListDatabasesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. A parent name of the form
-   * `projects/{project_id}`
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. A parent name of the form
-   * `projects/{project_id}`
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java deleted file mode 100644 index 84f402fb82..0000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/location.proto - -package com.google.firestore.admin.v1; - -public interface LocationMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.LocationMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java deleted file mode 100644 index be694b9a82..0000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/location.proto - -package com.google.firestore.admin.v1; - -public final class LocationProto { - private LocationProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/firestore/admin/v1/location.pro" - + "to\022\031google.firestore.admin.v1\"\022\n\020Locatio" - + "nMetadataB\341\001\n\035com.google.firestore.admin" - + ".v1B\rLocationProtoP\001Z>google.golang.org/" - + "genproto/googleapis/firestore/admin/v1;a" - + "dmin\242\002\004GCFS\252\002\037Google.Cloud.Firestore.Adm" - + "in.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352" - + "\002#Google::Cloud::Firestore::Admin::V1b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_firestore_admin_v1_LocationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_LocationMetadata_descriptor, - new java.lang.String[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java deleted file mode 100644 index 7c4df1fa19..0000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java +++ /dev/null @@ -1,237 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/operation.proto - -package com.google.firestore.admin.v1; - -public final class OperationProto { - private OperationProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Progress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n)google/firestore/admin/v1/operation.pr" - + "oto\022\031google.firestore.admin.v1\032%google/f" - + "irestore/admin/v1/index.proto\032\037google/pr" - + "otobuf/timestamp.proto\"\275\002\n\026IndexOperatio" - + "nMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google.p" - + "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\022\r\n\005index\030\003 \001(\t\0228" - + "\n\005state\030\004 \001(\0162).google.firestore.admin.v" - + "1.OperationState\022?\n\022progress_documents\030\005" - + " \001(\0132#.google.firestore.admin.v1.Progres" - + "s\022;\n\016progress_bytes\030\006 \001(\0132#.google.fires" - + "tore.admin.v1.Progress\"\231\007\n\026FieldOperatio" - + "nMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google.p" - + "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\022\r\n\005field\030\003 \001(\t\022_" - + "\n\023index_config_deltas\030\004 \003(\0132B.google.fir" - + "estore.admin.v1.FieldOperationMetadata.I" - + "ndexConfigDelta\0228\n\005state\030\005 \001(\0162).google." - + "firestore.admin.v1.OperationState\022?\n\022pro" - + "gress_documents\030\006 \001(\0132#.google.firestore" - + ".admin.v1.Progress\022;\n\016progress_bytes\030\007 \001" - + "(\0132#.google.firestore.admin.v1.Progress\022" - + "Z\n\020ttl_config_delta\030\010 \001(\0132@.google.fires" - + "tore.admin.v1.FieldOperationMetadata.Ttl" - + "ConfigDelta\032\347\001\n\020IndexConfigDelta\022b\n\013chan" - + "ge_type\030\001 \001(\0162M.google.firestore.admin.v" - + "1.FieldOperationMetadata.IndexConfigDelt" - + "a.ChangeType\022/\n\005index\030\002 \001(\0132 .google.fir" - + "estore.admin.v1.Index\">\n\nChangeType\022\033\n\027C" - + "HANGE_TYPE_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REM" - + "OVE\020\002\032\262\001\n\016TtlConfigDelta\022`\n\013change_type\030" - + "\001 \001(\0162K.google.firestore.admin.v1.FieldO" - + "perationMetadata.TtlConfigDelta.ChangeTy" - + "pe\">\n\nChangeType\022\033\n\027CHANGE_TYPE_UNSPECIF" - + "IED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\"\354\002\n\027ExportDoc" - + "umentsMetadata\022.\n\nstart_time\030\001 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\013" - + "2\032.google.protobuf.Timestamp\022B\n\017operatio" - + "n_state\030\003 \001(\0162).google.firestore.admin.v" - + "1.OperationState\022?\n\022progress_documents\030\004" - + " \001(\0132#.google.firestore.admin.v1.Progres" - + "s\022;\n\016progress_bytes\030\005 \001(\0132#.google.fires" - + "tore.admin.v1.Progress\022\026\n\016collection_ids" - + "\030\006 \003(\t\022\031\n\021output_uri_prefix\030\007 \001(\t\"\353\002\n\027Im" - + "portDocumentsMetadata\022.\n\nstart_time\030\001 \001(" - + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" - + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022B\n\017o" - + "peration_state\030\003 \001(\0162).google.firestore." - + "admin.v1.OperationState\022?\n\022progress_docu" - + "ments\030\004 \001(\0132#.google.firestore.admin.v1." - + "Progress\022;\n\016progress_bytes\030\005 \001(\0132#.googl" - + "e.firestore.admin.v1.Progress\022\026\n\016collect" - + "ion_ids\030\006 \003(\t\022\030\n\020input_uri_prefix\030\007 \001(\t\"" - + "4\n\027ExportDocumentsResponse\022\031\n\021output_uri" - + "_prefix\030\001 \001(\t\":\n\010Progress\022\026\n\016estimated_w" - + "ork\030\001 \001(\003\022\026\n\016completed_work\030\002 \001(\003*\236\001\n\016Op" - + "erationState\022\037\n\033OPERATION_STATE_UNSPECIF" - + "IED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022" - + "\016\n\nCANCELLING\020\003\022\016\n\nFINALIZING\020\004\022\016\n\nSUCCE" - + "SSFUL\020\005\022\n\n\006FAILED\020\006\022\r\n\tCANCELLED\020\007B\342\001\n\035c" - + "om.google.firestore.admin.v1B\016OperationP" - + "rotoP\001Z>google.golang.org/genproto/googl" - + "eapis/firestore/admin/v1;admin\242\002\004GCFS\252\002\037" - + "Google.Cloud.Firestore.Admin.V1\312\002\037Google" - + "\\Cloud\\Firestore\\Admin\\V1\352\002#Google::Clou" - + "d::Firestore::Admin::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.firestore.admin.v1.IndexProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", "Index", "State", "ProgressDocuments", "ProgressBytes", - }); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor, - new java.lang.String[] { - "StartTime", - "EndTime", - "Field", - "IndexConfigDeltas", - "State", - "ProgressDocuments", - "ProgressBytes", - "TtlConfigDelta", - }); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor = - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor, - new java.lang.String[] { - "ChangeType", "Index", - }); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor = - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor - .getNestedTypes() - .get(1); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor, - new java.lang.String[] { - "ChangeType", - }); - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor, - new java.lang.String[] { - "StartTime", - "EndTime", - "OperationState", - "ProgressDocuments", - "ProgressBytes", - "CollectionIds", - "OutputUriPrefix", - }); - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor, - new java.lang.String[] { - "StartTime", - "EndTime", - "OperationState", - "ProgressDocuments", - "ProgressBytes", - "CollectionIds", - "InputUriPrefix", - }); - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor, - new java.lang.String[] { - "OutputUriPrefix", - }); - internal_static_google_firestore_admin_v1_Progress_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Progress_descriptor, - new java.lang.String[] { - "EstimatedWork", "CompletedWork", - }); - com.google.firestore.admin.v1.IndexProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java deleted file mode 100644 index 632606ea9d..0000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/operation.proto - -package com.google.firestore.admin.v1; - -public interface ProgressOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Progress) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The amount of work estimated.
-   * 
- * - * int64 estimated_work = 1; - * - * @return The estimatedWork. - */ - long getEstimatedWork(); - - /** - * - * - *
-   * The amount of work completed.
-   * 
- * - * int64 completed_work = 2; - * - * @return The completedWork. - */ - long getCompletedWork(); -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java deleted file mode 100644 index d5ff4f5075..0000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface UpdateDatabaseMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.UpdateDatabaseMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java deleted file mode 100644 index 89b539ab6f..0000000000 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/bundle/bundle.proto - -package com.google.firestore.bundle; - -public final class BundleProto { - private BundleProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_BundledQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_NamedQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_BundleMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_BundleElement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n$google/firestore/bundle/bundle.proto\022\027" - + "google.firestore.bundle\032\"google/firestor" - + "e/v1/document.proto\032\037google/firestore/v1" - + "/query.proto\032\037google/protobuf/timestamp." - + "proto\"\325\001\n\014BundledQuery\022\016\n\006parent\030\001 \001(\t\022@" - + "\n\020structured_query\030\002 \001(\0132$.google.firest" - + "ore.v1.StructuredQueryH\000\022C\n\nlimit_type\030\003" - + " \001(\0162/.google.firestore.bundle.BundledQu" - + "ery.LimitType\" \n\tLimitType\022\t\n\005FIRST\020\000\022\010\n" - + "\004LAST\020\001B\014\n\nquery_type\"\207\001\n\nNamedQuery\022\014\n\004" - + "name\030\001 \001(\t\022<\n\rbundled_query\030\002 \001(\0132%.goog" - + "le.firestore.bundle.BundledQuery\022-\n\tread" - + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\"" - + "w\n\027BundledDocumentMetadata\022\014\n\004name\030\001 \001(\t" - + "\022-\n\tread_time\030\002 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022\016\n\006exists\030\003 \001(\010\022\017\n\007queries\030\004 \003(\t" - + "\"\214\001\n\016BundleMetadata\022\n\n\002id\030\001 \001(\t\022/\n\013creat" - + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" - + "\022\017\n\007version\030\003 \001(\r\022\027\n\017total_documents\030\004 \001" - + "(\r\022\023\n\013total_bytes\030\005 \001(\004\"\232\002\n\rBundleElemen" - + "t\022;\n\010metadata\030\001 \001(\0132\'.google.firestore.b" - + "undle.BundleMetadataH\000\022:\n\013named_query\030\002 " - + "\001(\0132#.google.firestore.bundle.NamedQuery" - + "H\000\022M\n\021document_metadata\030\003 \001(\01320.google.f" - + "irestore.bundle.BundledDocumentMetadataH" - + "\000\0221\n\010document\030\004 \001(\0132\035.google.firestore.v" - + "1.DocumentH\000B\016\n\014element_typeB\221\001\n\033com.goo" - + "gle.firestore.bundleB\013BundleProtoP\001Z5goo" - + "gle.golang.org/genproto/firestore/bundle" - + ";firestore\242\002\005FSTPB\252\002\020Firestore.Bundle\312\002\020" - + "Firestore\\Bundleb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.firestore.v1.DocumentProto.getDescriptor(), - com.google.firestore.v1.QueryProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_firestore_bundle_BundledQuery_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_BundledQuery_descriptor, - new java.lang.String[] { - "Parent", "StructuredQuery", "LimitType", "QueryType", - }); - internal_static_google_firestore_bundle_NamedQuery_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_NamedQuery_descriptor, - new java.lang.String[] { - "Name", "BundledQuery", "ReadTime", - }); - internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor, - new java.lang.String[] { - "Name", "ReadTime", "Exists", "Queries", - }); - internal_static_google_firestore_bundle_BundleMetadata_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_BundleMetadata_descriptor, - new java.lang.String[] { - "Id", "CreateTime", "Version", "TotalDocuments", "TotalBytes", - }); - internal_static_google_firestore_bundle_BundleElement_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_BundleElement_descriptor, - new java.lang.String[] { - "Metadata", "NamedQuery", "DocumentMetadata", "Document", "ElementType", - }); - com.google.firestore.v1.DocumentProto.getDescriptor(); - com.google.firestore.v1.QueryProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java deleted file mode 100644 index c744962091..0000000000 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/v1/aggregation_result.proto - -package com.google.firestore.v1; - -public final class AggregationResultProto { - private AggregationResultProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_AggregationResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n,google/firestore/v1/aggregation_result" - + ".proto\022\023google.firestore.v1\032\"google/fire" - + "store/v1/document.proto\"\276\001\n\021AggregationR" - + "esult\022U\n\020aggregate_fields\030\002 \003(\0132;.google" - + ".firestore.v1.AggregationResult.Aggregat" - + "eFieldsEntry\032R\n\024AggregateFieldsEntry\022\013\n\003" - + "key\030\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.google.firest" - + "ore.v1.Value:\0028\001B\317\001\n\027com.google.firestor" - + "e.v1B\026AggregationResultProtoP\001Z - * The transaction that was started. - *
- * - * bytes transaction = 1; - * - * @return The transaction. - */ - com.google.protobuf.ByteString getTransaction(); -} diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java deleted file mode 100644 index 4ab05e4409..0000000000 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/v1/common.proto - -package com.google.firestore.v1; - -public final class CommonProto { - private CommonProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_DocumentMask_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Precondition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Precondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_TransactionOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n google/firestore/v1/common.proto\022\023goog" - + "le.firestore.v1\032\037google/protobuf/timesta" - + "mp.proto\"#\n\014DocumentMask\022\023\n\013field_paths\030" - + "\001 \003(\t\"e\n\014Precondition\022\020\n\006exists\030\001 \001(\010H\000\022" - + "1\n\013update_time\030\002 \001(\0132\032.google.protobuf.T" - + "imestampH\000B\020\n\016condition_type\"\251\002\n\022Transac" - + "tionOptions\022E\n\tread_only\030\002 \001(\01320.google." - + "firestore.v1.TransactionOptions.ReadOnly" - + "H\000\022G\n\nread_write\030\003 \001(\01321.google.firestor" - + "e.v1.TransactionOptions.ReadWriteH\000\032&\n\tR" - + "eadWrite\022\031\n\021retry_transaction\030\001 \001(\014\032S\n\010R" - + "eadOnly\022/\n\tread_time\030\002 \001(\0132\032.google.prot" - + "obuf.TimestampH\000B\026\n\024consistency_selector" - + "B\006\n\004modeB\304\001\n\027com.google.firestore.v1B\013Co" - + "mmonProtoP\001Z\n\006labels\030\004" - + " \003(\0132..google.firestore.v1.ListenRequest" - + ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\t:\0028\001B\017\n\rtarget_change\"\325\002\n" - + "\016ListenResponse\022:\n\rtarget_change\030\002 \001(\0132!" - + ".google.firestore.v1.TargetChangeH\000\022>\n\017d" - + "ocument_change\030\003 \001(\0132#.google.firestore." - + "v1.DocumentChangeH\000\022>\n\017document_delete\030\004" - + " \001(\0132#.google.firestore.v1.DocumentDelet" - + "eH\000\022>\n\017document_remove\030\006 \001(\0132#.google.fi" - + "restore.v1.DocumentRemoveH\000\0226\n\006filter\030\005 " - + "\001(\0132$.google.firestore.v1.ExistenceFilte" - + "rH\000B\017\n\rresponse_type\"\241\003\n\006Target\0228\n\005query" - + "\030\002 \001(\0132\'.google.firestore.v1.Target.Quer" - + "yTargetH\000\022@\n\tdocuments\030\003 \001(\0132+.google.fi" - + "restore.v1.Target.DocumentsTargetH\000\022\026\n\014r" - + "esume_token\030\004 \001(\014H\001\022/\n\tread_time\030\013 \001(\0132\032" - + ".google.protobuf.TimestampH\001\022\021\n\ttarget_i" - + "d\030\005 \001(\005\022\014\n\004once\030\006 \001(\010\032$\n\017DocumentsTarget" - + "\022\021\n\tdocuments\030\002 \003(\t\032m\n\013QueryTarget\022\016\n\006pa" - + "rent\030\001 \001(\t\022@\n\020structured_query\030\002 \001(\0132$.g" - + "oogle.firestore.v1.StructuredQueryH\000B\014\n\n" - + "query_typeB\r\n\013target_typeB\r\n\013resume_type" - + "\"\252\002\n\014TargetChange\022N\n\022target_change_type\030" - + "\001 \001(\01622.google.firestore.v1.TargetChange" - + ".TargetChangeType\022\022\n\ntarget_ids\030\002 \003(\005\022!\n" - + "\005cause\030\003 \001(\0132\022.google.rpc.Status\022\024\n\014resu" - + "me_token\030\004 \001(\014\022-\n\tread_time\030\006 \001(\0132\032.goog" - + "le.protobuf.Timestamp\"N\n\020TargetChangeTyp" - + "e\022\r\n\tNO_CHANGE\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\022\013\n" - + "\007CURRENT\020\003\022\t\n\005RESET\020\004\"\237\001\n\030ListCollection" - + "IdsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_" - + "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/\n\tread_t" - + "ime\030\004 \001(\0132\032.google.protobuf.TimestampH\000B" - + "\026\n\024consistency_selector\"L\n\031ListCollectio" - + "nIdsResponse\022\026\n\016collection_ids\030\001 \003(\t\022\027\n\017" - + "next_page_token\030\002 \001(\t\"\311\001\n\021BatchWriteRequ" - + "est\022\025\n\010database\030\001 \001(\tB\003\340A\002\022*\n\006writes\030\002 \003" - + "(\0132\032.google.firestore.v1.Write\022B\n\006labels" - + "\030\003 \003(\01322.google.firestore.v1.BatchWriteR" - + "equest.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"q\n\022BatchWriteR" - + "esponse\0227\n\rwrite_results\030\001 \003(\0132 .google." - + "firestore.v1.WriteResult\022\"\n\006status\030\002 \003(\013" - + "2\022.google.rpc.Status2\332\031\n\tFirestore\022\217\001\n\013G" - + "etDocument\022\'.google.firestore.v1.GetDocu" - + "mentRequest\032\035.google.firestore.v1.Docume" - + "nt\"8\202\323\344\223\0022\0220/v1/{name=projects/*/databas" - + "es/*/documents/*/**}\022\365\001\n\rListDocuments\022)" - + ".google.firestore.v1.ListDocumentsReques" - + "t\032*.google.firestore.v1.ListDocumentsRes" - + "ponse\"\214\001\202\323\344\223\002\205\001\022B/v1/{parent=projects/*/" - + "databases/*/documents/*/**}/{collection_" - + "id}Z?\022=/v1/{parent=projects/*/databases/" - + "*/documents}/{collection_id}\022\277\001\n\016UpdateD" - + "ocument\022*.google.firestore.v1.UpdateDocu" - + "mentRequest\032\035.google.firestore.v1.Docume" - + "nt\"b\202\323\344\223\002E29/v1/{document.name=projects/" - + "*/databases/*/documents/*/**}:\010document\332" - + "A\024document,update_mask\022\225\001\n\016DeleteDocumen" - + "t\022*.google.firestore.v1.DeleteDocumentRe" - + "quest\032\026.google.protobuf.Empty\"?\202\323\344\223\0022*0/" - + "v1/{name=projects/*/databases/*/document" - + "s/*/**}\332A\004name\022\271\001\n\021BatchGetDocuments\022-.g" - + "oogle.firestore.v1.BatchGetDocumentsRequ" - + "est\032..google.firestore.v1.BatchGetDocume" - + "ntsResponse\"C\202\323\344\223\002=\"8/v1/{database=proje" - + "cts/*/databases/*}/documents:batchGet:\001*" - + "0\001\022\307\001\n\020BeginTransaction\022,.google.firesto" - + "re.v1.BeginTransactionRequest\032-.google.f" - + "irestore.v1.BeginTransactionResponse\"V\202\323" - + "\344\223\002E\"@/v1/{database=projects/*/databases" - + "/*}/documents:beginTransaction:\001*\332A\010data" - + "base\022\246\001\n\006Commit\022\".google.firestore.v1.Co" - + "mmitRequest\032#.google.firestore.v1.Commit" - + "Response\"S\202\323\344\223\002;\"6/v1/{database=projects" - + "/*/databases/*}/documents:commit:\001*\332A\017da" - + "tabase,writes\022\244\001\n\010Rollback\022$.google.fire" - + "store.v1.RollbackRequest\032\026.google.protob" - + "uf.Empty\"Z\202\323\344\223\002=\"8/v1/{database=projects" - + "/*/databases/*}/documents:rollback:\001*\332A\024" - + "database,transaction\022\337\001\n\010RunQuery\022$.goog" - + "le.firestore.v1.RunQueryRequest\032%.google" - + ".firestore.v1.RunQueryResponse\"\203\001\202\323\344\223\002}\"" - + "6/v1/{parent=projects/*/databases/*/docu" - + "ments}:runQuery:\001*Z@\";/v1/{parent=projec" - + "ts/*/databases/*/documents/*/**}:runQuer" - + "y:\001*0\001\022\227\002\n\023RunAggregationQuery\022/.google." - + "firestore.v1.RunAggregationQueryRequest\032" - + "0.google.firestore.v1.RunAggregationQuer" - + "yResponse\"\232\001\202\323\344\223\002\223\001\"A/v1/{parent=project" - + "s/*/databases/*/documents}:runAggregatio" - + "nQuery:\001*ZK\"F/v1/{parent=projects/*/data" - + "bases/*/documents/*/**}:runAggregationQu" - + "ery:\001*0\001\022\374\001\n\016PartitionQuery\022*.google.fir" - + "estore.v1.PartitionQueryRequest\032+.google" - + ".firestore.v1.PartitionQueryResponse\"\220\001\202" - + "\323\344\223\002\211\001\" Date: Mon, 3 Oct 2022 17:23:02 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../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 | 1205 ++-- .../google/firestore/v1/FirestoreGrpc.java | 2038 +++++++ .../google/firestore/v1/FirestoreGrpc.java | 1611 ------ .../firestore/admin/v1/DatabaseProto.java | 83 - .../admin/v1/DeleteIndexRequestOrBuilder.java | 31 - .../google/firestore/admin/v1/FieldProto.java | 104 - .../admin/v1/FirestoreAdminProto.java | 366 -- .../admin/v1/GetDatabaseRequestOrBuilder.java | 31 - .../admin/v1/GetFieldRequestOrBuilder.java | 31 - .../admin/v1/GetIndexRequestOrBuilder.java | 31 - .../google/firestore/admin/v1/IndexProto.java | 92 - .../v1/ListDatabasesRequestOrBuilder.java | 31 - .../admin/v1/LocationMetadataOrBuilder.java | 9 - .../firestore/admin/v1/LocationProto.java | 54 - .../firestore/admin/v1/OperationProto.java | 192 - .../firestore/admin/v1/ProgressOrBuilder.java | 29 - .../v1/UpdateDatabaseMetadataOrBuilder.java | 9 - .../google/firestore/bundle/BundleProto.java | 126 - .../firestore/v1/AggregationResultProto.java | 71 - .../v1/BeginTransactionResponseOrBuilder.java | 19 - .../com/google/firestore/v1/CommonProto.java | 110 - .../google/firestore/v1/DocumentProto.java | 138 - .../google/firestore/v1/FirestoreProto.java | 678 --- .../com/google/firestore/v1/QueryProto.java | 258 - .../com/google/firestore/v1/WriteProto.java | 174 - .../admin/v1/CollectionGroupName.java | 0 .../admin/v1/CreateIndexRequest.java | 470 +- .../admin/v1/CreateIndexRequestOrBuilder.java | 52 +- .../google/firestore/admin/v1/Database.java | 1000 ++-- .../firestore/admin/v1/DatabaseName.java | 0 .../firestore/admin/v1/DatabaseOrBuilder.java | 80 +- .../firestore/admin/v1/DatabaseProto.java | 104 + .../admin/v1/DeleteIndexRequest.java | 355 +- .../admin/v1/DeleteIndexRequestOrBuilder.java | 56 + .../admin/v1/ExportDocumentsMetadata.java | 826 ++- .../v1/ExportDocumentsMetadataOrBuilder.java | 83 +- .../admin/v1/ExportDocumentsRequest.java | 539 +- .../v1/ExportDocumentsRequestOrBuilder.java | 62 +- .../admin/v1/ExportDocumentsResponse.java | 330 +- .../v1/ExportDocumentsResponseOrBuilder.java | 27 +- .../com/google/firestore/admin/v1/Field.java | 1465 +++-- .../google/firestore/admin/v1/FieldName.java | 0 .../admin/v1/FieldOperationMetadata.java | 2170 +++++--- .../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 | 355 +- .../admin/v1/GetDatabaseRequestOrBuilder.java | 56 + .../firestore/admin/v1/GetFieldRequest.java | 348 +- .../admin/v1/GetFieldRequestOrBuilder.java | 56 + .../firestore/admin/v1/GetIndexRequest.java | 348 +- .../admin/v1/GetIndexRequestOrBuilder.java | 56 + .../admin/v1/ImportDocumentsMetadata.java | 826 ++- .../v1/ImportDocumentsMetadataOrBuilder.java | 83 +- .../admin/v1/ImportDocumentsRequest.java | 539 +- .../v1/ImportDocumentsRequestOrBuilder.java | 62 +- .../com/google/firestore/admin/v1/Index.java | 1366 +++-- .../google/firestore/admin/v1/IndexName.java | 0 .../admin/v1/IndexOperationMetadata.java | 716 ++- .../v1/IndexOperationMetadataOrBuilder.java | 65 +- .../firestore/admin/v1/IndexOrBuilder.java | 57 +- .../google/firestore/admin/v1/IndexProto.java | 108 + .../admin/v1/ListDatabasesRequest.java | 355 +- .../v1/ListDatabasesRequestOrBuilder.java | 56 + .../admin/v1/ListDatabasesResponse.java | 406 +- .../v1/ListDatabasesResponseOrBuilder.java | 36 +- .../firestore/admin/v1/ListFieldsRequest.java | 538 +- .../admin/v1/ListFieldsRequestOrBuilder.java | 56 +- .../admin/v1/ListFieldsResponse.java | 482 +- .../admin/v1/ListFieldsResponseOrBuilder.java | 46 +- .../admin/v1/ListIndexesRequest.java | 540 +- .../admin/v1/ListIndexesRequestOrBuilder.java | 56 +- .../admin/v1/ListIndexesResponse.java | 482 +- .../v1/ListIndexesResponseOrBuilder.java | 46 +- .../firestore/admin/v1/LocationMetadata.java | 244 +- .../admin/v1/LocationMetadataOrBuilder.java | 24 + .../firestore/admin/v1/LocationProto.java | 65 + .../firestore/admin/v1/OperationProto.java | 237 + .../firestore/admin/v1/OperationState.java | 117 +- .../google/firestore/admin/v1/Progress.java | 313 +- .../firestore/admin/v1/ProgressOrBuilder.java | 51 + .../firestore/admin/v1/ProjectName.java | 0 .../admin/v1/UpdateDatabaseMetadata.java | 251 +- .../v1/UpdateDatabaseMetadataOrBuilder.java | 24 + .../admin/v1/UpdateDatabaseRequest.java | 471 +- .../v1/UpdateDatabaseRequestOrBuilder.java | 46 +- .../admin/v1/UpdateFieldRequest.java | 449 +- .../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 | 717 +-- .../bundle/BundleElementOrBuilder.java | 42 +- .../firestore/bundle/BundleMetadata.java | 501 +- .../bundle/BundleMetadataOrBuilder.java | 44 +- .../google/firestore/bundle/BundleProto.java | 145 + .../bundle/BundledDocumentMetadata.java | 543 +- .../BundledDocumentMetadataOrBuilder.java | 56 +- .../google/firestore/bundle/BundledQuery.java | 561 +- .../bundle/BundledQueryOrBuilder.java | 37 +- .../google/firestore/bundle/NamedQuery.java | 470 +- .../firestore/bundle/NamedQueryOrBuilder.java | 43 +- .../google/firestore/bundle/bundle.proto | 0 .../firestore/v1/AggregationResult.java | 482 +- .../v1/AggregationResultOrBuilder.java | 49 +- .../firestore/v1/AggregationResultProto.java | 87 + .../com/google/firestore/v1/ArrayValue.java | 396 +- .../firestore/v1/ArrayValueOrBuilder.java | 37 +- .../v1/BatchGetDocumentsRequest.java | 798 ++- .../v1/BatchGetDocumentsRequestOrBuilder.java | 78 +- .../v1/BatchGetDocumentsResponse.java | 592 +- .../BatchGetDocumentsResponseOrBuilder.java | 49 +- .../firestore/v1/BatchWriteRequest.java | 740 +-- .../v1/BatchWriteRequestOrBuilder.java | 77 +- .../firestore/v1/BatchWriteResponse.java | 558 +- .../v1/BatchWriteResponseOrBuilder.java | 55 +- .../firestore/v1/BeginTransactionRequest.java | 412 +- .../v1/BeginTransactionRequestOrBuilder.java | 35 +- .../v1/BeginTransactionResponse.java | 285 +- .../v1/BeginTransactionResponseOrBuilder.java | 38 + .../google/firestore/v1/CommitRequest.java | 511 +- .../firestore/v1/CommitRequestOrBuilder.java | 49 +- .../google/firestore/v1/CommitResponse.java | 473 +- .../firestore/v1/CommitResponseOrBuilder.java | 44 +- .../com/google/firestore/v1/CommonProto.java | 129 + .../firestore/v1/CreateDocumentRequest.java | 678 ++- .../v1/CreateDocumentRequestOrBuilder.java | 70 +- .../java/com/google/firestore/v1/Cursor.java | 423 +- .../google/firestore/v1/CursorOrBuilder.java | 40 +- .../firestore/v1/DeleteDocumentRequest.java | 406 +- .../v1/DeleteDocumentRequestOrBuilder.java | 35 +- .../com/google/firestore/v1/Document.java | 716 ++- .../google/firestore/v1/DocumentChange.java | 515 +- .../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 | 74 +- .../google/firestore/v1/DocumentProto.java | 168 + .../google/firestore/v1/DocumentRemove.java | 486 +- .../firestore/v1/DocumentRemoveOrBuilder.java | 44 +- .../firestore/v1/DocumentTransform.java | 1664 ++++-- .../v1/DocumentTransformOrBuilder.java | 57 +- .../google/firestore/v1/ExistenceFilter.java | 311 +- .../v1/ExistenceFilterOrBuilder.java | 24 +- .../google/firestore/v1/FirestoreProto.java | 777 +++ .../firestore/v1/GetDocumentRequest.java | 586 +- .../v1/GetDocumentRequestOrBuilder.java | 52 +- .../v1/ListCollectionIdsRequest.java | 567 +- .../v1/ListCollectionIdsRequestOrBuilder.java | 50 +- .../v1/ListCollectionIdsResponse.java | 434 +- .../ListCollectionIdsResponseOrBuilder.java | 45 +- .../firestore/v1/ListDocumentsRequest.java | 902 +-- .../v1/ListDocumentsRequestOrBuilder.java | 85 +- .../firestore/v1/ListDocumentsResponse.java | 474 +- .../v1/ListDocumentsResponseOrBuilder.java | 46 +- .../google/firestore/v1/ListenRequest.java | 764 +-- .../firestore/v1/ListenRequestOrBuilder.java | 72 +- .../google/firestore/v1/ListenResponse.java | 752 ++- .../firestore/v1/ListenResponseOrBuilder.java | 58 +- .../com/google/firestore/v1/MapValue.java | 476 +- .../firestore/v1/MapValueOrBuilder.java | 49 +- .../firestore/v1/PartitionQueryRequest.java | 731 ++- .../v1/PartitionQueryRequestOrBuilder.java | 61 +- .../firestore/v1/PartitionQueryResponse.java | 474 +- .../v1/PartitionQueryResponseOrBuilder.java | 46 +- .../com/google/firestore/v1/Precondition.java | 429 +- .../firestore/v1/PreconditionOrBuilder.java | 32 +- .../com/google/firestore/v1/QueryProto.java | 289 + .../google/firestore/v1/RollbackRequest.java | 354 +- .../v1/RollbackRequestOrBuilder.java | 30 +- .../v1/RunAggregationQueryRequest.java | 784 ++- .../RunAggregationQueryRequestOrBuilder.java | 63 +- .../v1/RunAggregationQueryResponse.java | 445 +- .../RunAggregationQueryResponseOrBuilder.java | 37 +- .../google/firestore/v1/RunQueryRequest.java | 729 ++- .../v1/RunQueryRequestOrBuilder.java | 60 +- .../google/firestore/v1/RunQueryResponse.java | 562 +- .../v1/RunQueryResponseOrBuilder.java | 49 +- .../v1/StructuredAggregationQuery.java | 1599 ++++-- .../StructuredAggregationQueryOrBuilder.java | 60 +- .../google/firestore/v1/StructuredQuery.java | 4866 +++++++++++------ .../v1/StructuredQueryOrBuilder.java | 97 +- .../java/com/google/firestore/v1/Target.java | 1535 ++++-- .../com/google/firestore/v1/TargetChange.java | 669 ++- .../firestore/v1/TargetChangeOrBuilder.java | 52 +- .../google/firestore/v1/TargetOrBuilder.java | 54 +- .../firestore/v1/TransactionOptions.java | 1125 ++-- .../v1/TransactionOptionsOrBuilder.java | 34 +- .../firestore/v1/UpdateDocumentRequest.java | 619 ++- .../v1/UpdateDocumentRequestOrBuilder.java | 59 +- .../java/com/google/firestore/v1/Value.java | 1162 ++-- .../google/firestore/v1/ValueOrBuilder.java | 107 +- .../java/com/google/firestore/v1/Write.java | 982 ++-- .../google/firestore/v1/WriteOrBuilder.java | 91 +- .../com/google/firestore/v1/WriteProto.java | 208 + .../com/google/firestore/v1/WriteRequest.java | 849 +-- .../firestore/v1/WriteRequestOrBuilder.java | 89 +- .../google/firestore/v1/WriteResponse.java | 588 +- .../firestore/v1/WriteResponseOrBuilder.java | 56 +- .../com/google/firestore/v1/WriteResult.java | 469 +- .../firestore/v1/WriteResultOrBuilder.java | 44 +- .../firestore/v1/aggregation_result.proto | 0 .../proto/google/firestore/v1/common.proto | 0 .../proto/google/firestore/v1/document.proto | 0 .../proto/google/firestore/v1/firestore.proto | 0 .../proto/google/firestore/v1/query.proto | 0 .../proto/google/firestore/v1/write.proto | 0 245 files changed, 42453 insertions(+), 26425 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 (54%) create mode 100644 grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Database.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/DatabaseName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java (78%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java (62%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java (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/ExportDocumentsMetadataOrBuilder.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Field.java (76%) 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 (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/FieldOperationMetadataOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java (87%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java (61%) 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 (62%) 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 (62%) 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 (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/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 (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/IndexOperationMetadataOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java (88%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java (61%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java (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/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 (65%) 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 (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/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 (65%) 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 (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/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 (72%) 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 (71%) 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 (76%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java (65%) create mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java (76%) create mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java (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 (67%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java (54%) 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 (78%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/MapValue.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java (85%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java (85%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Precondition.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java (71%) create mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RollbackRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java (61%) 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 (74%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TargetChange.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java (85%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TargetOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TransactionOptions.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java (74%) 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 (76%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteOrBuilder.java (86%) create mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResult.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/aggregation_result.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/common.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/document.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/firestore.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/query.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/write.proto (100%) diff --git a/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 24861d73d9..2ce348b443 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 e188ecc7e0..88c45dec5a 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 @@ -31,7 +31,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 0dcad2d8f6..a34ad29f43 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 54% 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 7567626fb5..9632d6baf6 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.
@@ -477,61 +643,82 @@ public FirestoreAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOpt
    * service `google.longrunning.Operations`.
    * 
*/ - public static abstract class FirestoreAdminImplBase implements io.grpc.BindableService { + public abstract static class FirestoreAdminImplBase implements io.grpc.BindableService { /** + * + * *
      * 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateIndexMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateIndexMethod(), responseObserver); } /** + * + * *
      * Lists composite indexes.
      * 
*/ - public void listIndexes(com.google.firestore.admin.v1.ListIndexesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListIndexesMethod(), responseObserver); + public 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.
      * 
*/ - 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.ServerCalls.asyncUnimplementedUnaryCall(getGetIndexMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getDeleteIndexMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteIndexMethod(), 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.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 @@ 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.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 @@ 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.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 @@ 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.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,132 +792,141 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getImportDocumentsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportDocumentsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDatabaseMethod(), responseObserver); } /** + * + * *
      * List all the databases in the project.
      * 
*/ - public void listDatabases(com.google.firestore.admin.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabasesMethod(), responseObserver); + public void listDatabases( + com.google.firestore.admin.v1.ListDatabasesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDatabasesMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDatabaseMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { 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>( - this, METHODID_CREATE_INDEX))) + getCreateIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.CreateIndexRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_INDEX))) .addMethod( - getListIndexesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ListIndexesRequest, - com.google.firestore.admin.v1.ListIndexesResponse>( - this, METHODID_LIST_INDEXES))) + getListIndexesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ListIndexesRequest, + com.google.firestore.admin.v1.ListIndexesResponse>( + this, METHODID_LIST_INDEXES))) .addMethod( - getGetIndexMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.GetIndexRequest, - com.google.firestore.admin.v1.Index>( - this, METHODID_GET_INDEX))) + getGetIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.GetIndexRequest, + com.google.firestore.admin.v1.Index>(this, METHODID_GET_INDEX))) .addMethod( - getDeleteIndexMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.DeleteIndexRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_INDEX))) + getDeleteIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.DeleteIndexRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_INDEX))) .addMethod( - getGetFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.GetFieldRequest, - com.google.firestore.admin.v1.Field>( - this, METHODID_GET_FIELD))) + getGetFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.GetFieldRequest, + com.google.firestore.admin.v1.Field>(this, METHODID_GET_FIELD))) .addMethod( - getUpdateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.UpdateFieldRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_FIELD))) + getUpdateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.UpdateFieldRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_FIELD))) .addMethod( - getListFieldsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ListFieldsRequest, - com.google.firestore.admin.v1.ListFieldsResponse>( - this, METHODID_LIST_FIELDS))) + getListFieldsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ListFieldsRequest, + com.google.firestore.admin.v1.ListFieldsResponse>( + this, METHODID_LIST_FIELDS))) .addMethod( - getExportDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ExportDocumentsRequest, - com.google.longrunning.Operation>( - this, METHODID_EXPORT_DOCUMENTS))) + getExportDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ExportDocumentsRequest, + com.google.longrunning.Operation>(this, METHODID_EXPORT_DOCUMENTS))) .addMethod( - getImportDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ImportDocumentsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_DOCUMENTS))) + getImportDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ImportDocumentsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_DOCUMENTS))) .addMethod( - getGetDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.GetDatabaseRequest, - com.google.firestore.admin.v1.Database>( - this, METHODID_GET_DATABASE))) + getGetDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.GetDatabaseRequest, + com.google.firestore.admin.v1.Database>(this, METHODID_GET_DATABASE))) .addMethod( - getListDatabasesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ListDatabasesRequest, - com.google.firestore.admin.v1.ListDatabasesResponse>( - this, METHODID_LIST_DATABASES))) + getListDatabasesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ListDatabasesRequest, + com.google.firestore.admin.v1.ListDatabasesResponse>( + this, METHODID_LIST_DATABASES))) .addMethod( - getUpdateDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.UpdateDatabaseRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_DATABASE))) + getUpdateDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.UpdateDatabaseRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_DATABASE))) .build(); } } /** + * + * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -742,76 +950,99 @@ public void updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest r
    * service `google.longrunning.Operations`.
    * 
*/ - public static final class FirestoreAdminStub extends io.grpc.stub.AbstractAsyncStub { - private FirestoreAdminStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class FirestoreAdminStub + extends io.grpc.stub.AbstractAsyncStub { + 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
@@ -826,13 +1057,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
@@ -841,13 +1077,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
@@ -861,13 +1101,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
@@ -876,47 +1121,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); } } /** + * + * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -940,9 +1206,9 @@ public void updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest r
    * service `google.longrunning.Operations`.
    * 
*/ - public static final class FirestoreAdminBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private FirestoreAdminBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class FirestoreAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private FirestoreAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -953,58 +1219,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
@@ -1019,12 +1302,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
@@ -1033,12 +1319,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
@@ -1052,12 +1341,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
@@ -1066,43 +1358,55 @@ 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); } } /** + * + * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -1126,9 +1430,9 @@ public com.google.longrunning.Operation updateDatabase(com.google.firestore.admi
    * service `google.longrunning.Operations`.
    * 
*/ - public static final class FirestoreAdminFutureStub extends io.grpc.stub.AbstractFutureStub { - private FirestoreAdminFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class FirestoreAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private FirestoreAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1139,63 +1443,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
@@ -1210,13 +1527,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
@@ -1225,13 +1544,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
@@ -1245,13 +1567,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
@@ -1260,41 +1584,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); } @@ -1313,11 +1645,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 FirestoreAdminImplBase serviceImpl; private final int methodId; @@ -1331,51 +1663,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: @@ -1394,8 +1742,9 @@ public io.grpc.stub.StreamObserver invoke( } } - 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 @@ -1437,21 +1786,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..0475a2d7b8 --- /dev/null +++ b/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java @@ -0,0 +1,2038 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 (GCP) 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 (GCP) accelerate
+   * building truly serverless apps.
+   * 
+ */ + public abstract static class FirestoreImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Gets a single document.
+     * 
+ */ + public void getDocument( + com.google.firestore.v1.GetDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDocumentMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists documents.
+     * 
+ */ + public 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.
+     * 
+ */ + public void updateDocument( + com.google.firestore.v1.UpdateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDocumentMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a document.
+     * 
+ */ + public 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.
+     * 
+ */ + public void batchGetDocuments( + com.google.firestore.v1.BatchGetDocumentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchGetDocumentsMethod(), responseObserver); + } + + /** + * + * + *
+     * Starts a new transaction.
+     * 
+ */ + public 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.
+     * 
+ */ + public void commit( + com.google.firestore.v1.CommitRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitMethod(), responseObserver); + } + + /** + * + * + *
+     * Rolls back a transaction.
+     * 
+ */ + public void rollback( + com.google.firestore.v1.RollbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackMethod(), responseObserver); + } + + /** + * + * + *
+     * Runs a query.
+     * 
+ */ + public 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 );
+     * ```
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public io.grpc.stub.StreamObserver write( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( + getWriteMethod(), responseObserver); + } + + /** + * + * + *
+     * Listens to changes.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void batchWrite( + com.google.firestore.v1.BatchWriteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchWriteMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new document.
+     * 
+ */ + public void createDocument( + com.google.firestore.v1.CreateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDocumentMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, METHODID_GET_DOCUMENT))) + .addMethod( + getListDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.ListDocumentsRequest, + com.google.firestore.v1.ListDocumentsResponse>( + this, METHODID_LIST_DOCUMENTS))) + .addMethod( + getUpdateDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.UpdateDocumentRequest, + com.google.firestore.v1.Document>(this, METHODID_UPDATE_DOCUMENT))) + .addMethod( + getDeleteDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_DOCUMENT))) + .addMethod( + getBatchGetDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.BatchGetDocumentsRequest, + com.google.firestore.v1.BatchGetDocumentsResponse>( + this, METHODID_BATCH_GET_DOCUMENTS))) + .addMethod( + getBeginTransactionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.BeginTransactionRequest, + com.google.firestore.v1.BeginTransactionResponse>( + this, METHODID_BEGIN_TRANSACTION))) + .addMethod( + getCommitMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitResponse>(this, METHODID_COMMIT))) + .addMethod( + getRollbackMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.RollbackRequest, com.google.protobuf.Empty>( + this, METHODID_ROLLBACK))) + .addMethod( + getRunQueryMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.RunQueryRequest, + com.google.firestore.v1.RunQueryResponse>(this, METHODID_RUN_QUERY))) + .addMethod( + getRunAggregationQueryMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.RunAggregationQueryRequest, + com.google.firestore.v1.RunAggregationQueryResponse>( + this, METHODID_RUN_AGGREGATION_QUERY))) + .addMethod( + getPartitionQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.PartitionQueryRequest, + com.google.firestore.v1.PartitionQueryResponse>( + this, METHODID_PARTITION_QUERY))) + .addMethod( + getWriteMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse>( + this, METHODID_WRITE))) + .addMethod( + getListenMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.firestore.v1.ListenRequest, + com.google.firestore.v1.ListenResponse>(this, METHODID_LISTEN))) + .addMethod( + getListCollectionIdsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.ListCollectionIdsRequest, + com.google.firestore.v1.ListCollectionIdsResponse>( + this, METHODID_LIST_COLLECTION_IDS))) + .addMethod( + getBatchWriteMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.BatchWriteRequest, + com.google.firestore.v1.BatchWriteResponse>(this, METHODID_BATCH_WRITE))) + .addMethod( + getCreateDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.CreateDocumentRequest, + com.google.firestore.v1.Document>(this, METHODID_CREATE_DOCUMENT))) + .build(); + } + } + + /** + * + * + *
+   * 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 (GCP) 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.
+     * 
+ */ + 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.
+     * 
+ */ + 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); + } + } + + /** + * + * + *
+   * 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 (GCP) 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); + } + } + + /** + * + * + *
+   * 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 (GCP) 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 FirestoreImplBase serviceImpl; + private final int methodId; + + MethodHandlers(FirestoreImplBase 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(); + } + } + } + + 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 f473d91f40..0000000000 --- a/owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java +++ /dev/null @@ -1,1611 +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 (GCP) 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 (GCP) accelerate
-   * building truly serverless apps.
-   * 
- */ - public static abstract class FirestoreImplBase implements io.grpc.BindableService { - - /** - *
-     * Gets a single document.
-     * 
- */ - public void getDocument(com.google.firestore.v1.GetDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDocumentMethod(), responseObserver); - } - - /** - *
-     * Lists documents.
-     * 
- */ - public 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.
-     * 
- */ - public void updateDocument(com.google.firestore.v1.UpdateDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDocumentMethod(), responseObserver); - } - - /** - *
-     * Deletes a document.
-     * 
- */ - public 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.
-     * 
- */ - public void batchGetDocuments(com.google.firestore.v1.BatchGetDocumentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetDocumentsMethod(), responseObserver); - } - - /** - *
-     * Starts a new transaction.
-     * 
- */ - public 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.
-     * 
- */ - public void commit(com.google.firestore.v1.CommitRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitMethod(), responseObserver); - } - - /** - *
-     * Rolls back a transaction.
-     * 
- */ - public void rollback(com.google.firestore.v1.RollbackRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackMethod(), responseObserver); - } - - /** - *
-     * Runs a query.
-     * 
- */ - public 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 );
-     * ```
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public io.grpc.stub.StreamObserver write( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getWriteMethod(), responseObserver); - } - - /** - *
-     * Listens to changes.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void batchWrite(com.google.firestore.v1.BatchWriteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchWriteMethod(), responseObserver); - } - - /** - *
-     * Creates a new document.
-     * 
- */ - public void createDocument(com.google.firestore.v1.CreateDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDocumentMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, METHODID_GET_DOCUMENT))) - .addMethod( - getListDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.ListDocumentsRequest, - com.google.firestore.v1.ListDocumentsResponse>( - this, METHODID_LIST_DOCUMENTS))) - .addMethod( - getUpdateDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.UpdateDocumentRequest, - com.google.firestore.v1.Document>( - this, METHODID_UPDATE_DOCUMENT))) - .addMethod( - getDeleteDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.DeleteDocumentRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DOCUMENT))) - .addMethod( - getBatchGetDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.firestore.v1.BatchGetDocumentsRequest, - com.google.firestore.v1.BatchGetDocumentsResponse>( - this, METHODID_BATCH_GET_DOCUMENTS))) - .addMethod( - getBeginTransactionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.BeginTransactionRequest, - com.google.firestore.v1.BeginTransactionResponse>( - this, METHODID_BEGIN_TRANSACTION))) - .addMethod( - getCommitMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.CommitRequest, - com.google.firestore.v1.CommitResponse>( - this, METHODID_COMMIT))) - .addMethod( - getRollbackMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.RollbackRequest, - com.google.protobuf.Empty>( - this, METHODID_ROLLBACK))) - .addMethod( - getRunQueryMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.firestore.v1.RunQueryRequest, - com.google.firestore.v1.RunQueryResponse>( - this, METHODID_RUN_QUERY))) - .addMethod( - getRunAggregationQueryMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.firestore.v1.RunAggregationQueryRequest, - com.google.firestore.v1.RunAggregationQueryResponse>( - this, METHODID_RUN_AGGREGATION_QUERY))) - .addMethod( - getPartitionQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.PartitionQueryRequest, - com.google.firestore.v1.PartitionQueryResponse>( - this, METHODID_PARTITION_QUERY))) - .addMethod( - getWriteMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.firestore.v1.WriteRequest, - com.google.firestore.v1.WriteResponse>( - this, METHODID_WRITE))) - .addMethod( - getListenMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.firestore.v1.ListenRequest, - com.google.firestore.v1.ListenResponse>( - this, METHODID_LISTEN))) - .addMethod( - getListCollectionIdsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.ListCollectionIdsRequest, - com.google.firestore.v1.ListCollectionIdsResponse>( - this, METHODID_LIST_COLLECTION_IDS))) - .addMethod( - getBatchWriteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.BatchWriteRequest, - com.google.firestore.v1.BatchWriteResponse>( - this, METHODID_BATCH_WRITE))) - .addMethod( - getCreateDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.CreateDocumentRequest, - com.google.firestore.v1.Document>( - this, METHODID_CREATE_DOCUMENT))) - .build(); - } - } - - /** - *
-   * 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 (GCP) 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.
-     * 
- */ - 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.
-     * 
- */ - 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); - } - } - - /** - *
-   * 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 (GCP) 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); - } - } - - /** - *
-   * 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 (GCP) 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 FirestoreImplBase serviceImpl; - private final int methodId; - - MethodHandlers(FirestoreImplBase 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(); - } - } - } - - 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 93bf6bdb0e..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\"\320\005\n\010Database\022\014\n\004name\030\001 \001(\t\022\023\n\013" + - "location_id\030\t \001(\t\022>\n\004type\030\n \001(\01620.google" + - ".firestore.admin.v1.Database.DatabaseTyp" + - "e\022M\n\020concurrency_mode\030\017 \001(\01623.google.fir" + - "estore.admin.v1.Database.ConcurrencyMode" + - "\022a\n\033app_engine_integration_mode\030\023 \001(\0162<." + - "google.firestore.admin.v1.Database.AppEn" + - "gineIntegrationMode\022\027\n\nkey_prefix\030\024 \001(\tB" + - "\003\340A\003\022\014\n\004etag\030c \001(\t\"W\n\014DatabaseType\022\035\n\031DA" + - "TABASE_TYPE_UNSPECIFIED\020\000\022\024\n\020FIRESTORE_N" + - "ATIVE\020\001\022\022\n\016DATASTORE_MODE\020\002\"w\n\017Concurren" + - "cyMode\022 \n\034CONCURRENCY_MODE_UNSPECIFIED\020\000" + - "\022\016\n\nOPTIMISTIC\020\001\022\017\n\013PESSIMISTIC\020\002\022!\n\035OPT" + - "IMISTIC_WITH_ENTITY_GROUPS\020\003\"b\n\030AppEngin" + - "eIntegrationMode\022+\n\'APP_ENGINE_INTEGRATI" + - "ON_MODE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DI" + - "SABLED\020\002:R\352AO\n!firestore.googleapis.com/" + - "Database\022\'projects/{project}/databases/{" + - "database}R\001\001B\341\001\n\035com.google.firestore.ad" + - "min.v1B\rDatabaseProtoP\001Z>google.golang.o" + - "rg/genproto/googleapis/firestore/admin/v" + - "1;admin\242\002\004GCFS\252\002\037Google.Cloud.Firestore." + - "Admin.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\" + - "V1\352\002#Google::Cloud::Firestore::Admin::V1" + - "b\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(), - }); - 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 feff7049a4..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\"\305\004\n\005Field\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\014in" + - "dex_config\030\002 \001(\0132,.google.firestore.admi" + - "n.v1.Field.IndexConfig\022>\n\nttl_config\030\003 \001" + - "(\0132*.google.firestore.admin.v1.Field.Ttl" + - "Config\032\211\001\n\013IndexConfig\0221\n\007indexes\030\001 \003(\0132" + - " .google.firestore.admin.v1.Index\022\034\n\024use" + - "s_ancestor_config\030\002 \001(\010\022\026\n\016ancestor_fiel" + - "d\030\003 \001(\t\022\021\n\treverting\030\004 \001(\010\032\235\001\n\tTtlConfig" + - "\022D\n\005state\030\001 \001(\01620.google.firestore.admin" + - ".v1.Field.TtlConfig.StateB\003\340A\003\"J\n\005State\022" + - "\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006" + - "ACTIVE\020\002\022\020\n\014NEEDS_REPAIR\020\003:y\352Av\n\036firesto" + - "re.googleapis.com/Field\022Tprojects/{proje" + - "ct}/databases/{database}/collectionGroup" + - "s/{collection}/fields/{field}B\336\001\n\035com.go" + - "ogle.firestore.admin.v1B\nFieldProtoP\001Z>g" + - "oogle.golang.org/genproto/googleapis/fir" + - "estore/admin/v1;admin\242\002\004GCFS\252\002\037Google.Cl" + - "oud.Firestore.Admin.V1\312\002\037Google\\Cloud\\Fi" + - "restore\\Admin\\V1\352\002#Google::Cloud::Firest" + - "ore::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 9df694d3b8..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\"Q\n\024ListDatabasesRequest\0229\n\006p" + - "arent\030\001 \001(\tB)\340A\002\372A#\022!firestore.googleapi" + - "s.com/Database\"O\n\025ListDatabasesResponse\022" + - "6\n\tdatabases\030\001 \003(\0132#.google.firestore.ad" + - "min.v1.Database\"M\n\022GetDatabaseRequest\0227\n" + - "\004name\030\001 \001(\tB)\340A\002\372A#\n!firestore.googleapi" + - "s.com/Database\"\204\001\n\025UpdateDatabaseRequest" + - "\022:\n\010database\030\001 \001(\0132#.google.firestore.ad" + - "min.v1.DatabaseB\003\340A\002\022/\n\013update_mask\030\002 \001(" + - "\0132\032.google.protobuf.FieldMask\"\030\n\026UpdateD" + - "atabaseMetadata\"\214\001\n\022CreateIndexRequest\022@" + - "\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(firestore.google" + - "apis.com/CollectionGroup\0224\n\005index\030\002 \001(\0132" + - " .google.firestore.admin.v1.IndexB\003\340A\002\"\215" + - "\001\n\022ListIndexesRequest\022@\n\006parent\030\001 \001(\tB0\340" + - "A\002\372A*\n(firestore.googleapis.com/Collecti" + - "onGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001" + - "(\005\022\022\n\npage_token\030\004 \001(\t\"a\n\023ListIndexesRes" + - "ponse\0221\n\007indexes\030\001 \003(\0132 .google.firestor" + - "e.admin.v1.Index\022\027\n\017next_page_token\030\002 \001(" + - "\t\"G\n\017GetIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" + - "A \n\036firestore.googleapis.com/Index\"J\n\022De" + - "leteIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036" + - "firestore.googleapis.com/Index\"{\n\022Update" + - "FieldRequest\0224\n\005field\030\001 \001(\0132 .google.fir" + - "estore.admin.v1.FieldB\003\340A\002\022/\n\013update_mas" + - "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"G\n\017G" + - "etFieldRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036fi" + - "restore.googleapis.com/Field\"\214\001\n\021ListFie" + - "ldsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(fire" + - "store.googleapis.com/CollectionGroup\022\016\n\006" + - "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_" + - "token\030\004 \001(\t\"_\n\022ListFieldsResponse\0220\n\006fie" + - "lds\030\001 \003(\0132 .google.firestore.admin.v1.Fi" + - "eld\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\026ExportD" + - "ocumentsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!f" + - "irestore.googleapis.com/Database\022\026\n\016coll" + - "ection_ids\030\002 \003(\t\022\031\n\021output_uri_prefix\030\003 " + - "\001(\t\"\203\001\n\026ImportDocumentsRequest\0227\n\004name\030\001" + - " \001(\tB)\340A\002\372A#\n!firestore.googleapis.com/D" + - "atabase\022\026\n\016collection_ids\030\002 \003(\t\022\030\n\020input" + - "_uri_prefix\030\003 \001(\t2\222\023\n\016FirestoreAdmin\022\333\001\n" + - "\013CreateIndex\022-.google.firestore.admin.v1" + - ".CreateIndexRequest\032\035.google.longrunning" + - ".Operation\"~\202\323\344\223\002G\">/v1/{parent=projects" + - "/*/databases/*/collectionGroups/*}/index" + - "es:\005index\332A\014parent,index\312A\037\n\005Index\022\026Inde" + - "xOperationMetadata\022\275\001\n\013ListIndexes\022-.goo" + - "gle.firestore.admin.v1.ListIndexesReques" + - "t\032..google.firestore.admin.v1.ListIndexe" + - "sResponse\"O\202\323\344\223\002@\022>/v1/{parent=projects/" + - "*/databases/*/collectionGroups/*}/indexe" + - "s\332A\006parent\022\247\001\n\010GetIndex\022*.google.firesto" + - "re.admin.v1.GetIndexRequest\032 .google.fir" + - "estore.admin.v1.Index\"M\202\323\344\223\002@\022>/v1/{name" + - "=projects/*/databases/*/collectionGroups" + - "/*/indexes/*}\332A\004name\022\243\001\n\013DeleteIndex\022-.g" + - "oogle.firestore.admin.v1.DeleteIndexRequ" + - "est\032\026.google.protobuf.Empty\"M\202\323\344\223\002@*>/v1" + - "/{name=projects/*/databases/*/collection" + - "Groups/*/indexes/*}\332A\004name\022\246\001\n\010GetField\022" + - "*.google.firestore.admin.v1.GetFieldRequ" + - "est\032 .google.firestore.admin.v1.Field\"L\202" + - "\323\344\223\002?\022=/v1/{name=projects/*/databases/*/" + - "collectionGroups/*/fields/*}\332A\004name\022\331\001\n\013" + - "UpdateField\022-.google.firestore.admin.v1." + - "UpdateFieldRequest\032\035.google.longrunning." + - "Operation\"|\202\323\344\223\002L2C/v1/{field.name=proje" + - "cts/*/databases/*/collectionGroups/*/fie" + - "lds/*}:\005field\332A\005field\312A\037\n\005Field\022\026FieldOp" + - "erationMetadata\022\271\001\n\nListFields\022,.google." + - "firestore.admin.v1.ListFieldsRequest\032-.g" + - "oogle.firestore.admin.v1.ListFieldsRespo" + - "nse\"N\202\323\344\223\002?\022=/v1/{parent=projects/*/data" + - "bases/*/collectionGroups/*}/fields\332A\006par" + - "ent\022\335\001\n\017ExportDocuments\0221.google.firesto" + - "re.admin.v1.ExportDocumentsRequest\032\035.goo" + - "gle.longrunning.Operation\"x\202\323\344\223\0026\"1/v1/{" + - "name=projects/*/databases/*}:exportDocum" + - "ents:\001*\332A\004name\312A2\n\027ExportDocumentsRespon" + - "se\022\027ExportDocumentsMetadata\022\333\001\n\017ImportDo" + - "cuments\0221.google.firestore.admin.v1.Impo" + - "rtDocumentsRequest\032\035.google.longrunning." + - "Operation\"v\202\323\344\223\0026\"1/v1/{name=projects/*/" + - "databases/*}:importDocuments:\001*\332A\004name\312A" + - "0\n\025google.protobuf.Empty\022\027ImportDocument" + - "sMetadata\022\223\001\n\013GetDatabase\022-.google.fires" + - "tore.admin.v1.GetDatabaseRequest\032#.googl" + - "e.firestore.admin.v1.Database\"0\202\323\344\223\002#\022!/" + - "v1/{name=projects/*/databases/*}\332A\004name\022" + - "\246\001\n\rListDatabases\022/.google.firestore.adm" + - "in.v1.ListDatabasesRequest\0320.google.fire" + - "store.admin.v1.ListDatabasesResponse\"2\202\323" + - "\344\223\002#\022!/v1/{parent=projects/*}/databases\332" + - "A\006parent\022\333\001\n\016UpdateDatabase\0220.google.fir" + - "estore.admin.v1.UpdateDatabaseRequest\032\035." + - "google.longrunning.Operation\"x\202\323\344\223\00262*/v" + - "1/{database.name=projects/*/databases/*}" + - ":\010database\332A\024database,update_mask\312A\"\n\010Da" + - "tabase\022\026UpdateDatabaseMetadata\032v\312A\030fires" + - "tore.googleapis.com\322AXhttps://www.google" + - "apis.com/auth/cloud-platform,https://www" + - ".googleapis.com/auth/datastoreB\252\003\n\035com.g" + - "oogle.firestore.admin.v1B\023FirestoreAdmin" + - "ProtoP\001Z>google.golang.org/genproto/goog" + - "leapis/firestore/admin/v1;admin\242\002\004GCFS\252\002" + - "\037Google.Cloud.Firestore.Admin.V1\312\002\037Googl" + - "e\\Cloud\\Firestore\\Admin\\V1\352\002#Google::Clo" + - "ud::Firestore::Admin::V1\352AL\n!firestore.g" + - "oogleapis.com/Location\022\'projects/{projec" + - "t}/locations/{location}\352Aq\n(firestore.go" + - "ogleapis.com/CollectionGroup\022Eprojects/{" + - "project}/databases/{database}/collection" + - "Groups/{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 e0e4ea362e..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,92 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/index.proto - -package com.google.firestore.admin.v1; - -public final class IndexProto { - private IndexProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Index_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Index_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Index_IndexField_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n%google/firestore/admin/v1/index.proto\022" + - "\031google.firestore.admin.v1\032\031google/api/r" + - "esource.proto\"\243\006\n\005Index\022\014\n\004name\030\001 \001(\t\022@\n" + - "\013query_scope\030\002 \001(\0162+.google.firestore.ad" + - "min.v1.Index.QueryScope\022;\n\006fields\030\003 \003(\0132" + - "+.google.firestore.admin.v1.Index.IndexF" + - "ield\0225\n\005state\030\004 \001(\0162&.google.firestore.a" + - "dmin.v1.Index.State\032\275\002\n\nIndexField\022\022\n\nfi" + - "eld_path\030\001 \001(\t\022B\n\005order\030\002 \001(\01621.google.f" + - "irestore.admin.v1.Index.IndexField.Order" + - "H\000\022O\n\014array_config\030\003 \001(\01627.google.firest" + - "ore.admin.v1.Index.IndexField.ArrayConfi" + - "gH\000\"=\n\005Order\022\025\n\021ORDER_UNSPECIFIED\020\000\022\r\n\tA" + - "SCENDING\020\001\022\016\n\nDESCENDING\020\002\"9\n\013ArrayConfi" + - "g\022\034\n\030ARRAY_CONFIG_UNSPECIFIED\020\000\022\014\n\010CONTA" + - "INS\020\001B\014\n\nvalue_mode\"O\n\nQueryScope\022\033\n\027QUE" + - "RY_SCOPE_UNSPECIFIED\020\000\022\016\n\nCOLLECTION\020\001\022\024" + - "\n\020COLLECTION_GROUP\020\002\"I\n\005State\022\025\n\021STATE_U" + - "NSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\020\n" + - "\014NEEDS_REPAIR\020\003:z\352Aw\n\036firestore.googleap" + - "is.com/Index\022Uprojects/{project}/databas" + - "es/{database}/collectionGroups/{collecti" + - "on}/indexes/{index}B\336\001\n\035com.google.fires" + - "tore.admin.v1B\nIndexProtoP\001Z>google.gola" + - "ng.org/genproto/googleapis/firestore/adm" + - "in/v1;admin\242\002\004GCFS\252\002\037Google.Cloud.Firest" + - "ore.Admin.V1\312\002\037Google\\Cloud\\Firestore\\Ad" + - "min\\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.ResourceProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_Index_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_Index_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Index_descriptor, - new java.lang.String[] { "Name", "QueryScope", "Fields", "State", }); - internal_static_google_firestore_admin_v1_Index_IndexField_descriptor = - internal_static_google_firestore_admin_v1_Index_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Index_IndexField_descriptor, - new java.lang.String[] { "FieldPath", "Order", "ArrayConfig", "ValueMode", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java deleted file mode 100644 index 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 ca038d70cd..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,54 +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\341\001\n\035com.google.firestore.admin" + - ".v1B\rLocationProtoP\001Z>google.golang.org/" + - "genproto/googleapis/firestore/admin/v1;a" + - "dmin\242\002\004GCFS\252\002\037Google.Cloud.Firestore.Adm" + - "in.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352" + - "\002#Google::Cloud::Firestore::Admin::V1b\006p" + - "roto3" - }; - 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 a259338af4..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\342\001\n\035c" + - "om.google.firestore.admin.v1B\016OperationP" + - "rotoP\001Z>google.golang.org/genproto/googl" + - "eapis/firestore/admin/v1;admin\242\002\004GCFS\252\002\037" + - "Google.Cloud.Firestore.Admin.V1\312\002\037Google" + - "\\Cloud\\Firestore\\Admin\\V1\352\002#Google::Clou" + - "d::Firestore::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 6a36dea653..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\221\001\n\033com.goo" + - "gle.firestore.bundleB\013BundleProtoP\001Z5goo" + - "gle.golang.org/genproto/firestore/bundle" + - ";firestore\242\002\005FSTPB\252\002\020Firestore.Bundle\312\002\020" + - "Firestore\\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 440ca870e0..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\317\001\n\027com.google.firestor" + - "e.v1B\026AggregationResultProtoP\001Z - * The transaction that was started. - *
- * - * bytes transaction = 1; - * @return The transaction. - */ - com.google.protobuf.ByteString getTransaction(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java deleted file mode 100644 index c4ff19db4e..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\304\001\n\027com.google.firestore.v1B\013Co" + - "mmonProtoP\001Z\n\006labels\030\004" + - " \003(\0132..google.firestore.v1.ListenRequest" + - ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + - "\022\r\n\005value\030\002 \001(\t:\0028\001B\017\n\rtarget_change\"\325\002\n" + - "\016ListenResponse\022:\n\rtarget_change\030\002 \001(\0132!" + - ".google.firestore.v1.TargetChangeH\000\022>\n\017d" + - "ocument_change\030\003 \001(\0132#.google.firestore." + - "v1.DocumentChangeH\000\022>\n\017document_delete\030\004" + - " \001(\0132#.google.firestore.v1.DocumentDelet" + - "eH\000\022>\n\017document_remove\030\006 \001(\0132#.google.fi" + - "restore.v1.DocumentRemoveH\000\0226\n\006filter\030\005 " + - "\001(\0132$.google.firestore.v1.ExistenceFilte" + - "rH\000B\017\n\rresponse_type\"\241\003\n\006Target\0228\n\005query" + - "\030\002 \001(\0132\'.google.firestore.v1.Target.Quer" + - "yTargetH\000\022@\n\tdocuments\030\003 \001(\0132+.google.fi" + - "restore.v1.Target.DocumentsTargetH\000\022\026\n\014r" + - "esume_token\030\004 \001(\014H\001\022/\n\tread_time\030\013 \001(\0132\032" + - ".google.protobuf.TimestampH\001\022\021\n\ttarget_i" + - "d\030\005 \001(\005\022\014\n\004once\030\006 \001(\010\032$\n\017DocumentsTarget" + - "\022\021\n\tdocuments\030\002 \003(\t\032m\n\013QueryTarget\022\016\n\006pa" + - "rent\030\001 \001(\t\022@\n\020structured_query\030\002 \001(\0132$.g" + - "oogle.firestore.v1.StructuredQueryH\000B\014\n\n" + - "query_typeB\r\n\013target_typeB\r\n\013resume_type" + - "\"\252\002\n\014TargetChange\022N\n\022target_change_type\030" + - "\001 \001(\01622.google.firestore.v1.TargetChange" + - ".TargetChangeType\022\022\n\ntarget_ids\030\002 \003(\005\022!\n" + - "\005cause\030\003 \001(\0132\022.google.rpc.Status\022\024\n\014resu" + - "me_token\030\004 \001(\014\022-\n\tread_time\030\006 \001(\0132\032.goog" + - "le.protobuf.Timestamp\"N\n\020TargetChangeTyp" + - "e\022\r\n\tNO_CHANGE\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\022\013\n" + - "\007CURRENT\020\003\022\t\n\005RESET\020\004\"\237\001\n\030ListCollection" + - "IdsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_" + - "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/\n\tread_t" + - "ime\030\004 \001(\0132\032.google.protobuf.TimestampH\000B" + - "\026\n\024consistency_selector\"L\n\031ListCollectio" + - "nIdsResponse\022\026\n\016collection_ids\030\001 \003(\t\022\027\n\017" + - "next_page_token\030\002 \001(\t\"\311\001\n\021BatchWriteRequ" + - "est\022\025\n\010database\030\001 \001(\tB\003\340A\002\022*\n\006writes\030\002 \003" + - "(\0132\032.google.firestore.v1.Write\022B\n\006labels" + - "\030\003 \003(\01322.google.firestore.v1.BatchWriteR" + - "equest.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"q\n\022BatchWriteR" + - "esponse\0227\n\rwrite_results\030\001 \003(\0132 .google." + - "firestore.v1.WriteResult\022\"\n\006status\030\002 \003(\013" + - "2\022.google.rpc.Status2\332\031\n\tFirestore\022\217\001\n\013G" + - "etDocument\022\'.google.firestore.v1.GetDocu" + - "mentRequest\032\035.google.firestore.v1.Docume" + - "nt\"8\202\323\344\223\0022\0220/v1/{name=projects/*/databas" + - "es/*/documents/*/**}\022\365\001\n\rListDocuments\022)" + - ".google.firestore.v1.ListDocumentsReques" + - "t\032*.google.firestore.v1.ListDocumentsRes" + - "ponse\"\214\001\202\323\344\223\002\205\001\022B/v1/{parent=projects/*/" + - "databases/*/documents/*/**}/{collection_" + - "id}Z?\022=/v1/{parent=projects/*/databases/" + - "*/documents}/{collection_id}\022\277\001\n\016UpdateD" + - "ocument\022*.google.firestore.v1.UpdateDocu" + - "mentRequest\032\035.google.firestore.v1.Docume" + - "nt\"b\202\323\344\223\002E29/v1/{document.name=projects/" + - "*/databases/*/documents/*/**}:\010document\332" + - "A\024document,update_mask\022\225\001\n\016DeleteDocumen" + - "t\022*.google.firestore.v1.DeleteDocumentRe" + - "quest\032\026.google.protobuf.Empty\"?\202\323\344\223\0022*0/" + - "v1/{name=projects/*/databases/*/document" + - "s/*/**}\332A\004name\022\271\001\n\021BatchGetDocuments\022-.g" + - "oogle.firestore.v1.BatchGetDocumentsRequ" + - "est\032..google.firestore.v1.BatchGetDocume" + - "ntsResponse\"C\202\323\344\223\002=\"8/v1/{database=proje" + - "cts/*/databases/*}/documents:batchGet:\001*" + - "0\001\022\307\001\n\020BeginTransaction\022,.google.firesto" + - "re.v1.BeginTransactionRequest\032-.google.f" + - "irestore.v1.BeginTransactionResponse\"V\202\323" + - "\344\223\002E\"@/v1/{database=projects/*/databases" + - "/*}/documents:beginTransaction:\001*\332A\010data" + - "base\022\246\001\n\006Commit\022\".google.firestore.v1.Co" + - "mmitRequest\032#.google.firestore.v1.Commit" + - "Response\"S\202\323\344\223\002;\"6/v1/{database=projects" + - "/*/databases/*}/documents:commit:\001*\332A\017da" + - "tabase,writes\022\244\001\n\010Rollback\022$.google.fire" + - "store.v1.RollbackRequest\032\026.google.protob" + - "uf.Empty\"Z\202\323\344\223\002=\"8/v1/{database=projects" + - "/*/databases/*}/documents:rollback:\001*\332A\024" + - "database,transaction\022\337\001\n\010RunQuery\022$.goog" + - "le.firestore.v1.RunQueryRequest\032%.google" + - ".firestore.v1.RunQueryResponse\"\203\001\202\323\344\223\002}\"" + - "6/v1/{parent=projects/*/databases/*/docu" + - "ments}:runQuery:\001*Z@\";/v1/{parent=projec" + - "ts/*/databases/*/documents/*/**}:runQuer" + - "y:\001*0\001\022\227\002\n\023RunAggregationQuery\022/.google." + - "firestore.v1.RunAggregationQueryRequest\032" + - "0.google.firestore.v1.RunAggregationQuer" + - "yResponse\"\232\001\202\323\344\223\002\223\001\"A/v1/{parent=project" + - "s/*/databases/*/documents}:runAggregatio" + - "nQuery:\001*ZK\"F/v1/{parent=projects/*/data" + - "bases/*/documents/*/**}:runAggregationQu" + - "ery:\001*0\001\022\374\001\n\016PartitionQuery\022*.google.fir" + - "estore.v1.PartitionQueryRequest\032+.google" + - ".firestore.v1.PartitionQueryResponse\"\220\001\202" + - "\323\344\223\002\211\001\" * The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex]. *
* * Protobuf type {@code google.firestore.admin.v1.CreateIndexRequest} */ -public final class CreateIndexRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateIndexRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.CreateIndexRequest) CreateIndexRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateIndexRequest.newBuilder() to construct. private CreateIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateIndexRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateIndexRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.CreateIndexRequest.class, com.google.firestore.admin.v1.CreateIndexRequest.Builder.class); + com.google.firestore.admin.v1.CreateIndexRequest.class, + com.google.firestore.admin.v1.CreateIndexRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; 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 @@ -65,30 +89,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 { @@ -99,11 +125,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 @@ -111,11 +141,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 @@ -123,11 +157,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() { @@ -135,6 +172,7 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,8 +184,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_); } @@ -167,8 +204,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; @@ -178,19 +214,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; @@ -214,130 +249,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.CreateIndexRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.CreateIndexRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.CreateIndexRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
    * 
* * Protobuf type {@code google.firestore.admin.v1.CreateIndexRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.CreateIndexRequest) com.google.firestore.admin.v1.CreateIndexRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.CreateIndexRequest.class, com.google.firestore.admin.v1.CreateIndexRequest.Builder.class); + com.google.firestore.admin.v1.CreateIndexRequest.class, + com.google.firestore.admin.v1.CreateIndexRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.CreateIndexRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,9 +394,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; } @java.lang.Override @@ -374,7 +415,8 @@ public com.google.firestore.admin.v1.CreateIndexRequest build() { @java.lang.Override public com.google.firestore.admin.v1.CreateIndexRequest buildPartial() { - com.google.firestore.admin.v1.CreateIndexRequest result = new com.google.firestore.admin.v1.CreateIndexRequest(this); + com.google.firestore.admin.v1.CreateIndexRequest result = + new com.google.firestore.admin.v1.CreateIndexRequest(this); result.parent_ = parent_; if (indexBuilder_ == null) { result.index_ = index_; @@ -389,38 +431,39 @@ public com.google.firestore.admin.v1.CreateIndexRequest 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.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; @@ -428,7 +471,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_; onChanged(); @@ -462,24 +506,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getIndexFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getIndexFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -492,19 +537,23 @@ public Builder mergeFrom( 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; @@ -513,21 +562,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 { @@ -535,57 +587,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -593,24 +658,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 indexBuilder_ != null || 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. */ public com.google.firestore.admin.v1.Index getIndex() { @@ -621,11 +697,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) { @@ -641,14 +720,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(); onChanged(); @@ -659,17 +740,22 @@ 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 (index_ != null) { index_ = - com.google.firestore.admin.v1.Index.newBuilder(index_).mergeFrom(value).buildPartial(); + com.google.firestore.admin.v1.Index.newBuilder(index_) + .mergeFrom(value) + .buildPartial(); } else { index_ = value; } @@ -681,11 +767,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() { if (indexBuilder_ == null) { @@ -699,55 +788,66 @@ 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() { - + onChanged(); 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); } @@ -757,12 +857,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(); } @@ -771,27 +871,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; @@ -806,6 +906,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 e3b1b39d5b..02adff507b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/database.proto package com.google.firestore.admin.v1; /** + * + * *
  * A Cloud Firestore Database.
  * Currently only one database is allowed per cloud project; this database
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Database}
  */
-public final class Database extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Database extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Database)
     DatabaseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Database.newBuilder() to construct.
   private Database(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Database() {
     name_ = "";
     locationId_ = "";
@@ -33,30 +51,33 @@ private Database() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Database();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.DatabaseProto
+        .internal_static_google_firestore_admin_v1_Database_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_fieldAccessorTable
+    return com.google.firestore.admin.v1.DatabaseProto
+        .internal_static_google_firestore_admin_v1_Database_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.Database.class, com.google.firestore.admin.v1.Database.Builder.class);
+            com.google.firestore.admin.v1.Database.class,
+            com.google.firestore.admin.v1.Database.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -66,9 +87,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.firestore.admin.v1.Database.DatabaseType}
    */
-  public enum DatabaseType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The default value. This value is used if the database type is omitted.
      * 
@@ -77,6 +99,8 @@ public enum DatabaseType */ DATABASE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Firestore Native Mode
      * 
@@ -85,6 +109,8 @@ public enum DatabaseType */ FIRESTORE_NATIVE(1), /** + * + * *
      * Firestore in Datastore Mode.
      * 
@@ -96,6 +122,8 @@ public enum DatabaseType ; /** + * + * *
      * The default value. This value is used if the database type is omitted.
      * 
@@ -104,6 +132,8 @@ public enum DatabaseType */ public static final int DATABASE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Firestore Native Mode
      * 
@@ -112,6 +142,8 @@ public enum DatabaseType */ public static final int FIRESTORE_NATIVE_VALUE = 1; /** + * + * *
      * Firestore in Datastore Mode.
      * 
@@ -120,7 +152,6 @@ public enum DatabaseType */ public static final int DATASTORE_MODE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -145,49 +176,49 @@ public static DatabaseType valueOf(int value) { */ public static DatabaseType forNumber(int value) { switch (value) { - case 0: return DATABASE_TYPE_UNSPECIFIED; - case 1: return FIRESTORE_NATIVE; - case 2: return DATASTORE_MODE; - default: return null; + case 0: + return DATABASE_TYPE_UNSPECIFIED; + case 1: + return FIRESTORE_NATIVE; + case 2: + return DATASTORE_MODE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DatabaseType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DatabaseType findValueByNumber(int number) { - return DatabaseType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DatabaseType findValueByNumber(int number) { + return DatabaseType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.firestore.admin.v1.Database.getDescriptor().getEnumTypes().get(0); } private static final DatabaseType[] VALUES = values(); - public static DatabaseType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -205,15 +236,18 @@ private DatabaseType(int value) { } /** + * + * *
    * The type of concurrency control mode for transactions.
    * 
* * Protobuf enum {@code google.firestore.admin.v1.Database.ConcurrencyMode} */ - public enum ConcurrencyMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -222,6 +256,8 @@ public enum ConcurrencyMode */ CONCURRENCY_MODE_UNSPECIFIED(0), /** + * + * *
      * Use optimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -231,6 +267,8 @@ public enum ConcurrencyMode
      */
     OPTIMISTIC(1),
     /**
+     *
+     *
      * 
      * Use pessimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -241,6 +279,8 @@ public enum ConcurrencyMode
      */
     PESSIMISTIC(2),
     /**
+     *
+     *
      * 
      * Use optimistic concurrency control with entity groups by default.
      * This is the only available mode for Cloud Datastore.
@@ -255,6 +295,8 @@ public enum ConcurrencyMode
     ;
 
     /**
+     *
+     *
      * 
      * Not used.
      * 
@@ -263,6 +305,8 @@ public enum ConcurrencyMode */ public static final int CONCURRENCY_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Use optimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -272,6 +316,8 @@ public enum ConcurrencyMode
      */
     public static final int OPTIMISTIC_VALUE = 1;
     /**
+     *
+     *
      * 
      * Use pessimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -282,6 +328,8 @@ public enum ConcurrencyMode
      */
     public static final int PESSIMISTIC_VALUE = 2;
     /**
+     *
+     *
      * 
      * Use optimistic concurrency control with entity groups by default.
      * This is the only available mode for Cloud Datastore.
@@ -293,7 +341,6 @@ public enum ConcurrencyMode
      */
     public static final int OPTIMISTIC_WITH_ENTITY_GROUPS_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -318,40 +365,44 @@ public static ConcurrencyMode valueOf(int value) {
      */
     public static ConcurrencyMode forNumber(int value) {
       switch (value) {
-        case 0: return CONCURRENCY_MODE_UNSPECIFIED;
-        case 1: return OPTIMISTIC;
-        case 2: return PESSIMISTIC;
-        case 3: return OPTIMISTIC_WITH_ENTITY_GROUPS;
-        default: return null;
+        case 0:
+          return CONCURRENCY_MODE_UNSPECIFIED;
+        case 1:
+          return OPTIMISTIC;
+        case 2:
+          return PESSIMISTIC;
+        case 3:
+          return OPTIMISTIC_WITH_ENTITY_GROUPS;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        ConcurrencyMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ConcurrencyMode findValueByNumber(int number) {
-              return ConcurrencyMode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ConcurrencyMode findValueByNumber(int number) {
+                return ConcurrencyMode.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.firestore.admin.v1.Database.getDescriptor().getEnumTypes().get(1);
     }
 
@@ -360,8 +411,7 @@ public ConcurrencyMode findValueByNumber(int number) {
     public static ConcurrencyMode valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -379,15 +429,18 @@ private ConcurrencyMode(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The type of App Engine integration mode.
    * 
* * Protobuf enum {@code google.firestore.admin.v1.Database.AppEngineIntegrationMode} */ - public enum AppEngineIntegrationMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -396,6 +449,8 @@ public enum AppEngineIntegrationMode */ APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED(0), /** + * + * *
      * If an App Engine application exists in the same region as this database,
      * App Engine configuration will impact this database. This includes
@@ -407,6 +462,8 @@ public enum AppEngineIntegrationMode
      */
     ENABLED(1),
     /**
+     *
+     *
      * 
      * Appengine has no affect on the ability of this database to serve
      * requests.
@@ -419,6 +476,8 @@ public enum AppEngineIntegrationMode
     ;
 
     /**
+     *
+     *
      * 
      * Not used.
      * 
@@ -427,6 +486,8 @@ public enum AppEngineIntegrationMode */ public static final int APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * If an App Engine application exists in the same region as this database,
      * App Engine configuration will impact this database. This includes
@@ -438,6 +499,8 @@ public enum AppEngineIntegrationMode
      */
     public static final int ENABLED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Appengine has no affect on the ability of this database to serve
      * requests.
@@ -447,7 +510,6 @@ public enum AppEngineIntegrationMode
      */
     public static final int DISABLED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -472,10 +534,14 @@ public static AppEngineIntegrationMode valueOf(int value) {
      */
     public static AppEngineIntegrationMode forNumber(int value) {
       switch (value) {
-        case 0: return APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED;
-        case 1: return ENABLED;
-        case 2: return DISABLED;
-        default: return null;
+        case 0:
+          return APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED;
+        case 1:
+          return ENABLED;
+        case 2:
+          return DISABLED;
+        default:
+          return null;
       }
     }
 
@@ -483,28 +549,28 @@ public static AppEngineIntegrationMode forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        AppEngineIntegrationMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public AppEngineIntegrationMode findValueByNumber(int number) {
-              return AppEngineIntegrationMode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public AppEngineIntegrationMode findValueByNumber(int number) {
+                return AppEngineIntegrationMode.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.firestore.admin.v1.Database.getDescriptor().getEnumTypes().get(2);
     }
 
@@ -513,8 +579,7 @@ public AppEngineIntegrationMode findValueByNumber(int number) {
     public static AppEngineIntegrationMode valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -534,12 +599,15 @@ private AppEngineIntegrationMode(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   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 @@ -548,30 +616,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 { @@ -582,12 +650,15 @@ public java.lang.String getName() { public static final int LOCATION_ID_FIELD_NUMBER = 9; 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 @@ -596,30 +667,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 { @@ -630,6 +701,8 @@ public java.lang.String getLocationId() { public static final int TYPE_FIELD_NUMBER = 10; private int type_; /** + * + * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -637,12 +710,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
@@ -650,71 +727,106 @@ 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() { + @java.lang.Override + public com.google.firestore.admin.v1.Database.DatabaseType getType() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Database.DatabaseType result = com.google.firestore.admin.v1.Database.DatabaseType.valueOf(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.valueOf(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_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.firestore.admin.v1.Database.ConcurrencyMode getConcurrencyMode() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Database.ConcurrencyMode result = com.google.firestore.admin.v1.Database.ConcurrencyMode.valueOf(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.valueOf(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_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.firestore.admin.v1.Database.AppEngineIntegrationMode + getAppEngineIntegrationMode() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.valueOf(appEngineIntegrationMode_); - return result == null ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED : result; + com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = + com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.valueOf( + appEngineIntegrationMode_); + return result == null + ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED + : result; } public static final int KEY_PREFIX_FIELD_NUMBER = 20; private volatile java.lang.Object keyPrefix_; /** + * + * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -725,6 +837,7 @@ public java.lang.String getLocationId() {
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The keyPrefix. */ @java.lang.Override @@ -733,14 +846,15 @@ public java.lang.String getKeyPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyPrefix_ = s; return s; } } /** + * + * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -751,16 +865,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 { @@ -771,6 +884,8 @@ public java.lang.String getKeyPrefix() { public static final int ETAG_FIELD_NUMBER = 99; 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
@@ -778,6 +893,7 @@ public java.lang.String getKeyPrefix() {
    * 
* * string etag = 99; + * * @return The etag. */ @java.lang.Override @@ -786,14 +902,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
@@ -801,16 +918,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 { @@ -819,6 +935,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -830,21 +947,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_)) { @@ -868,17 +991,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_); @@ -894,24 +1021,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; } @@ -942,97 +1065,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
@@ -1041,33 +1171,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();
@@ -1089,9 +1218,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
@@ -1110,7 +1239,8 @@ public com.google.firestore.admin.v1.Database build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.Database buildPartial() {
-      com.google.firestore.admin.v1.Database result = new com.google.firestore.admin.v1.Database(this);
+      com.google.firestore.admin.v1.Database result =
+          new com.google.firestore.admin.v1.Database(this);
       result.name_ = name_;
       result.locationId_ = locationId_;
       result.type_ = type_;
@@ -1126,38 +1256,39 @@ public com.google.firestore.admin.v1.Database 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.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;
@@ -1217,47 +1348,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 74: {
-              locationId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            case 80: {
-              type_ = input.readEnum();
-
-              break;
-            } // case 80
-            case 120: {
-              concurrencyMode_ = input.readEnum();
-
-              break;
-            } // case 120
-            case 152: {
-              appEngineIntegrationMode_ = input.readEnum();
-
-              break;
-            } // case 152
-            case 162: {
-              keyPrefix_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 162
-            case 794: {
-              etag_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 794
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 74:
+              {
+                locationId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            case 80:
+              {
+                type_ = input.readEnum();
+
+                break;
+              } // case 80
+            case 120:
+              {
+                concurrencyMode_ = input.readEnum();
+
+                break;
+              } // case 120
+            case 152:
+              {
+                appEngineIntegrationMode_ = input.readEnum();
+
+                break;
+              } // case 152
+            case 162:
+              {
+                keyPrefix_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 162
+            case 794:
+              {
+                etag_ = input.readStringRequireUtf8();
+
+                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) {
@@ -1270,19 +1409,21 @@ public Builder mergeFrom(
 
     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; @@ -1291,21 +1432,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 { @@ -1313,57 +1455,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1371,19 +1520,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; @@ -1392,21 +1543,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 { @@ -1414,57 +1566,64 @@ 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) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; 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() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); 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) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = value; onChanged(); return this; @@ -1472,6 +1631,8 @@ public Builder setLocationIdBytes( private int type_ = 0; /** + * + * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1479,12 +1640,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
@@ -1492,16 +1657,19 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1509,15 +1677,21 @@ 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Database.DatabaseType result = com.google.firestore.admin.v1.Database.DatabaseType.valueOf(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.valueOf(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
@@ -1525,6 +1699,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. */ @@ -1532,12 +1707,14 @@ public Builder setType(com.google.firestore.admin.v1.Database.DatabaseType value if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1545,10 +1722,11 @@ 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() { - + type_ = 0; onChanged(); return this; @@ -1556,73 +1734,93 @@ 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. */ public Builder setConcurrencyModeValue(int value) { - + concurrencyMode_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Database.ConcurrencyMode result = com.google.firestore.admin.v1.Database.ConcurrencyMode.valueOf(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.valueOf(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(); } - + concurrencyMode_ = value.getNumber(); onChanged(); 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() { - + concurrencyMode_ = 0; onChanged(); return this; @@ -1630,73 +1828,105 @@ 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. */ public Builder setAppEngineIntegrationModeValue(int value) { - + appEngineIntegrationMode_ = value; onChanged(); 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() { + public com.google.firestore.admin.v1.Database.AppEngineIntegrationMode + getAppEngineIntegrationMode() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.valueOf(appEngineIntegrationMode_); - return result == null ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED : result; + com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = + com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.valueOf( + 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(); } - + appEngineIntegrationMode_ = value.getNumber(); onChanged(); 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() { - + appEngineIntegrationMode_ = 0; onChanged(); return this; @@ -1704,6 +1934,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
@@ -1714,13 +1946,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; @@ -1729,6 +1961,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
@@ -1739,15 +1973,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 { @@ -1755,6 +1988,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
@@ -1765,20 +2000,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) { + public Builder setKeyPrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyPrefix_ = value; 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
@@ -1789,15 +2026,18 @@ public Builder setKeyPrefix(
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearKeyPrefix() { - + keyPrefix_ = getDefaultInstance().getKeyPrefix(); 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
@@ -1808,16 +2048,16 @@ 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) { + public Builder setKeyPrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyPrefix_ = value; onChanged(); return this; @@ -1825,6 +2065,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
@@ -1832,13 +2074,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; @@ -1847,6 +2089,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
@@ -1854,15 +2098,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 { @@ -1870,6 +2113,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
@@ -1877,20 +2122,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) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; 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
@@ -1898,15 +2145,18 @@ public Builder setEtag(
      * 
* * string etag = 99; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); 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
@@ -1914,23 +2164,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) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1940,12 +2190,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Database) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Database) private static final com.google.firestore.admin.v1.Database DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Database(); } @@ -1954,27 +2204,27 @@ public static com.google.firestore.admin.v1.Database getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Database parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Database parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1989,6 +2239,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 a564e80d6b..c47da06ff4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java @@ -1,57 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/database.proto package com.google.firestore.admin.v1; -public interface DatabaseOrBuilder extends +public interface DatabaseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Database) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the Database.
    * Format: `projects/{project}/databases/{database}`
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the Database.
    * Format: `projects/{project}/databases/{database}`
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The location of the database. Available databases are listed at
    * https://cloud.google.com/firestore/docs/locations.
    * 
* * string location_id = 9; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * The location of the database. Available databases are listed at
    * https://cloud.google.com/firestore/docs/locations.
    * 
* * string location_id = 9; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); /** + * + * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -59,10 +87,13 @@ public interface DatabaseOrBuilder extends
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -70,49 +101,68 @@ public interface DatabaseOrBuilder extends
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; + * * @return The type. */ com.google.firestore.admin.v1.Database.DatabaseType getType(); /** + * + * *
    * The concurrency control mode to use for this database.
    * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; + * * @return The enum numeric value on the wire for concurrencyMode. */ int getConcurrencyModeValue(); /** + * + * *
    * The concurrency control mode to use for this database.
    * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; + * * @return The concurrencyMode. */ com.google.firestore.admin.v1.Database.ConcurrencyMode getConcurrencyMode(); /** + * + * *
    * The App Engine integration mode to use for this database.
    * 
* - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * * @return The enum numeric value on the wire for appEngineIntegrationMode. */ int getAppEngineIntegrationModeValue(); /** + * + * *
    * The App Engine integration mode to use for this database.
    * 
* - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * * @return The appEngineIntegrationMode. */ com.google.firestore.admin.v1.Database.AppEngineIntegrationMode getAppEngineIntegrationMode(); /** + * + * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -123,10 +173,13 @@ public interface DatabaseOrBuilder extends
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The keyPrefix. */ java.lang.String getKeyPrefix(); /** + * + * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -137,12 +190,14 @@ public interface DatabaseOrBuilder extends
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for keyPrefix. */ - com.google.protobuf.ByteString - getKeyPrefixBytes(); + com.google.protobuf.ByteString getKeyPrefixBytes(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -150,10 +205,13 @@ public interface DatabaseOrBuilder extends
    * 
* * string etag = 99; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -161,8 +219,8 @@ public interface DatabaseOrBuilder extends
    * 
* * string etag = 99; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java new file mode 100644 index 0000000000..9924cab19a --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java @@ -0,0 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/database.proto + +package com.google.firestore.admin.v1; + +public final class DatabaseProto { + private DatabaseProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Database_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Database_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n(google/firestore/admin/v1/database.pro" + + "to\022\031google.firestore.admin.v1\032\037google/ap" + + "i/field_behavior.proto\032\031google/api/resou" + + "rce.proto\"\320\005\n\010Database\022\014\n\004name\030\001 \001(\t\022\023\n\013" + + "location_id\030\t \001(\t\022>\n\004type\030\n \001(\01620.google" + + ".firestore.admin.v1.Database.DatabaseTyp" + + "e\022M\n\020concurrency_mode\030\017 \001(\01623.google.fir" + + "estore.admin.v1.Database.ConcurrencyMode" + + "\022a\n\033app_engine_integration_mode\030\023 \001(\0162<." + + "google.firestore.admin.v1.Database.AppEn" + + "gineIntegrationMode\022\027\n\nkey_prefix\030\024 \001(\tB" + + "\003\340A\003\022\014\n\004etag\030c \001(\t\"W\n\014DatabaseType\022\035\n\031DA" + + "TABASE_TYPE_UNSPECIFIED\020\000\022\024\n\020FIRESTORE_N" + + "ATIVE\020\001\022\022\n\016DATASTORE_MODE\020\002\"w\n\017Concurren" + + "cyMode\022 \n\034CONCURRENCY_MODE_UNSPECIFIED\020\000" + + "\022\016\n\nOPTIMISTIC\020\001\022\017\n\013PESSIMISTIC\020\002\022!\n\035OPT" + + "IMISTIC_WITH_ENTITY_GROUPS\020\003\"b\n\030AppEngin" + + "eIntegrationMode\022+\n\'APP_ENGINE_INTEGRATI" + + "ON_MODE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DI" + + "SABLED\020\002:R\352AO\n!firestore.googleapis.com/" + + "Database\022\'projects/{project}/databases/{" + + "database}R\001\001B\341\001\n\035com.google.firestore.ad" + + "min.v1B\rDatabaseProtoP\001Z>google.golang.o" + + "rg/genproto/googleapis/firestore/admin/v" + + "1;admin\242\002\004GCFS\252\002\037Google.Cloud.Firestore." + + "Admin.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\" + + "V1\352\002#Google::Cloud::Firestore::Admin::V1" + + "b\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(), + }); + 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 0a65c0ed1d..9d5cc6867a 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,62 +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/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex].
  * 
* * Protobuf type {@code google.firestore.admin.v1.DeleteIndexRequest} */ -public final class DeleteIndexRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteIndexRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.DeleteIndexRequest) DeleteIndexRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteIndexRequest.newBuilder() to construct. private DeleteIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteIndexRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteIndexRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.DeleteIndexRequest.class, com.google.firestore.admin.v1.DeleteIndexRequest.Builder.class); + com.google.firestore.admin.v1.DeleteIndexRequest.class, + com.google.firestore.admin.v1.DeleteIndexRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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 @@ -65,30 +89,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 { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.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; } @@ -160,130 +186,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(); @@ -293,9 +325,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 @@ -314,7 +346,8 @@ public com.google.firestore.admin.v1.DeleteIndexRequest build() { @java.lang.Override public com.google.firestore.admin.v1.DeleteIndexRequest buildPartial() { - com.google.firestore.admin.v1.DeleteIndexRequest result = new com.google.firestore.admin.v1.DeleteIndexRequest(this); + com.google.firestore.admin.v1.DeleteIndexRequest result = + new com.google.firestore.admin.v1.DeleteIndexRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,38 +357,39 @@ public com.google.firestore.admin.v1.DeleteIndexRequest 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.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; @@ -363,7 +397,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_; onChanged(); @@ -394,17 +429,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -417,19 +454,23 @@ public Builder mergeFrom( 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; @@ -438,21 +479,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 { @@ -460,64 +504,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,12 +584,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(); } @@ -541,27 +598,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; @@ -576,6 +633,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 73% 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 4321f7038c..f7b44b0a3d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** + * + * *
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsMetadata}
  */
-public final class ExportDocumentsMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExportDocumentsMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ExportDocumentsMetadata)
     ExportDocumentsMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExportDocumentsMetadata.newBuilder() to construct.
   private ExportDocumentsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExportDocumentsMetadata() {
     operationState_ = 0;
     collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -28,37 +46,41 @@ private ExportDocumentsMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExportDocumentsMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.ExportDocumentsMetadata.class, com.google.firestore.admin.v1.ExportDocumentsMetadata.Builder.class);
+            com.google.firestore.admin.v1.ExportDocumentsMetadata.class,
+            com.google.firestore.admin.v1.ExportDocumentsMetadata.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
+   *
+   *
    * 
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -66,11 +88,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -78,6 +103,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time this operation started.
    * 
@@ -92,12 +119,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -105,12 +135,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -118,6 +151,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -133,38 +168,50 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int OPERATION_STATE_FIELD_NUMBER = 3;
   private int operationState_;
   /**
+   *
+   *
    * 
    * 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() { + @java.lang.Override + public com.google.firestore.admin.v1.OperationState getOperationState() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(operationState_); + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.valueOf(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 @@ -172,18 +219,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.
    * 
@@ -198,11 +252,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui 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 @@ -210,18 +267,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.
    * 
@@ -236,34 +300,42 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder public static final int COLLECTION_IDS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList collectionIds_; /** + * + * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_; } /** + * + * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -271,27 +343,32 @@ 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; private volatile java.lang.Object outputUriPrefix_; /** + * + * *
    * Where the entities are being exported to.
    * 
* * string output_uri_prefix = 7; + * * @return The outputUriPrefix. */ @java.lang.Override @@ -300,29 +377,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 { @@ -331,6 +408,7 @@ public java.lang.String getOutputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,15 +420,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) { @@ -375,24 +453,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; @@ -413,38 +487,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; } @@ -486,96 +555,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 +660,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();
@@ -647,9 +723,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -668,7 +744,8 @@ public com.google.firestore.admin.v1.ExportDocumentsMetadata build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.ExportDocumentsMetadata buildPartial() {
-      com.google.firestore.admin.v1.ExportDocumentsMetadata result = new com.google.firestore.admin.v1.ExportDocumentsMetadata(this);
+      com.google.firestore.admin.v1.ExportDocumentsMetadata result =
+          new com.google.firestore.admin.v1.ExportDocumentsMetadata(this);
       int from_bitField0_ = bitField0_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -705,38 +782,39 @@ public com.google.firestore.admin.v1.ExportDocumentsMetadata 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.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;
@@ -744,7 +822,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());
       }
@@ -800,56 +879,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            case 24: {
-              operationState_ = input.readEnum();
-
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getProgressDocumentsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getProgressBytesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureCollectionIdsIsMutable();
-              collectionIds_.add(s);
-              break;
-            } // case 50
-            case 58: {
-              outputUriPrefix_ = input.readStringRequireUtf8();
-
-              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);
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            case 24:
+              {
+                operationState_ = input.readEnum();
+
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(
+                    getProgressDocumentsFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureCollectionIdsIsMutable();
+                collectionIds_.add(s);
+                break;
+              } // case 50
+            case 58:
+              {
+                outputUriPrefix_ = input.readStringRequireUtf8();
+
+                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) {
@@ -859,28 +939,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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -891,6 +981,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time this operation started.
      * 
@@ -911,14 +1003,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(); onChanged(); @@ -929,6 +1022,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -939,7 +1034,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -951,6 +1046,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -969,6 +1066,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -976,11 +1075,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time this operation started.
      * 
@@ -991,11 +1092,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.
      * 
@@ -1003,14 +1105,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_; @@ -1018,26 +1123,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 endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * 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() { @@ -1048,6 +1162,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1069,6 +1185,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1076,8 +1194,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();
         onChanged();
@@ -1088,6 +1205,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1099,7 +1218,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1111,6 +1230,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1130,6 +1251,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1138,11 +1261,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1154,11 +1279,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.
@@ -1167,14 +1293,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_;
@@ -1182,51 +1311,65 @@ 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. */ public Builder setOperationStateValue(int value) { - + operationState_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(operationState_); + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.valueOf(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. */ @@ -1234,21 +1377,24 @@ public Builder setOperationState(com.google.firestore.admin.v1.OperationState va if (value == null) { throw new NullPointerException(); } - + operationState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The state of the export operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return This builder for chaining. */ public Builder clearOperationState() { - + operationState_ = 0; onChanged(); return this; @@ -1256,34 +1402,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 progressDocumentsBuilder_ != null || progressDocuments_ != null; } /** + * + * *
      * 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.
      * 
@@ -1304,6 +1463,8 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1322,6 +1483,8 @@ public Builder setProgressDocuments( return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1332,7 +1495,9 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val if (progressDocumentsBuilder_ == null) { if (progressDocuments_ != null) { progressDocuments_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_).mergeFrom(value).buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_) + .mergeFrom(value) + .buildPartial(); } else { progressDocuments_ = value; } @@ -1344,6 +1509,8 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1362,6 +1529,8 @@ public Builder clearProgressDocuments() { return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1369,11 +1538,13 @@ public Builder clearProgressDocuments() { * .google.firestore.admin.v1.Progress progress_documents = 4; */ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilder() { - + onChanged(); return getProgressDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1384,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.
      * 
@@ -1396,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_; @@ -1411,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 progressBytesBuilder_ != null || progressBytes_ != null; } /** + * + * *
      * 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.
      * 
@@ -1459,6 +1649,8 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1477,6 +1669,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1487,7 +1681,9 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) if (progressBytesBuilder_ == null) { if (progressBytes_ != null) { progressBytes_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_).mergeFrom(value).buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_) + .mergeFrom(value) + .buildPartial(); } else { progressBytes_ = value; } @@ -1499,6 +1695,8 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1517,6 +1715,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1524,11 +1724,13 @@ public Builder clearProgressBytes() { * .google.firestore.admin.v1.Progress progress_bytes = 5; */ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() { - + onChanged(); return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1539,11 +1741,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.
      * 
@@ -1551,55 +1756,68 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), - getParentForChildren(), - isClean()); + progressBytesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), getParentForChildren(), isClean()); progressBytes_ = null; } return progressBytesBuilder_; } - private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList collectionIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -1607,80 +1825,90 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds( - int index, java.lang.String value) { + public Builder setCollectionIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds( - java.lang.String value) { + public Builder addCollectionIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds( - java.lang.Iterable values) { + public Builder addAllCollectionIds(java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); onChanged(); return this; } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -1690,20 +1918,22 @@ public Builder clearCollectionIds() { return this; } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes( - com.google.protobuf.ByteString value) { + public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); @@ -1712,18 +1942,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; @@ -1732,20 +1964,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 { @@ -1753,61 +1986,68 @@ 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) { + public Builder setOutputUriPrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputUriPrefix_ = value; onChanged(); return this; } /** + * + * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; + * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { - + outputUriPrefix_ = getDefaultInstance().getOutputUriPrefix(); onChanged(); 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) { + public Builder setOutputUriPrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputUriPrefix_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1817,12 +2057,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(); } @@ -1831,27 +2071,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; @@ -1866,6 +2106,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 e011ed2f48..48570d1fe8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsRequest} */ -public final class ExportDocumentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ExportDocumentsRequest) ExportDocumentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportDocumentsRequest.newBuilder() to construct. private ExportDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportDocumentsRequest() { name_ = ""; collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -27,38 +45,44 @@ private ExportDocumentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportDocumentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ExportDocumentsRequest.class, com.google.firestore.admin.v1.ExportDocumentsRequest.Builder.class); + com.google.firestore.admin.v1.ExportDocumentsRequest.class, + com.google.firestore.admin.v1.ExportDocumentsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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 @@ -67,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. 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 { @@ -101,34 +127,42 @@ public java.lang.String getName() { public static final int COLLECTION_IDS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList collectionIds_; /** + * + * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_; } /** + * + * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -136,22 +170,26 @@ 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; 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 +202,7 @@ public java.lang.String getCollectionIds(int index) {
    * 
* * string output_uri_prefix = 3; + * * @return The outputUriPrefix. */ @java.lang.Override @@ -172,14 +211,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 +232,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 +249,7 @@ public java.lang.String getOutputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,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_); } @@ -263,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.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,129 +338,135 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.ExportDocumentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ExportDocumentsRequest) com.google.firestore.admin.v1.ExportDocumentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ExportDocumentsRequest.class, com.google.firestore.admin.v1.ExportDocumentsRequest.Builder.class); + com.google.firestore.admin.v1.ExportDocumentsRequest.class, + com.google.firestore.admin.v1.ExportDocumentsRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ExportDocumentsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; } @java.lang.Override @@ -458,7 +501,8 @@ public com.google.firestore.admin.v1.ExportDocumentsRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ExportDocumentsRequest buildPartial() { - com.google.firestore.admin.v1.ExportDocumentsRequest result = new com.google.firestore.admin.v1.ExportDocumentsRequest(this); + com.google.firestore.admin.v1.ExportDocumentsRequest result = + new com.google.firestore.admin.v1.ExportDocumentsRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { @@ -475,38 +519,39 @@ public com.google.firestore.admin.v1.ExportDocumentsRequest 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.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; @@ -514,7 +559,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_; onChanged(); @@ -559,28 +605,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); + case 10: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCollectionIdsIsMutable(); - collectionIds_.add(s); - break; - } // case 18 - case 26: { - outputUriPrefix_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCollectionIdsIsMutable(); + collectionIds_.add(s); + break; + } // case 18 + case 26: + { + outputUriPrefix_ = input.readStringRequireUtf8(); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -590,23 +640,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; @@ -615,21 +670,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 { @@ -637,98 +695,121 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList collectionIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -736,80 +817,90 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds( - int index, java.lang.String value) { + public Builder setCollectionIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds( - java.lang.String value) { + public Builder addCollectionIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds( - java.lang.Iterable values) { + public Builder addAllCollectionIds(java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); onChanged(); return this; } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -819,20 +910,22 @@ public Builder clearCollectionIds() { return this; } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes( - com.google.protobuf.ByteString value) { + public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); @@ -841,6 +934,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
@@ -853,13 +948,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; @@ -868,6 +963,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
@@ -880,15 +977,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 { @@ -896,6 +992,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
@@ -908,20 +1006,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) { + public Builder setOutputUriPrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputUriPrefix_ = value; 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
@@ -934,15 +1034,18 @@ public Builder setOutputUriPrefix(
      * 
* * string output_uri_prefix = 3; + * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { - + outputUriPrefix_ = getDefaultInstance().getOutputUriPrefix(); 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
@@ -955,23 +1058,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) { + public Builder setOutputUriPrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputUriPrefix_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -981,12 +1084,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(); } @@ -995,27 +1098,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; @@ -1030,6 +1133,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 66% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java index 17bb018522..7ec8bcca78 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,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** + * + * *
  * Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field.
  * 
* * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsResponse} */ -public final class ExportDocumentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportDocumentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ExportDocumentsResponse) ExportDocumentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportDocumentsResponse.newBuilder() to construct. private ExportDocumentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportDocumentsResponse() { outputUriPrefix_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportDocumentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ExportDocumentsResponse.class, com.google.firestore.admin.v1.ExportDocumentsResponse.Builder.class); + com.google.firestore.admin.v1.ExportDocumentsResponse.class, + com.google.firestore.admin.v1.ExportDocumentsResponse.Builder.class); } public static final int OUTPUT_URI_PREFIX_FIELD_NUMBER = 1; 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
@@ -58,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string output_uri_prefix = 1; + * * @return The outputUriPrefix. */ @java.lang.Override @@ -66,14 +88,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
@@ -81,16 +104,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 { @@ -99,6 +121,7 @@ public java.lang.String getOutputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +133,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_); } @@ -135,15 +157,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; } @@ -163,129 +185,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(); @@ -295,9 +324,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 @@ -316,7 +345,8 @@ public com.google.firestore.admin.v1.ExportDocumentsResponse build() { @java.lang.Override public com.google.firestore.admin.v1.ExportDocumentsResponse buildPartial() { - com.google.firestore.admin.v1.ExportDocumentsResponse result = new com.google.firestore.admin.v1.ExportDocumentsResponse(this); + com.google.firestore.admin.v1.ExportDocumentsResponse result = + new com.google.firestore.admin.v1.ExportDocumentsResponse(this); result.outputUriPrefix_ = outputUriPrefix_; onBuilt(); return result; @@ -326,38 +356,39 @@ public com.google.firestore.admin.v1.ExportDocumentsResponse 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.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; @@ -365,7 +396,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_; onChanged(); @@ -396,17 +428,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - outputUriPrefix_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + outputUriPrefix_ = input.readStringRequireUtf8(); + + 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) { @@ -419,6 +453,8 @@ public Builder mergeFrom( 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
@@ -426,13 +462,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; @@ -441,6 +477,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
@@ -448,15 +486,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 { @@ -464,6 +501,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
@@ -471,20 +510,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) { + public Builder setOutputUriPrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputUriPrefix_ = value; 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
@@ -492,15 +533,18 @@ public Builder setOutputUriPrefix(
      * 
* * string output_uri_prefix = 1; + * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { - + outputUriPrefix_ = getDefaultInstance().getOutputUriPrefix(); 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
@@ -508,23 +552,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) { + public Builder setOutputUriPrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputUriPrefix_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +578,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(); } @@ -548,27 +592,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; @@ -583,6 +627,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 76% 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 c98be46ccc..daa38ecb1c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/field.proto package com.google.firestore.admin.v1; /** + * + * *
  * Represents a single field in the database.
  * Fields are grouped by their "Collection Group", which represent all
@@ -12,58 +29,64 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Field}
  */
-public final class Field extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Field extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Field)
     FieldOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Field.newBuilder() to construct.
   private Field(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Field() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Field();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.FieldProto
+        .internal_static_google_firestore_admin_v1_Field_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_fieldAccessorTable
+    return com.google.firestore.admin.v1.FieldProto
+        .internal_static_google_firestore_admin_v1_Field_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.Field.class, com.google.firestore.admin.v1.Field.Builder.class);
+            com.google.firestore.admin.v1.Field.class,
+            com.google.firestore.admin.v1.Field.Builder.class);
   }
 
-  public interface IndexConfigOrBuilder extends
+  public interface IndexConfigOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Field.IndexConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The indexes supported for this field.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - java.util.List - getIndexesList(); + java.util.List getIndexesList(); /** + * + * *
      * The indexes supported for this field.
      * 
@@ -72,6 +95,8 @@ public interface IndexConfigOrBuilder extends */ com.google.firestore.admin.v1.Index getIndexes(int index); /** + * + * *
      * The indexes supported for this field.
      * 
@@ -80,25 +105,30 @@ public interface IndexConfigOrBuilder extends */ int getIndexesCount(); /** + * + * *
      * The indexes supported for this field.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - java.util.List + java.util.List getIndexesOrBuilderList(); /** + * + * *
      * The indexes supported for this field.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( - int index); + com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index); /** + * + * *
      * Output only. When true, the `Field`'s index configuration is set from the
      * configuration specified by the `ancestor_field`.
@@ -106,11 +136,14 @@ com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(
      * 
* * bool uses_ancestor_config = 2; + * * @return The usesAncestorConfig. */ boolean getUsesAncestorConfig(); /** + * + * *
      * Output only. Specifies the resource name of the `Field` from which this field's
      * index configuration is set (when `uses_ancestor_config` is true),
@@ -119,10 +152,13 @@ com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(
      * 
* * string ancestor_field = 3; + * * @return The ancestorField. */ java.lang.String getAncestorField(); /** + * + * *
      * Output only. Specifies the resource name of the `Field` from which this field's
      * index configuration is set (when `uses_ancestor_config` is true),
@@ -131,12 +167,14 @@ com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(
      * 
* * string ancestor_field = 3; + * * @return The bytes for ancestorField. */ - com.google.protobuf.ByteString - getAncestorFieldBytes(); + com.google.protobuf.ByteString getAncestorFieldBytes(); /** + * + * *
      * Output only
      * When true, the `Field`'s index configuration is in the process of being
@@ -146,26 +184,30 @@ com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(
      * 
* * bool reverting = 4; + * * @return The reverting. */ boolean getReverting(); } /** + * + * *
    * The index configuration for this field.
    * 
* * Protobuf type {@code google.firestore.admin.v1.Field.IndexConfig} */ - public static final class IndexConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IndexConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Field.IndexConfig) IndexConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IndexConfig.newBuilder() to construct. private IndexConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IndexConfig() { indexes_ = java.util.Collections.emptyList(); ancestorField_ = ""; @@ -173,32 +215,35 @@ private IndexConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IndexConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FieldProto + .internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable + return com.google.firestore.admin.v1.FieldProto + .internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.Field.IndexConfig.class, com.google.firestore.admin.v1.Field.IndexConfig.Builder.class); + com.google.firestore.admin.v1.Field.IndexConfig.class, + com.google.firestore.admin.v1.Field.IndexConfig.Builder.class); } public static final int INDEXES_FIELD_NUMBER = 1; private java.util.List indexes_; /** + * + * *
      * The indexes supported for this field.
      * 
@@ -210,6 +255,8 @@ public java.util.List getIndexesList() { return indexes_; } /** + * + * *
      * The indexes supported for this field.
      * 
@@ -217,11 +264,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.
      * 
@@ -233,6 +282,8 @@ public int getIndexesCount() { return indexes_.size(); } /** + * + * *
      * The indexes supported for this field.
      * 
@@ -244,6 +295,8 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { return indexes_.get(index); } /** + * + * *
      * The indexes supported for this field.
      * 
@@ -251,14 +304,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_; /** + * + * *
      * Output only. When true, the `Field`'s index configuration is set from the
      * configuration specified by the `ancestor_field`.
@@ -266,6 +320,7 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(
      * 
* * bool uses_ancestor_config = 2; + * * @return The usesAncestorConfig. */ @java.lang.Override @@ -276,6 +331,8 @@ public boolean getUsesAncestorConfig() { public static final int ANCESTOR_FIELD_FIELD_NUMBER = 3; 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),
@@ -284,6 +341,7 @@ public boolean getUsesAncestorConfig() {
      * 
* * string ancestor_field = 3; + * * @return The ancestorField. */ @java.lang.Override @@ -292,14 +350,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),
@@ -308,16 +367,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 { @@ -328,6 +386,8 @@ public java.lang.String getAncestorField() { public static final int REVERTING_FIELD_NUMBER = 4; private boolean reverting_; /** + * + * *
      * Output only
      * When true, the `Field`'s index configuration is in the process of being
@@ -337,6 +397,7 @@ public java.lang.String getAncestorField() {
      * 
* * bool reverting = 4; + * * @return The reverting. */ @java.lang.Override @@ -345,6 +406,7 @@ public boolean getReverting() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -356,8 +418,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)); } @@ -380,19 +441,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; @@ -402,21 +460,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; } @@ -433,100 +488,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 @@ -536,39 +595,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The index configuration for this field.
      * 
* * Protobuf type {@code google.firestore.admin.v1.Field.IndexConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Field.IndexConfig) com.google.firestore.admin.v1.Field.IndexConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FieldProto + .internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable + return com.google.firestore.admin.v1.FieldProto + .internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.Field.IndexConfig.class, com.google.firestore.admin.v1.Field.IndexConfig.Builder.class); + com.google.firestore.admin.v1.Field.IndexConfig.class, + com.google.firestore.admin.v1.Field.IndexConfig.Builder.class); } // Construct using com.google.firestore.admin.v1.Field.IndexConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -589,9 +650,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FieldProto + .internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; } @java.lang.Override @@ -610,7 +671,8 @@ 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); int from_bitField0_ = bitField0_; if (indexesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -632,38 +694,41 @@ public com.google.firestore.admin.v1.Field.IndexConfig 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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; @@ -671,7 +736,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()) { @@ -690,9 +756,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_); } @@ -734,40 +801,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(); - - break; - } // case 16 - case 26: { - ancestorField_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 32: { - reverting_ = input.readBool(); - - 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(); + + break; + } // case 16 + case 26: + { + ancestorField_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 32: + { + reverting_ = input.readBool(); + + 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) { @@ -777,21 +848,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.
        * 
@@ -806,6 +884,8 @@ public java.util.List getIndexesList() { } } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -820,6 +900,8 @@ public int getIndexesCount() { } } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -834,14 +916,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(); @@ -855,6 +938,8 @@ public Builder setIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -873,6 +958,8 @@ public Builder setIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -893,14 +980,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(); @@ -914,14 +1002,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()); @@ -932,6 +1021,8 @@ public Builder addIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -950,6 +1041,8 @@ public Builder addIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -960,8 +1053,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); @@ -969,6 +1061,8 @@ public Builder addAllIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -986,6 +1080,8 @@ public Builder clearIndexes() { return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -1003,39 +1099,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 { @@ -1043,6 +1144,8 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( } } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -1050,49 +1153,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`.
@@ -1100,6 +1210,7 @@ public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder(
        * 
* * bool uses_ancestor_config = 2; + * * @return The usesAncestorConfig. */ @java.lang.Override @@ -1107,6 +1218,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`.
@@ -1114,16 +1227,19 @@ public boolean getUsesAncestorConfig() {
        * 
* * bool uses_ancestor_config = 2; + * * @param value The usesAncestorConfig to set. * @return This builder for chaining. */ public Builder setUsesAncestorConfig(boolean value) { - + usesAncestorConfig_ = value; onChanged(); return this; } /** + * + * *
        * Output only. When true, the `Field`'s index configuration is set from the
        * configuration specified by the `ancestor_field`.
@@ -1131,10 +1247,11 @@ public Builder setUsesAncestorConfig(boolean value) {
        * 
* * bool uses_ancestor_config = 2; + * * @return This builder for chaining. */ public Builder clearUsesAncestorConfig() { - + usesAncestorConfig_ = false; onChanged(); return this; @@ -1142,6 +1259,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),
@@ -1150,13 +1269,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; @@ -1165,6 +1284,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),
@@ -1173,15 +1294,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 { @@ -1189,6 +1309,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),
@@ -1197,20 +1319,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) { + public Builder setAncestorField(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ancestorField_ = value; 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),
@@ -1219,15 +1343,18 @@ public Builder setAncestorField(
        * 
* * string ancestor_field = 3; + * * @return This builder for chaining. */ public Builder clearAncestorField() { - + ancestorField_ = getDefaultInstance().getAncestorField(); 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),
@@ -1236,23 +1363,25 @@ 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) { + public Builder setAncestorFieldBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ancestorField_ = value; onChanged(); return this; } - private boolean reverting_ ; + private boolean reverting_; /** + * + * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1262,6 +1391,7 @@ public Builder setAncestorFieldBytes(
        * 
* * bool reverting = 4; + * * @return The reverting. */ @java.lang.Override @@ -1269,6 +1399,8 @@ public boolean getReverting() { return reverting_; } /** + * + * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1278,16 +1410,19 @@ public boolean getReverting() {
        * 
* * bool reverting = 4; + * * @param value The reverting to set. * @return This builder for chaining. */ public Builder setReverting(boolean value) { - + reverting_ = value; onChanged(); return this; } /** + * + * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1297,14 +1432,16 @@ public Builder setReverting(boolean value) {
        * 
* * bool reverting = 4; + * * @return This builder for chaining. */ public Builder clearReverting() { - + reverting_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1317,12 +1454,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(); } @@ -1331,27 +1468,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; @@ -1366,33 +1504,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.
@@ -1403,54 +1553,59 @@ public interface TtlConfigOrBuilder extends
    *
    * Protobuf type {@code google.firestore.admin.v1.Field.TtlConfig}
    */
-  public static final class TtlConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class TtlConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Field.TtlConfig)
       TtlConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use TtlConfig.newBuilder() to construct.
     private TtlConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private TtlConfig() {
       state_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new TtlConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.admin.v1.FieldProto
+          .internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable
+      return com.google.firestore.admin.v1.FieldProto
+          .internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Field.TtlConfig.class, com.google.firestore.admin.v1.Field.TtlConfig.Builder.class);
+              com.google.firestore.admin.v1.Field.TtlConfig.class,
+              com.google.firestore.admin.v1.Field.TtlConfig.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * The state of applying the TTL configuration to all documents.
      * 
* * Protobuf enum {@code google.firestore.admin.v1.Field.TtlConfig.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The state is unspecified or unknown.
        * 
@@ -1459,6 +1614,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
@@ -1471,6 +1628,8 @@ public enum State
        */
       CREATING(1),
       /**
+       *
+       *
        * 
        * The TTL is active for all documents.
        * 
@@ -1479,6 +1638,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.
@@ -1493,6 +1654,8 @@ public enum State
       ;
 
       /**
+       *
+       *
        * 
        * The state is unspecified or unknown.
        * 
@@ -1501,6 +1664,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
@@ -1513,6 +1678,8 @@ public enum State
        */
       public static final int CREATING_VALUE = 1;
       /**
+       *
+       *
        * 
        * The TTL is active for all documents.
        * 
@@ -1521,6 +1688,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.
@@ -1532,7 +1701,6 @@ public enum State
        */
       public static final int NEEDS_REPAIR_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1557,50 +1725,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;
@@ -1620,31 +1789,47 @@ private State(int value) {
     public static final int STATE_FIELD_NUMBER = 1;
     private int 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 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() { + @java.lang.Override + public com.google.firestore.admin.v1.Field.TtlConfig.State getState() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Field.TtlConfig.State result = com.google.firestore.admin.v1.Field.TtlConfig.State.valueOf(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.valueOf(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 +1841,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 +1855,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 +1867,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,88 +1894,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 @@ -1799,6 +1991,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The TTL (time-to-live) configuration for documents that have this `Field`
      * set.
@@ -1809,33 +2003,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();
@@ -1845,9 +2039,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
@@ -1866,7 +2060,8 @@ public com.google.firestore.admin.v1.Field.TtlConfig build() {
 
       @java.lang.Override
       public com.google.firestore.admin.v1.Field.TtlConfig buildPartial() {
-        com.google.firestore.admin.v1.Field.TtlConfig result = new com.google.firestore.admin.v1.Field.TtlConfig(this);
+        com.google.firestore.admin.v1.Field.TtlConfig result =
+            new com.google.firestore.admin.v1.Field.TtlConfig(this);
         result.state_ = state_;
         onBuilt();
         return result;
@@ -1876,38 +2071,41 @@ public com.google.firestore.admin.v1.Field.TtlConfig 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) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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;
@@ -1915,7 +2113,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());
         }
@@ -1945,17 +2144,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                state_ = input.readEnum();
-
-                break;
-              } // case 8
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  state_ = input.readEnum();
+
+                  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) {
@@ -1968,51 +2169,75 @@ public Builder mergeFrom(
 
       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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Field.TtlConfig.State result = com.google.firestore.admin.v1.Field.TtlConfig.State.valueOf(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.valueOf(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. */ @@ -2020,25 +2245,31 @@ public Builder setState(com.google.firestore.admin.v1.Field.TtlConfig.State valu if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2051,12 +2282,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(); } @@ -2065,27 +2296,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; @@ -2100,12 +2332,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Field.TtlConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; 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}`
@@ -2132,6 +2365,7 @@ public com.google.firestore.admin.v1.Field.TtlConfig getDefaultInstanceForType()
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -2140,14 +2374,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}`
@@ -2174,16 +2409,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 { @@ -2194,6 +2428,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
@@ -2202,6 +2438,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 @@ -2209,6 +2446,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
@@ -2217,13 +2456,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
@@ -2241,6 +2485,8 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
   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
@@ -2248,6 +2494,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 @@ -2255,6 +2502,8 @@ public boolean hasTtlConfig() { return ttlConfig_ != null; } /** + * + * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -2262,13 +2511,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
@@ -2283,6 +2537,7 @@ public com.google.firestore.admin.v1.Field.TtlConfigOrBuilder getTtlConfigOrBuil
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2294,8 +2549,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_);
     }
@@ -2318,12 +2572,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;
@@ -2333,24 +2585,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;
@@ -2378,97 +2627,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.admin.v1.Field parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.admin.v1.Field parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.admin.v1.Field parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.firestore.admin.v1.Field parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.Field parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.admin.v1.Field parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.admin.v1.Field prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Represents a single field in the database.
    * Fields are grouped by their "Collection Group", which represent all
@@ -2477,33 +2732,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();
@@ -2525,9 +2779,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,38 +2820,39 @@ public com.google.firestore.admin.v1.Field 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.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;
@@ -2642,31 +2897,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getIndexConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getIndexConfigFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getTtlConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getTtlConfigFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -2679,6 +2934,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -2705,13 +2962,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; @@ -2720,6 +2977,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}`
@@ -2746,15 +3005,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 { @@ -2762,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}`
@@ -2788,20 +3048,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -2828,15 +3090,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -2863,16 +3128,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2880,8 +3145,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
@@ -2890,12 +3160,15 @@ public Builder setNameBytes(
      * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; + * * @return Whether the indexConfig field is set. */ public boolean hasIndexConfig() { return indexConfigBuilder_ != null || indexConfig_ != null; } /** + * + * *
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -2904,16 +3177,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
@@ -2937,6 +3215,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
@@ -2958,6 +3238,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
@@ -2971,7 +3253,9 @@ public Builder mergeIndexConfig(com.google.firestore.admin.v1.Field.IndexConfig
       if (indexConfigBuilder_ == null) {
         if (indexConfig_ != null) {
           indexConfig_ =
-            com.google.firestore.admin.v1.Field.IndexConfig.newBuilder(indexConfig_).mergeFrom(value).buildPartial();
+              com.google.firestore.admin.v1.Field.IndexConfig.newBuilder(indexConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           indexConfig_ = value;
         }
@@ -2983,6 +3267,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
@@ -3004,6 +3290,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
@@ -3014,11 +3302,13 @@ public Builder clearIndexConfig() {
      * .google.firestore.admin.v1.Field.IndexConfig index_config = 2;
      */
     public com.google.firestore.admin.v1.Field.IndexConfig.Builder getIndexConfigBuilder() {
-      
+
       onChanged();
       return getIndexConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3032,11 +3322,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
@@ -3047,14 +3340,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_;
@@ -3062,8 +3358,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
@@ -3071,12 +3372,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 ttlConfigBuilder_ != null || ttlConfig_ != null; } /** + * + * *
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3084,16 +3388,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
@@ -3116,6 +3425,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
@@ -3136,6 +3447,8 @@ public Builder setTtlConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3148,7 +3461,9 @@ public Builder mergeTtlConfig(com.google.firestore.admin.v1.Field.TtlConfig valu
       if (ttlConfigBuilder_ == null) {
         if (ttlConfig_ != null) {
           ttlConfig_ =
-            com.google.firestore.admin.v1.Field.TtlConfig.newBuilder(ttlConfig_).mergeFrom(value).buildPartial();
+              com.google.firestore.admin.v1.Field.TtlConfig.newBuilder(ttlConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           ttlConfig_ = value;
         }
@@ -3160,6 +3475,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
@@ -3180,6 +3497,8 @@ public Builder clearTtlConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3189,11 +3508,13 @@ public Builder clearTtlConfig() {
      * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3;
      */
     public com.google.firestore.admin.v1.Field.TtlConfig.Builder getTtlConfigBuilder() {
-      
+
       onChanged();
       return getTtlConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3206,11 +3527,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
@@ -3220,21 +3544,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);
     }
 
@@ -3244,12 +3571,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();
   }
@@ -3258,27 +3585,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;
@@ -3293,6 +3620,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 67%
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 79f03d99a7..7ea0549f4c 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/admin/v1/operation.proto
 
 package com.google.firestore.admin.v1;
 
 /**
+ *
+ *
  * 
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata}
  */
-public final class FieldOperationMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FieldOperationMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.FieldOperationMetadata)
     FieldOperationMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FieldOperationMetadata.newBuilder() to construct.
   private FieldOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private FieldOperationMetadata() {
     field_ = "";
     indexConfigDeltas_ = java.util.Collections.emptyList();
@@ -28,71 +46,92 @@ private FieldOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FieldOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.FieldOperationMetadata.class, com.google.firestore.admin.v1.FieldOperationMetadata.Builder.class);
+            com.google.firestore.admin.v1.FieldOperationMetadata.class,
+            com.google.firestore.admin.v1.FieldOperationMetadata.Builder.class);
   }
 
-  public interface IndexConfigDeltaOrBuilder extends
+  public interface IndexConfigDeltaOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Specifies how the index is changing.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * * @return The enum numeric value on the wire for changeType. */ int getChangeTypeValue(); /** + * + * *
      * Specifies how the index is changing.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * * @return The changeType. */ - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType getChangeType(); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType + getChangeType(); /** + * + * *
      * The index being changed.
      * 
* * .google.firestore.admin.v1.Index index = 2; + * * @return Whether the index field is set. */ boolean hasIndex(); /** + * + * *
      * The index being changed.
      * 
* * .google.firestore.admin.v1.Index index = 2; + * * @return The index. */ com.google.firestore.admin.v1.Index getIndex(); /** + * + * *
      * The index being changed.
      * 
@@ -102,60 +141,68 @@ public interface IndexConfigDeltaOrBuilder extends com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder(); } /** + * + * *
    * Information about an index configuration change.
    * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta} */ - public static final class IndexConfigDelta extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IndexConfigDelta extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) IndexConfigDeltaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IndexConfigDelta.newBuilder() to construct. private IndexConfigDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IndexConfigDelta() { changeType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IndexConfigDelta(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.class, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder.class); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.class, + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder.class); } /** + * + * *
      * Specifies how the index is changing.
      * 
* - * Protobuf enum {@code google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType} + * Protobuf enum {@code + * google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType} */ - public enum ChangeType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The type of change is not specified or known.
        * 
@@ -164,6 +211,8 @@ public enum ChangeType */ CHANGE_TYPE_UNSPECIFIED(0), /** + * + * *
        * The single field index is being added.
        * 
@@ -172,6 +221,8 @@ public enum ChangeType */ ADD(1), /** + * + * *
        * The single field index is being removed.
        * 
@@ -183,6 +234,8 @@ public enum ChangeType ; /** + * + * *
        * The type of change is not specified or known.
        * 
@@ -191,6 +244,8 @@ public enum ChangeType */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The single field index is being added.
        * 
@@ -199,6 +254,8 @@ public enum ChangeType */ public static final int ADD_VALUE = 1; /** + * + * *
        * The single field index is being removed.
        * 
@@ -207,7 +264,6 @@ public enum ChangeType */ public static final int REMOVE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -232,49 +288,51 @@ public static ChangeType valueOf(int value) { */ public static ChangeType forNumber(int value) { switch (value) { - case 0: return CHANGE_TYPE_UNSPECIFIED; - case 1: return ADD; - case 2: return REMOVE; - default: return null; + case 0: + return CHANGE_TYPE_UNSPECIFIED; + case 1: + return ADD; + case 2: + return REMOVE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ChangeType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeType findValueByNumber(int number) { - return ChangeType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChangeType findValueByNumber(int number) { + return ChangeType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDescriptor() + .getEnumTypes() + .get(0); } private static final ChangeType[] VALUES = values(); - public static ChangeType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ChangeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -294,38 +352,59 @@ private ChangeType(int value) { public static final int CHANGE_TYPE_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType + getChangeType() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.valueOf(changeType_); - return result == null ? com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.UNRECOGNIZED : result; + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.valueOf( + 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 @@ -333,11 +412,14 @@ public boolean hasIndex() { return index_ != null; } /** + * + * *
      * The index being changed.
      * 
* * .google.firestore.admin.v1.Index index = 2; + * * @return The index. */ @java.lang.Override @@ -345,6 +427,8 @@ public com.google.firestore.admin.v1.Index getIndex() { return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; } /** + * + * *
      * The index being changed.
      * 
@@ -357,6 +441,7 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -368,9 +453,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) { @@ -385,13 +472,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; @@ -401,18 +489,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; @@ -437,87 +525,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 @@ -527,39 +623,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(); @@ -575,19 +675,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); } @@ -596,7 +699,8 @@ 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); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result = + new com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta(this); result.changeType_ = changeType_; if (indexBuilder_ == null) { result.index_ = index_; @@ -611,46 +715,54 @@ public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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()); } @@ -683,24 +795,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - changeType_ = input.readEnum(); - - break; - } // case 8 - case 18: { - input.readMessage( - getIndexFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + changeType_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + input.readMessage(getIndexFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -713,73 +826,106 @@ public Builder mergeFrom( 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. */ public Builder setChangeTypeValue(int value) { - + changeType_ = value; onChanged(); 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() { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType + getChangeType() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.valueOf(changeType_); - return result == null ? com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.UNRECOGNIZED : result; + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType + .valueOf(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(); } - + changeType_ = value.getNumber(); onChanged(); 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() { - + changeType_ = 0; onChanged(); return this; @@ -787,24 +933,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 indexBuilder_ != null || index_ != null; } /** + * + * *
        * The index being changed.
        * 
* * .google.firestore.admin.v1.Index index = 2; + * * @return The index. */ public com.google.firestore.admin.v1.Index getIndex() { @@ -815,6 +970,8 @@ public com.google.firestore.admin.v1.Index getIndex() { } } /** + * + * *
        * The index being changed.
        * 
@@ -835,14 +992,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(); onChanged(); @@ -853,6 +1011,8 @@ public Builder setIndex( return this; } /** + * + * *
        * The index being changed.
        * 
@@ -863,7 +1023,9 @@ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { if (indexBuilder_ == null) { if (index_ != null) { index_ = - com.google.firestore.admin.v1.Index.newBuilder(index_).mergeFrom(value).buildPartial(); + com.google.firestore.admin.v1.Index.newBuilder(index_) + .mergeFrom(value) + .buildPartial(); } else { index_ = value; } @@ -875,6 +1037,8 @@ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { return this; } /** + * + * *
        * The index being changed.
        * 
@@ -893,6 +1057,8 @@ public Builder clearIndex() { return this; } /** + * + * *
        * The index being changed.
        * 
@@ -900,11 +1066,13 @@ public Builder clearIndex() { * .google.firestore.admin.v1.Index index = 2; */ public com.google.firestore.admin.v1.Index.Builder getIndexBuilder() { - + onChanged(); return getIndexFieldBuilder().getBuilder(); } /** + * + * *
        * The index being changed.
        * 
@@ -915,11 +1083,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.
        * 
@@ -927,18 +1096,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) { @@ -951,41 +1124,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; @@ -997,90 +1174,109 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getDefaultInstanceForType() { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TtlConfigDeltaOrBuilder extends + public interface TtlConfigDeltaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Specifies how the TTL configuration is changing.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * * @return The enum numeric value on the wire for changeType. */ int getChangeTypeValue(); /** + * + * *
      * Specifies how the TTL configuration is changing.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * * @return The changeType. */ com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType getChangeType(); } /** + * + * *
    * Information about an TTL configuration change.
    * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta} */ - public static final class TtlConfigDelta extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TtlConfigDelta extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) TtlConfigDeltaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TtlConfigDelta.newBuilder() to construct. private TtlConfigDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TtlConfigDelta() { changeType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TtlConfigDelta(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.class, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder.class); + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.class, + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder.class); } /** + * + * *
      * Specifies how the TTL config is changing.
      * 
* - * Protobuf enum {@code google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType} + * Protobuf enum {@code + * google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType} */ - public enum ChangeType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The type of change is not specified or known.
        * 
@@ -1089,6 +1285,8 @@ public enum ChangeType */ CHANGE_TYPE_UNSPECIFIED(0), /** + * + * *
        * The TTL config is being added.
        * 
@@ -1097,6 +1295,8 @@ public enum ChangeType */ ADD(1), /** + * + * *
        * The TTL config is being removed.
        * 
@@ -1108,6 +1308,8 @@ public enum ChangeType ; /** + * + * *
        * The type of change is not specified or known.
        * 
@@ -1116,6 +1318,8 @@ public enum ChangeType */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The TTL config is being added.
        * 
@@ -1124,6 +1328,8 @@ public enum ChangeType */ public static final int ADD_VALUE = 1; /** + * + * *
        * The TTL config is being removed.
        * 
@@ -1132,7 +1338,6 @@ public enum ChangeType */ public static final int REMOVE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1157,49 +1362,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; @@ -1219,31 +1426,50 @@ private ChangeType(int value) { public static final int CHANGE_TYPE_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType + getChangeType() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.valueOf(changeType_); - return result == null ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.UNRECOGNIZED : result; + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.valueOf( + 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; @@ -1255,9 +1481,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); @@ -1269,9 +1497,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; @@ -1281,12 +1511,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; @@ -1308,87 +1539,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 @@ -1398,39 +1637,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(); @@ -1440,14 +1682,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 @@ -1461,7 +1705,8 @@ 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); + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta result = + new com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta(this); result.changeType_ = changeType_; onBuilt(); return result; @@ -1471,46 +1716,53 @@ public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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 +1792,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - changeType_ = input.readEnum(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + changeType_ = input.readEnum(); + + 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) { @@ -1563,77 +1817,111 @@ public Builder mergeFrom( 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. */ public Builder setChangeTypeValue(int value) { - + changeType_ = value; onChanged(); 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() { + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType + getChangeType() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.valueOf(changeType_); - return result == null ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.UNRECOGNIZED : result; + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.valueOf( + 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(); } - + changeType_ = value.getNumber(); onChanged(); 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() { - + changeType_ = 0; 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.
@@ -1780,12 +2087,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int FIELD_FIELD_NUMBER = 3;
   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 @@ -1794,30 +2104,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 { @@ -1826,105 +2136,141 @@ public java.lang.String getField() { } public static final int INDEX_CONFIG_DELTAS_FIELD_NUMBER = 4; - 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_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.firestore.admin.v1.OperationState getState() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(state_); + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.valueOf(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 @@ -1932,18 +2278,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.
    * 
@@ -1958,11 +2311,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui 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 @@ -1970,18 +2326,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.
    * 
@@ -1996,11 +2359,15 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder 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 @@ -2008,30 +2375,41 @@ 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() { + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder + getTtlConfigDeltaOrBuilder() { return getTtlConfigDelta(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2043,8 +2421,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()); } @@ -2057,7 +2434,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) { @@ -2079,35 +2457,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; @@ -2117,42 +2490,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; @@ -2199,96 +2566,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(); } + 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].
@@ -2296,33 +2670,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(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
+    private Builder() {}
 
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2371,9 +2744,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
@@ -2392,7 +2765,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -2438,38 +2812,39 @@ public com.google.firestore.admin.v1.FieldOperationMetadata 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.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;
@@ -2477,7 +2852,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());
       }
@@ -2506,9 +2882,10 @@ public Builder mergeFrom(com.google.firestore.admin.v1.FieldOperationMetadata ot
             indexConfigDeltasBuilder_ = null;
             indexConfigDeltas_ = other.indexConfigDeltas_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            indexConfigDeltasBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getIndexConfigDeltasFieldBuilder() : null;
+            indexConfigDeltasBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getIndexConfigDeltasFieldBuilder()
+                    : null;
           } else {
             indexConfigDeltasBuilder_.addAllMessages(other.indexConfigDeltas_);
           }
@@ -2552,70 +2929,71 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              field_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                field_ = input.readStringRequireUtf8();
 
-              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();
+                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();
 
-              break;
-            } // case 40
-            case 50: {
-              input.readMessage(
-                  getProgressDocumentsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 40
+            case 50:
+              {
+                input.readMessage(
+                    getProgressDocumentsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getProgressBytesFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getTtlConfigDeltaFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getTtlConfigDeltaFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -2625,28 +3003,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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2657,6 +3045,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time this operation started.
      * 
@@ -2677,14 +3067,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(); onChanged(); @@ -2695,6 +3086,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -2705,7 +3098,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -2717,6 +3110,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -2735,6 +3130,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -2742,11 +3139,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time this operation started.
      * 
@@ -2757,11 +3156,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.
      * 
@@ -2769,14 +3169,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_; @@ -2784,26 +3187,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 endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * 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() { @@ -2814,6 +3226,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2835,6 +3249,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2842,8 +3258,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();
         onChanged();
@@ -2854,6 +3269,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2865,7 +3282,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -2877,6 +3294,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2896,6 +3315,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2904,11 +3325,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2920,11 +3343,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.
@@ -2933,14 +3357,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_;
@@ -2948,19 +3375,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; @@ -2969,21 +3398,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 { @@ -2991,83 +3421,102 @@ 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) { + public Builder setField(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + field_ = value; 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() { - + field_ = getDefaultInstance().getField(); 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; + * * @param value The bytes for field to set. * @return This builder for chaining. */ - public Builder setFieldBytes( - com.google.protobuf.ByteString value) { + public Builder setFieldBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + field_ = value; onChanged(); 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_ & 0x00000001) != 0)) { - indexConfigDeltas_ = new java.util.ArrayList(indexConfigDeltas_); + indexConfigDeltas_ = + new java.util.ArrayList< + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta>( + indexConfigDeltas_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -3075,12 +3524,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) { @@ -3090,14 +3543,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 { @@ -3105,12 +3563,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) { @@ -3127,15 +3589,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()); @@ -3146,14 +3614,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(); @@ -3167,12 +3640,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) { @@ -3189,15 +3666,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()); @@ -3208,15 +3690,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()); @@ -3227,19 +3715,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); @@ -3247,12 +3740,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) { @@ -3265,12 +3762,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) { @@ -3283,42 +3784,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 { @@ -3326,48 +3842,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_ & 0x00000001) != 0), getParentForChildren(), @@ -3379,51 +3920,65 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(state_); + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.valueOf(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. */ @@ -3431,21 +3986,24 @@ public Builder setState(com.google.firestore.admin.v1.OperationState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3453,34 +4011,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 progressDocumentsBuilder_ != null || progressDocuments_ != null; } /** + * + * *
      * 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.
      * 
@@ -3501,6 +4072,8 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3519,6 +4092,8 @@ public Builder setProgressDocuments( return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3529,7 +4104,9 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val if (progressDocumentsBuilder_ == null) { if (progressDocuments_ != null) { progressDocuments_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_).mergeFrom(value).buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_) + .mergeFrom(value) + .buildPartial(); } else { progressDocuments_ = value; } @@ -3541,6 +4118,8 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3559,6 +4138,8 @@ public Builder clearProgressDocuments() { return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3566,11 +4147,13 @@ public Builder clearProgressDocuments() { * .google.firestore.admin.v1.Progress progress_documents = 6; */ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilder() { - + onChanged(); return getProgressDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3581,11 +4164,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.
      * 
@@ -3593,14 +4179,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_; @@ -3608,34 +4197,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 progressBytesBuilder_ != null || progressBytes_ != null; } /** + * + * *
      * 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.
      * 
@@ -3656,6 +4258,8 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3674,6 +4278,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3684,7 +4290,9 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) if (progressBytesBuilder_ == null) { if (progressBytes_ != null) { progressBytes_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_).mergeFrom(value).buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_) + .mergeFrom(value) + .buildPartial(); } else { progressBytes_ = value; } @@ -3696,6 +4304,8 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3714,6 +4324,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3721,11 +4333,13 @@ public Builder clearProgressBytes() { * .google.firestore.admin.v1.Progress progress_bytes = 7; */ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() { - + onChanged(); return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3736,11 +4350,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.
      * 
@@ -3748,14 +4365,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_; @@ -3763,41 +4383,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 ttlConfigDeltaBuilder_ != null || 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. */ 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(); @@ -3811,14 +4449,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(); onChanged(); @@ -3829,17 +4471,24 @@ 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 (ttlConfigDelta_ != null) { ttlConfigDelta_ = - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.newBuilder(ttlConfigDelta_).mergeFrom(value).buildPartial(); + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.newBuilder( + ttlConfigDelta_) + .mergeFrom(value) + .buildPartial(); } else { ttlConfigDelta_ = value; } @@ -3851,11 +4500,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() { if (ttlConfigDeltaBuilder_ == null) { @@ -3869,55 +4521,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() { + 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); } @@ -3927,12 +4595,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(); } @@ -3941,27 +4609,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; @@ -3976,6 +4644,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 87% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java index 24cf894a45..10f8556585 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/field.proto package com.google.firestore.admin.v1; -public interface FieldOrBuilder extends +public interface FieldOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Field) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A field name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -34,10 +52,13 @@ public interface FieldOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. A field name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -64,12 +85,14 @@ public interface FieldOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -78,10 +101,13 @@ public interface FieldOrBuilder extends
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; + * * @return Whether the indexConfig field is set. */ boolean hasIndexConfig(); /** + * + * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -90,10 +116,13 @@ public interface FieldOrBuilder extends
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; + * * @return The indexConfig. */ com.google.firestore.admin.v1.Field.IndexConfig getIndexConfig(); /** + * + * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -106,6 +135,8 @@ public interface FieldOrBuilder extends
   com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -113,10 +144,13 @@ public interface FieldOrBuilder extends
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; + * * @return Whether the ttlConfig field is set. */ boolean hasTtlConfig(); /** + * + * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -124,10 +158,13 @@ public interface FieldOrBuilder extends
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; + * * @return The ttlConfig. */ com.google.firestore.admin.v1.Field.TtlConfig getTtlConfig(); /** + * + * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java
new file mode 100644
index 0000000000..5fcc0320a6
--- /dev/null
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java
@@ -0,0 +1,121 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/admin/v1/field.proto
+
+package com.google.firestore.admin.v1;
+
+public final class FieldProto {
+  private FieldProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_Field_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_Field_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n%google/firestore/admin/v1/field.proto\022"
+          + "\031google.firestore.admin.v1\032\037google/api/f"
+          + "ield_behavior.proto\032\031google/api/resource"
+          + ".proto\032%google/firestore/admin/v1/index."
+          + "proto\"\305\004\n\005Field\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\014in"
+          + "dex_config\030\002 \001(\0132,.google.firestore.admi"
+          + "n.v1.Field.IndexConfig\022>\n\nttl_config\030\003 \001"
+          + "(\0132*.google.firestore.admin.v1.Field.Ttl"
+          + "Config\032\211\001\n\013IndexConfig\0221\n\007indexes\030\001 \003(\0132"
+          + " .google.firestore.admin.v1.Index\022\034\n\024use"
+          + "s_ancestor_config\030\002 \001(\010\022\026\n\016ancestor_fiel"
+          + "d\030\003 \001(\t\022\021\n\treverting\030\004 \001(\010\032\235\001\n\tTtlConfig"
+          + "\022D\n\005state\030\001 \001(\01620.google.firestore.admin"
+          + ".v1.Field.TtlConfig.StateB\003\340A\003\"J\n\005State\022"
+          + "\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006"
+          + "ACTIVE\020\002\022\020\n\014NEEDS_REPAIR\020\003:y\352Av\n\036firesto"
+          + "re.googleapis.com/Field\022Tprojects/{proje"
+          + "ct}/databases/{database}/collectionGroup"
+          + "s/{collection}/fields/{field}B\336\001\n\035com.go"
+          + "ogle.firestore.admin.v1B\nFieldProtoP\001Z>g"
+          + "oogle.golang.org/genproto/googleapis/fir"
+          + "estore/admin/v1;admin\242\002\004GCFS\252\002\037Google.Cl"
+          + "oud.Firestore.Admin.V1\312\002\037Google\\Cloud\\Fi"
+          + "restore\\Admin\\V1\352\002#Google::Cloud::Firest"
+          + "ore::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..a607b4a0c8
--- /dev/null
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java
@@ -0,0 +1,394 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/admin/v1/firestore_admin.proto
+
+package com.google.firestore.admin.v1;
+
+public final class FirestoreAdminProto {
+  private FirestoreAdminProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n/google/firestore/admin/v1/firestore_ad"
+          + "min.proto\022\031google.firestore.admin.v1\032\034go"
+          + "ogle/api/annotations.proto\032\027google/api/c"
+          + "lient.proto\032\037google/api/field_behavior.p"
+          + "roto\032\031google/api/resource.proto\032(google/"
+          + "firestore/admin/v1/database.proto\032%googl"
+          + "e/firestore/admin/v1/field.proto\032%google"
+          + "/firestore/admin/v1/index.proto\032#google/"
+          + "longrunning/operations.proto\032\033google/pro"
+          + "tobuf/empty.proto\032 google/protobuf/field"
+          + "_mask.proto\"Q\n\024ListDatabasesRequest\0229\n\006p"
+          + "arent\030\001 \001(\tB)\340A\002\372A#\022!firestore.googleapi"
+          + "s.com/Database\"O\n\025ListDatabasesResponse\022"
+          + "6\n\tdatabases\030\001 \003(\0132#.google.firestore.ad"
+          + "min.v1.Database\"M\n\022GetDatabaseRequest\0227\n"
+          + "\004name\030\001 \001(\tB)\340A\002\372A#\n!firestore.googleapi"
+          + "s.com/Database\"\204\001\n\025UpdateDatabaseRequest"
+          + "\022:\n\010database\030\001 \001(\0132#.google.firestore.ad"
+          + "min.v1.DatabaseB\003\340A\002\022/\n\013update_mask\030\002 \001("
+          + "\0132\032.google.protobuf.FieldMask\"\030\n\026UpdateD"
+          + "atabaseMetadata\"\214\001\n\022CreateIndexRequest\022@"
+          + "\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(firestore.google"
+          + "apis.com/CollectionGroup\0224\n\005index\030\002 \001(\0132"
+          + " .google.firestore.admin.v1.IndexB\003\340A\002\"\215"
+          + "\001\n\022ListIndexesRequest\022@\n\006parent\030\001 \001(\tB0\340"
+          + "A\002\372A*\n(firestore.googleapis.com/Collecti"
+          + "onGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001"
+          + "(\005\022\022\n\npage_token\030\004 \001(\t\"a\n\023ListIndexesRes"
+          + "ponse\0221\n\007indexes\030\001 \003(\0132 .google.firestor"
+          + "e.admin.v1.Index\022\027\n\017next_page_token\030\002 \001("
+          + "\t\"G\n\017GetIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372"
+          + "A \n\036firestore.googleapis.com/Index\"J\n\022De"
+          + "leteIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036"
+          + "firestore.googleapis.com/Index\"{\n\022Update"
+          + "FieldRequest\0224\n\005field\030\001 \001(\0132 .google.fir"
+          + "estore.admin.v1.FieldB\003\340A\002\022/\n\013update_mas"
+          + "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"G\n\017G"
+          + "etFieldRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036fi"
+          + "restore.googleapis.com/Field\"\214\001\n\021ListFie"
+          + "ldsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(fire"
+          + "store.googleapis.com/CollectionGroup\022\016\n\006"
+          + "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_"
+          + "token\030\004 \001(\t\"_\n\022ListFieldsResponse\0220\n\006fie"
+          + "lds\030\001 \003(\0132 .google.firestore.admin.v1.Fi"
+          + "eld\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\026ExportD"
+          + "ocumentsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!f"
+          + "irestore.googleapis.com/Database\022\026\n\016coll"
+          + "ection_ids\030\002 \003(\t\022\031\n\021output_uri_prefix\030\003 "
+          + "\001(\t\"\203\001\n\026ImportDocumentsRequest\0227\n\004name\030\001"
+          + " \001(\tB)\340A\002\372A#\n!firestore.googleapis.com/D"
+          + "atabase\022\026\n\016collection_ids\030\002 \003(\t\022\030\n\020input"
+          + "_uri_prefix\030\003 \001(\t2\222\023\n\016FirestoreAdmin\022\333\001\n"
+          + "\013CreateIndex\022-.google.firestore.admin.v1"
+          + ".CreateIndexRequest\032\035.google.longrunning"
+          + ".Operation\"~\202\323\344\223\002G\">/v1/{parent=projects"
+          + "/*/databases/*/collectionGroups/*}/index"
+          + "es:\005index\332A\014parent,index\312A\037\n\005Index\022\026Inde"
+          + "xOperationMetadata\022\275\001\n\013ListIndexes\022-.goo"
+          + "gle.firestore.admin.v1.ListIndexesReques"
+          + "t\032..google.firestore.admin.v1.ListIndexe"
+          + "sResponse\"O\202\323\344\223\002@\022>/v1/{parent=projects/"
+          + "*/databases/*/collectionGroups/*}/indexe"
+          + "s\332A\006parent\022\247\001\n\010GetIndex\022*.google.firesto"
+          + "re.admin.v1.GetIndexRequest\032 .google.fir"
+          + "estore.admin.v1.Index\"M\202\323\344\223\002@\022>/v1/{name"
+          + "=projects/*/databases/*/collectionGroups"
+          + "/*/indexes/*}\332A\004name\022\243\001\n\013DeleteIndex\022-.g"
+          + "oogle.firestore.admin.v1.DeleteIndexRequ"
+          + "est\032\026.google.protobuf.Empty\"M\202\323\344\223\002@*>/v1"
+          + "/{name=projects/*/databases/*/collection"
+          + "Groups/*/indexes/*}\332A\004name\022\246\001\n\010GetField\022"
+          + "*.google.firestore.admin.v1.GetFieldRequ"
+          + "est\032 .google.firestore.admin.v1.Field\"L\202"
+          + "\323\344\223\002?\022=/v1/{name=projects/*/databases/*/"
+          + "collectionGroups/*/fields/*}\332A\004name\022\331\001\n\013"
+          + "UpdateField\022-.google.firestore.admin.v1."
+          + "UpdateFieldRequest\032\035.google.longrunning."
+          + "Operation\"|\202\323\344\223\002L2C/v1/{field.name=proje"
+          + "cts/*/databases/*/collectionGroups/*/fie"
+          + "lds/*}:\005field\332A\005field\312A\037\n\005Field\022\026FieldOp"
+          + "erationMetadata\022\271\001\n\nListFields\022,.google."
+          + "firestore.admin.v1.ListFieldsRequest\032-.g"
+          + "oogle.firestore.admin.v1.ListFieldsRespo"
+          + "nse\"N\202\323\344\223\002?\022=/v1/{parent=projects/*/data"
+          + "bases/*/collectionGroups/*}/fields\332A\006par"
+          + "ent\022\335\001\n\017ExportDocuments\0221.google.firesto"
+          + "re.admin.v1.ExportDocumentsRequest\032\035.goo"
+          + "gle.longrunning.Operation\"x\202\323\344\223\0026\"1/v1/{"
+          + "name=projects/*/databases/*}:exportDocum"
+          + "ents:\001*\332A\004name\312A2\n\027ExportDocumentsRespon"
+          + "se\022\027ExportDocumentsMetadata\022\333\001\n\017ImportDo"
+          + "cuments\0221.google.firestore.admin.v1.Impo"
+          + "rtDocumentsRequest\032\035.google.longrunning."
+          + "Operation\"v\202\323\344\223\0026\"1/v1/{name=projects/*/"
+          + "databases/*}:importDocuments:\001*\332A\004name\312A"
+          + "0\n\025google.protobuf.Empty\022\027ImportDocument"
+          + "sMetadata\022\223\001\n\013GetDatabase\022-.google.fires"
+          + "tore.admin.v1.GetDatabaseRequest\032#.googl"
+          + "e.firestore.admin.v1.Database\"0\202\323\344\223\002#\022!/"
+          + "v1/{name=projects/*/databases/*}\332A\004name\022"
+          + "\246\001\n\rListDatabases\022/.google.firestore.adm"
+          + "in.v1.ListDatabasesRequest\0320.google.fire"
+          + "store.admin.v1.ListDatabasesResponse\"2\202\323"
+          + "\344\223\002#\022!/v1/{parent=projects/*}/databases\332"
+          + "A\006parent\022\333\001\n\016UpdateDatabase\0220.google.fir"
+          + "estore.admin.v1.UpdateDatabaseRequest\032\035."
+          + "google.longrunning.Operation\"x\202\323\344\223\00262*/v"
+          + "1/{database.name=projects/*/databases/*}"
+          + ":\010database\332A\024database,update_mask\312A\"\n\010Da"
+          + "tabase\022\026UpdateDatabaseMetadata\032v\312A\030fires"
+          + "tore.googleapis.com\322AXhttps://www.google"
+          + "apis.com/auth/cloud-platform,https://www"
+          + ".googleapis.com/auth/datastoreB\252\003\n\035com.g"
+          + "oogle.firestore.admin.v1B\023FirestoreAdmin"
+          + "ProtoP\001Z>google.golang.org/genproto/goog"
+          + "leapis/firestore/admin/v1;admin\242\002\004GCFS\252\002"
+          + "\037Google.Cloud.Firestore.Admin.V1\312\002\037Googl"
+          + "e\\Cloud\\Firestore\\Admin\\V1\352\002#Google::Clo"
+          + "ud::Firestore::Admin::V1\352AL\n!firestore.g"
+          + "oogleapis.com/Location\022\'projects/{projec"
+          + "t}/locations/{location}\352Aq\n(firestore.go"
+          + "ogleapis.com/CollectionGroup\022Eprojects/{"
+          + "project}/databases/{database}/collection"
+          + "Groups/{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 61%
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 6a1cfa2b81..aef4732df6 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,62 +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/admin/v1/firestore_admin.proto
 
 package com.google.firestore.admin.v1;
 
 /**
+ *
+ *
  * 
  * The request for [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase].
  * 
* * Protobuf type {@code google.firestore.admin.v1.GetDatabaseRequest} */ -public final class GetDatabaseRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.GetDatabaseRequest) GetDatabaseRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDatabaseRequest.newBuilder() to construct. private GetDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDatabaseRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetDatabaseRequest.class, com.google.firestore.admin.v1.GetDatabaseRequest.Builder.class); + com.google.firestore.admin.v1.GetDatabaseRequest.class, + com.google.firestore.admin.v1.GetDatabaseRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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 @@ -65,30 +89,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 { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.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; } @@ -160,130 +186,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(); @@ -293,9 +325,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 @@ -314,7 +346,8 @@ public com.google.firestore.admin.v1.GetDatabaseRequest build() { @java.lang.Override public com.google.firestore.admin.v1.GetDatabaseRequest buildPartial() { - com.google.firestore.admin.v1.GetDatabaseRequest result = new com.google.firestore.admin.v1.GetDatabaseRequest(this); + com.google.firestore.admin.v1.GetDatabaseRequest result = + new com.google.firestore.admin.v1.GetDatabaseRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,38 +357,39 @@ public com.google.firestore.admin.v1.GetDatabaseRequest 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.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; @@ -363,7 +397,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_; onChanged(); @@ -394,17 +429,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -417,19 +454,23 @@ public Builder mergeFrom( 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; @@ -438,21 +479,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 { @@ -460,64 +504,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,12 +584,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(); } @@ -541,27 +598,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; @@ -576,6 +633,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 62% 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 04e9fea4e4..33e8f2d419 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,62 +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/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField].
  * 
* * Protobuf type {@code google.firestore.admin.v1.GetFieldRequest} */ -public final class GetFieldRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetFieldRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.GetFieldRequest) GetFieldRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetFieldRequest.newBuilder() to construct. private GetFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetFieldRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetFieldRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetFieldRequest.class, com.google.firestore.admin.v1.GetFieldRequest.Builder.class); + com.google.firestore.admin.v1.GetFieldRequest.class, + com.google.firestore.admin.v1.GetFieldRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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 @@ -65,30 +89,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 { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.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; } @@ -160,130 +186,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(); @@ -293,9 +325,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 @@ -314,7 +346,8 @@ public com.google.firestore.admin.v1.GetFieldRequest build() { @java.lang.Override public com.google.firestore.admin.v1.GetFieldRequest buildPartial() { - com.google.firestore.admin.v1.GetFieldRequest result = new com.google.firestore.admin.v1.GetFieldRequest(this); + com.google.firestore.admin.v1.GetFieldRequest result = + new com.google.firestore.admin.v1.GetFieldRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,38 +357,39 @@ public com.google.firestore.admin.v1.GetFieldRequest 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.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; @@ -394,17 +428,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -417,19 +453,23 @@ public Builder mergeFrom( 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; @@ -438,21 +478,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 { @@ -460,64 +503,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,12 +583,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(); } @@ -541,27 +597,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; @@ -576,6 +632,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 62% 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 0bf4f6fea9..e4c1a7034b 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,62 +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/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex].
  * 
* * Protobuf type {@code google.firestore.admin.v1.GetIndexRequest} */ -public final class GetIndexRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetIndexRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.GetIndexRequest) GetIndexRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetIndexRequest.newBuilder() to construct. private GetIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetIndexRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetIndexRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetIndexRequest.class, com.google.firestore.admin.v1.GetIndexRequest.Builder.class); + com.google.firestore.admin.v1.GetIndexRequest.class, + com.google.firestore.admin.v1.GetIndexRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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 @@ -65,30 +89,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 { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.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; } @@ -160,130 +186,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(); @@ -293,9 +325,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 @@ -314,7 +346,8 @@ public com.google.firestore.admin.v1.GetIndexRequest build() { @java.lang.Override public com.google.firestore.admin.v1.GetIndexRequest buildPartial() { - com.google.firestore.admin.v1.GetIndexRequest result = new com.google.firestore.admin.v1.GetIndexRequest(this); + com.google.firestore.admin.v1.GetIndexRequest result = + new com.google.firestore.admin.v1.GetIndexRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,38 +357,39 @@ public com.google.firestore.admin.v1.GetIndexRequest 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.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; @@ -394,17 +428,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -417,19 +453,23 @@ public Builder mergeFrom( 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; @@ -438,21 +478,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 { @@ -460,64 +503,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,12 +583,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(); } @@ -541,27 +597,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; @@ -576,6 +632,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 73% 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 aa96e78965..73ae33e09e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** + * + * *
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsMetadata}
  */
-public final class ImportDocumentsMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ImportDocumentsMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ImportDocumentsMetadata)
     ImportDocumentsMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ImportDocumentsMetadata.newBuilder() to construct.
   private ImportDocumentsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ImportDocumentsMetadata() {
     operationState_ = 0;
     collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -28,37 +46,41 @@ private ImportDocumentsMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ImportDocumentsMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.ImportDocumentsMetadata.class, com.google.firestore.admin.v1.ImportDocumentsMetadata.Builder.class);
+            com.google.firestore.admin.v1.ImportDocumentsMetadata.class,
+            com.google.firestore.admin.v1.ImportDocumentsMetadata.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
+   *
+   *
    * 
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -66,11 +88,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -78,6 +103,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time this operation started.
    * 
@@ -92,12 +119,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -105,12 +135,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -118,6 +151,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -133,38 +168,50 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int OPERATION_STATE_FIELD_NUMBER = 3;
   private int operationState_;
   /**
+   *
+   *
    * 
    * 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() { + @java.lang.Override + public com.google.firestore.admin.v1.OperationState getOperationState() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(operationState_); + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.valueOf(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 @@ -172,18 +219,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.
    * 
@@ -198,11 +252,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui 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 @@ -210,18 +267,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.
    * 
@@ -236,34 +300,42 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder public static final int COLLECTION_IDS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList collectionIds_; /** + * + * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_; } /** + * + * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -271,27 +343,32 @@ 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; private volatile java.lang.Object inputUriPrefix_; /** + * + * *
    * The location of the documents being imported.
    * 
* * string input_uri_prefix = 7; + * * @return The inputUriPrefix. */ @java.lang.Override @@ -300,29 +377,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 { @@ -331,6 +408,7 @@ public java.lang.String getInputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,15 +420,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) { @@ -375,24 +453,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; @@ -413,38 +487,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; } @@ -486,96 +555,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 +660,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();
@@ -647,9 +723,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -668,7 +744,8 @@ public com.google.firestore.admin.v1.ImportDocumentsMetadata build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.ImportDocumentsMetadata buildPartial() {
-      com.google.firestore.admin.v1.ImportDocumentsMetadata result = new com.google.firestore.admin.v1.ImportDocumentsMetadata(this);
+      com.google.firestore.admin.v1.ImportDocumentsMetadata result =
+          new com.google.firestore.admin.v1.ImportDocumentsMetadata(this);
       int from_bitField0_ = bitField0_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -705,38 +782,39 @@ public com.google.firestore.admin.v1.ImportDocumentsMetadata 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.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;
@@ -744,7 +822,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());
       }
@@ -800,56 +879,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            case 24: {
-              operationState_ = input.readEnum();
-
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getProgressDocumentsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getProgressBytesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureCollectionIdsIsMutable();
-              collectionIds_.add(s);
-              break;
-            } // case 50
-            case 58: {
-              inputUriPrefix_ = input.readStringRequireUtf8();
-
-              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);
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            case 24:
+              {
+                operationState_ = input.readEnum();
+
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(
+                    getProgressDocumentsFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureCollectionIdsIsMutable();
+                collectionIds_.add(s);
+                break;
+              } // case 50
+            case 58:
+              {
+                inputUriPrefix_ = input.readStringRequireUtf8();
+
+                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) {
@@ -859,28 +939,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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -891,6 +981,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time this operation started.
      * 
@@ -911,14 +1003,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(); onChanged(); @@ -929,6 +1022,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -939,7 +1034,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -951,6 +1046,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -969,6 +1066,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -976,11 +1075,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time this operation started.
      * 
@@ -991,11 +1092,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.
      * 
@@ -1003,14 +1105,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_; @@ -1018,26 +1123,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 endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * 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() { @@ -1048,6 +1162,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1069,6 +1185,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1076,8 +1194,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();
         onChanged();
@@ -1088,6 +1205,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1099,7 +1218,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1111,6 +1230,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1130,6 +1251,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1138,11 +1261,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1154,11 +1279,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.
@@ -1167,14 +1293,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_;
@@ -1182,51 +1311,65 @@ 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. */ public Builder setOperationStateValue(int value) { - + operationState_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(operationState_); + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.valueOf(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. */ @@ -1234,21 +1377,24 @@ public Builder setOperationState(com.google.firestore.admin.v1.OperationState va if (value == null) { throw new NullPointerException(); } - + operationState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The state of the import operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return This builder for chaining. */ public Builder clearOperationState() { - + operationState_ = 0; onChanged(); return this; @@ -1256,34 +1402,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 progressDocumentsBuilder_ != null || progressDocuments_ != null; } /** + * + * *
      * 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.
      * 
@@ -1304,6 +1463,8 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1322,6 +1483,8 @@ public Builder setProgressDocuments( return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1332,7 +1495,9 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val if (progressDocumentsBuilder_ == null) { if (progressDocuments_ != null) { progressDocuments_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_).mergeFrom(value).buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_) + .mergeFrom(value) + .buildPartial(); } else { progressDocuments_ = value; } @@ -1344,6 +1509,8 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1362,6 +1529,8 @@ public Builder clearProgressDocuments() { return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1369,11 +1538,13 @@ public Builder clearProgressDocuments() { * .google.firestore.admin.v1.Progress progress_documents = 4; */ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilder() { - + onChanged(); return getProgressDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1384,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.
      * 
@@ -1396,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_; @@ -1411,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 progressBytesBuilder_ != null || progressBytes_ != null; } /** + * + * *
      * 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.
      * 
@@ -1459,6 +1649,8 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1477,6 +1669,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1487,7 +1681,9 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) if (progressBytesBuilder_ == null) { if (progressBytes_ != null) { progressBytes_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_).mergeFrom(value).buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_) + .mergeFrom(value) + .buildPartial(); } else { progressBytes_ = value; } @@ -1499,6 +1695,8 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1517,6 +1715,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1524,11 +1724,13 @@ public Builder clearProgressBytes() { * .google.firestore.admin.v1.Progress progress_bytes = 5; */ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() { - + onChanged(); return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1539,11 +1741,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.
      * 
@@ -1551,55 +1756,68 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), - getParentForChildren(), - isClean()); + progressBytesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), getParentForChildren(), isClean()); progressBytes_ = null; } return progressBytesBuilder_; } - private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList collectionIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -1607,80 +1825,90 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds( - int index, java.lang.String value) { + public Builder setCollectionIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds( - java.lang.String value) { + public Builder addCollectionIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds( - java.lang.Iterable values) { + public Builder addAllCollectionIds(java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); onChanged(); return this; } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -1690,20 +1918,22 @@ public Builder clearCollectionIds() { return this; } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes( - com.google.protobuf.ByteString value) { + public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); @@ -1712,18 +1942,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; @@ -1732,20 +1964,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 { @@ -1753,61 +1986,68 @@ 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) { + public Builder setInputUriPrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputUriPrefix_ = value; onChanged(); return this; } /** + * + * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; + * * @return This builder for chaining. */ public Builder clearInputUriPrefix() { - + inputUriPrefix_ = getDefaultInstance().getInputUriPrefix(); onChanged(); 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) { + public Builder setInputUriPrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputUriPrefix_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1817,12 +2057,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(); } @@ -1831,27 +2071,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; @@ -1866,6 +2106,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 33ee84faad..fdbfbe3452 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsRequest} */ -public final class ImportDocumentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ImportDocumentsRequest) ImportDocumentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportDocumentsRequest.newBuilder() to construct. private ImportDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportDocumentsRequest() { name_ = ""; collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -27,38 +45,44 @@ private ImportDocumentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportDocumentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ImportDocumentsRequest.class, com.google.firestore.admin.v1.ImportDocumentsRequest.Builder.class); + com.google.firestore.admin.v1.ImportDocumentsRequest.class, + com.google.firestore.admin.v1.ImportDocumentsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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 @@ -67,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. 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 { @@ -101,37 +127,45 @@ public java.lang.String getName() { public static final int COLLECTION_IDS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList collectionIds_; /** + * + * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_; } /** + * + * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -139,23 +173,27 @@ 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; private volatile java.lang.Object inputUriPrefix_; /** + * + * *
    * Location of the exported files.
    * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -165,6 +203,7 @@ public java.lang.String getCollectionIds(int index) {
    * 
* * string input_uri_prefix = 3; + * * @return The inputUriPrefix. */ @java.lang.Override @@ -173,14 +212,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 +230,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 +247,7 @@ public java.lang.String getInputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +259,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -261,19 +300,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,129 +336,135 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.ImportDocumentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ImportDocumentsRequest) com.google.firestore.admin.v1.ImportDocumentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ImportDocumentsRequest.class, com.google.firestore.admin.v1.ImportDocumentsRequest.Builder.class); + com.google.firestore.admin.v1.ImportDocumentsRequest.class, + com.google.firestore.admin.v1.ImportDocumentsRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ImportDocumentsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,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_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 @@ -456,7 +499,8 @@ public com.google.firestore.admin.v1.ImportDocumentsRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ImportDocumentsRequest buildPartial() { - com.google.firestore.admin.v1.ImportDocumentsRequest result = new com.google.firestore.admin.v1.ImportDocumentsRequest(this); + com.google.firestore.admin.v1.ImportDocumentsRequest result = + new com.google.firestore.admin.v1.ImportDocumentsRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { @@ -473,38 +517,39 @@ public com.google.firestore.admin.v1.ImportDocumentsRequest 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.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; @@ -512,7 +557,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_; onChanged(); @@ -557,28 +603,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); + case 10: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCollectionIdsIsMutable(); - collectionIds_.add(s); - break; - } // case 18 - case 26: { - inputUriPrefix_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCollectionIdsIsMutable(); + collectionIds_.add(s); + break; + } // case 18 + case 26: + { + inputUriPrefix_ = input.readStringRequireUtf8(); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -588,23 +638,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; @@ -613,21 +668,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 { @@ -635,101 +693,124 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList collectionIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -737,85 +818,95 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds( - int index, java.lang.String value) { + public Builder setCollectionIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds( - java.lang.String value) { + public Builder addCollectionIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds( - java.lang.Iterable values) { + public Builder addAllCollectionIds(java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); onChanged(); return this; } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -825,21 +916,23 @@ public Builder clearCollectionIds() { return this; } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes( - com.google.protobuf.ByteString value) { + public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); @@ -848,6 +941,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
@@ -857,13 +952,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; @@ -872,6 +967,8 @@ public java.lang.String getInputUriPrefix() { } } /** + * + * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -881,15 +978,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 { @@ -897,6 +993,8 @@ public java.lang.String getInputUriPrefix() { } } /** + * + * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -906,20 +1004,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) { + public Builder setInputUriPrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputUriPrefix_ = value; onChanged(); return this; } /** + * + * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -929,15 +1029,18 @@ public Builder setInputUriPrefix(
      * 
* * string input_uri_prefix = 3; + * * @return This builder for chaining. */ public Builder clearInputUriPrefix() { - + inputUriPrefix_ = getDefaultInstance().getInputUriPrefix(); onChanged(); return this; } /** + * + * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -947,23 +1050,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) { + public Builder setInputUriPrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputUriPrefix_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -973,12 +1076,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(); } @@ -987,27 +1090,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; @@ -1022,6 +1125,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 74d0f6a3fe..4439c535b8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/index.proto package com.google.firestore.admin.v1; /** + * + * *
  * Cloud Firestore indexes enable simple and complex queries against
  * documents in a database.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Index}
  */
-public final class Index extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Index extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Index)
     IndexOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Index.newBuilder() to construct.
   private Index(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Index() {
     name_ = "";
     queryScope_ = 0;
@@ -29,30 +47,33 @@ private Index() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Index();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.IndexProto
+        .internal_static_google_firestore_admin_v1_Index_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_fieldAccessorTable
+    return com.google.firestore.admin.v1.IndexProto
+        .internal_static_google_firestore_admin_v1_Index_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.Index.class, com.google.firestore.admin.v1.Index.Builder.class);
+            com.google.firestore.admin.v1.Index.class,
+            com.google.firestore.admin.v1.Index.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Query Scope defines the scope at which a query is run. This is specified on
    * a StructuredQuery's `from` field.
@@ -60,9 +81,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.firestore.admin.v1.Index.QueryScope}
    */
-  public enum QueryScope
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The query scope is unspecified. Not a valid option.
      * 
@@ -71,6 +93,8 @@ public enum QueryScope */ QUERY_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified
@@ -81,6 +105,8 @@ public enum QueryScope
      */
     COLLECTION(1),
     /**
+     *
+     *
      * 
      * Indexes with a collection group query scope specified allow queries
      * against all collections that has the collection id specified by the
@@ -94,6 +120,8 @@ public enum QueryScope
     ;
 
     /**
+     *
+     *
      * 
      * The query scope is unspecified. Not a valid option.
      * 
@@ -102,6 +130,8 @@ public enum QueryScope */ public static final int QUERY_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified
@@ -112,6 +142,8 @@ public enum QueryScope
      */
     public static final int COLLECTION_VALUE = 1;
     /**
+     *
+     *
      * 
      * Indexes with a collection group query scope specified allow queries
      * against all collections that has the collection id specified by the
@@ -122,7 +154,6 @@ public enum QueryScope
      */
     public static final int COLLECTION_GROUP_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -147,49 +178,49 @@ public static QueryScope valueOf(int value) {
      */
     public static QueryScope forNumber(int value) {
       switch (value) {
-        case 0: return QUERY_SCOPE_UNSPECIFIED;
-        case 1: return COLLECTION;
-        case 2: return COLLECTION_GROUP;
-        default: return null;
+        case 0:
+          return QUERY_SCOPE_UNSPECIFIED;
+        case 1:
+          return COLLECTION;
+        case 2:
+          return COLLECTION_GROUP;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        QueryScope> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public QueryScope findValueByNumber(int number) {
-              return QueryScope.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public QueryScope findValueByNumber(int number) {
+            return QueryScope.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.firestore.admin.v1.Index.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final QueryScope[] VALUES = values();
 
-    public static QueryScope valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static QueryScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -207,6 +238,8 @@ private QueryScope(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The state of an index. During index creation, an index will be in the
    * `CREATING` state. If the index is created successfully, it will transition
@@ -216,9 +249,10 @@ private QueryScope(int value) {
    *
    * Protobuf enum {@code google.firestore.admin.v1.Index.State}
    */
-  public enum State
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The state is unspecified.
      * 
@@ -227,6 +261,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The index is being created.
      * There is an active long-running operation for the index.
@@ -238,6 +274,8 @@ public enum State
      */
     CREATING(1),
     /**
+     *
+     *
      * 
      * The index is ready to be used.
      * The index is updated when writing a document.
@@ -248,6 +286,8 @@ public enum State
      */
     READY(2),
     /**
+     *
+     *
      * 
      * The index was being created, but something went wrong.
      * There is no active long-running operation for the index,
@@ -266,6 +306,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state is unspecified.
      * 
@@ -274,6 +316,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The index is being created.
      * There is an active long-running operation for the index.
@@ -285,6 +329,8 @@ public enum State
      */
     public static final int CREATING_VALUE = 1;
     /**
+     *
+     *
      * 
      * The index is ready to be used.
      * The index is updated when writing a document.
@@ -295,6 +341,8 @@ public enum State
      */
     public static final int READY_VALUE = 2;
     /**
+     *
+     *
      * 
      * The index was being created, but something went wrong.
      * There is no active long-running operation for the index,
@@ -310,7 +358,6 @@ public enum State
      */
     public static final int NEEDS_REPAIR_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -335,50 +382,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return CREATING;
-        case 2: return READY;
-        case 3: return NEEDS_REPAIR;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return CREATING;
+        case 2:
+          return READY;
+        case 3:
+          return NEEDS_REPAIR;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.firestore.admin.v1.Index.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -395,11 +443,14 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.firestore.admin.v1.Index.State)
   }
 
-  public interface IndexFieldOrBuilder extends
+  public interface IndexFieldOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Index.IndexField)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -407,10 +458,13 @@ public interface IndexFieldOrBuilder extends
      * 
* * string field_path = 1; + * * @return The fieldPath. */ java.lang.String getFieldPath(); /** + * + * *
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -418,66 +472,84 @@ public interface IndexFieldOrBuilder extends
      * 
* * string field_path = 1; + * * @return The bytes for fieldPath. */ - com.google.protobuf.ByteString - getFieldPathBytes(); + com.google.protobuf.ByteString getFieldPathBytes(); /** + * + * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @return Whether the order field is set. */ boolean hasOrder(); /** + * + * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @return The enum numeric value on the wire for order. */ int getOrderValue(); /** + * + * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @return The order. */ com.google.firestore.admin.v1.Index.IndexField.Order getOrder(); /** + * + * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return Whether the arrayConfig field is set. */ boolean hasArrayConfig(); /** + * + * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return The enum numeric value on the wire for arrayConfig. */ int getArrayConfigValue(); /** + * + * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return The arrayConfig. */ com.google.firestore.admin.v1.Index.IndexField.ArrayConfig getArrayConfig(); @@ -485,6 +557,8 @@ public interface IndexFieldOrBuilder extends public com.google.firestore.admin.v1.Index.IndexField.ValueModeCase getValueModeCase(); } /** + * + * *
    * A field in an index.
    * The field_path describes which field is indexed, the value_mode describes
@@ -493,54 +567,59 @@ public interface IndexFieldOrBuilder extends
    *
    * Protobuf type {@code google.firestore.admin.v1.Index.IndexField}
    */
-  public static final class IndexField extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class IndexField extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Index.IndexField)
       IndexFieldOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use IndexField.newBuilder() to construct.
     private IndexField(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private IndexField() {
       fieldPath_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new IndexField();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.admin.v1.IndexProto
+          .internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable
+      return com.google.firestore.admin.v1.IndexProto
+          .internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Index.IndexField.class, com.google.firestore.admin.v1.Index.IndexField.Builder.class);
+              com.google.firestore.admin.v1.Index.IndexField.class,
+              com.google.firestore.admin.v1.Index.IndexField.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * The supported orderings.
      * 
* * Protobuf enum {@code google.firestore.admin.v1.Index.IndexField.Order} */ - public enum Order - implements com.google.protobuf.ProtocolMessageEnum { + public enum Order implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The ordering is unspecified. Not a valid option.
        * 
@@ -549,6 +628,8 @@ public enum Order */ ORDER_UNSPECIFIED(0), /** + * + * *
        * The field is ordered by ascending field value.
        * 
@@ -557,6 +638,8 @@ public enum Order */ ASCENDING(1), /** + * + * *
        * The field is ordered by descending field value.
        * 
@@ -568,6 +651,8 @@ public enum Order ; /** + * + * *
        * The ordering is unspecified. Not a valid option.
        * 
@@ -576,6 +661,8 @@ public enum Order */ public static final int ORDER_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The field is ordered by ascending field value.
        * 
@@ -584,6 +671,8 @@ public enum Order */ public static final int ASCENDING_VALUE = 1; /** + * + * *
        * The field is ordered by descending field value.
        * 
@@ -592,7 +681,6 @@ public enum Order */ public static final int DESCENDING_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -617,49 +705,49 @@ public static Order valueOf(int value) { */ public static Order forNumber(int value) { switch (value) { - case 0: return ORDER_UNSPECIFIED; - case 1: return ASCENDING; - case 2: return DESCENDING; - default: return null; + case 0: + return ORDER_UNSPECIFIED; + case 1: + return ASCENDING; + case 2: + return DESCENDING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Order> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Order findValueByNumber(int number) { - return Order.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Order findValueByNumber(int number) { + return Order.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.firestore.admin.v1.Index.IndexField.getDescriptor().getEnumTypes().get(0); } private static final Order[] VALUES = values(); - public static Order valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Order valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -677,15 +765,18 @@ private Order(int value) { } /** + * + * *
      * The supported array value configurations.
      * 
* * Protobuf enum {@code google.firestore.admin.v1.Index.IndexField.ArrayConfig} */ - public enum ArrayConfig - implements com.google.protobuf.ProtocolMessageEnum { + public enum ArrayConfig implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The index does not support additional array queries.
        * 
@@ -694,6 +785,8 @@ public enum ArrayConfig */ ARRAY_CONFIG_UNSPECIFIED(0), /** + * + * *
        * The index supports array containment queries.
        * 
@@ -705,6 +798,8 @@ public enum ArrayConfig ; /** + * + * *
        * The index does not support additional array queries.
        * 
@@ -713,6 +808,8 @@ public enum ArrayConfig */ public static final int ARRAY_CONFIG_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The index supports array containment queries.
        * 
@@ -721,7 +818,6 @@ public enum ArrayConfig */ public static final int CONTAINS_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -746,48 +842,47 @@ public static ArrayConfig valueOf(int value) { */ public static ArrayConfig forNumber(int value) { switch (value) { - case 0: return ARRAY_CONFIG_UNSPECIFIED; - case 1: return CONTAINS; - default: return null; + case 0: + return ARRAY_CONFIG_UNSPECIFIED; + case 1: + return CONTAINS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ArrayConfig> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ArrayConfig findValueByNumber(int number) { - return ArrayConfig.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ArrayConfig findValueByNumber(int number) { + return ArrayConfig.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.firestore.admin.v1.Index.IndexField.getDescriptor().getEnumTypes().get(1); } private static final ArrayConfig[] VALUES = values(); - public static ArrayConfig valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ArrayConfig valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -806,13 +901,16 @@ private ArrayConfig(int value) { private int valueModeCase_ = 0; private java.lang.Object valueMode_; + public enum ValueModeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ORDER(2), ARRAY_CONFIG(3), VALUEMODE_NOT_SET(0); private final int value; + private ValueModeCase(int value) { this.value = value; } @@ -828,26 +926,31 @@ 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; private volatile java.lang.Object fieldPath_; /** + * + * *
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -855,6 +958,7 @@ public int getNumber() {
      * 
* * string field_path = 1; + * * @return The fieldPath. */ @java.lang.Override @@ -863,14 +967,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
@@ -878,16 +983,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 { @@ -897,24 +1001,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() { @@ -924,42 +1034,54 @@ 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) { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.IndexField.Order result = com.google.firestore.admin.v1.Index.IndexField.Order.valueOf( - (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.valueOf( + (java.lang.Integer) valueMode_); + return result == null + ? com.google.firestore.admin.v1.Index.IndexField.Order.UNRECOGNIZED + : result; } return com.google.firestore.admin.v1.Index.IndexField.Order.ORDER_UNSPECIFIED; } public static final int ARRAY_CONFIG_FIELD_NUMBER = 3; /** + * + * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return Whether the arrayConfig field is set. */ public boolean hasArrayConfig() { return valueModeCase_ == 3; } /** + * + * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return The enum numeric value on the wire for arrayConfig. */ public int getArrayConfigValue() { @@ -969,24 +1091,31 @@ 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) { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.IndexField.ArrayConfig result = com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.valueOf( - (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.valueOf( + (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; @@ -998,8 +1127,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPath_); } @@ -1022,12 +1150,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldPath_); } if (valueModeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, ((java.lang.Integer) valueMode_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 2, ((java.lang.Integer) valueMode_)); } if (valueModeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, ((java.lang.Integer) valueMode_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 3, ((java.lang.Integer) valueMode_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1037,24 +1167,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Index.IndexField)) { return super.equals(obj); } - com.google.firestore.admin.v1.Index.IndexField other = (com.google.firestore.admin.v1.Index.IndexField) obj; + com.google.firestore.admin.v1.Index.IndexField other = + (com.google.firestore.admin.v1.Index.IndexField) obj; - if (!getFieldPath() - .equals(other.getFieldPath())) return false; + if (!getFieldPath().equals(other.getFieldPath())) return false; if (!getValueModeCase().equals(other.getValueModeCase())) return false; switch (valueModeCase_) { case 2: - if (getOrderValue() - != other.getOrderValue()) return false; + if (getOrderValue() != other.getOrderValue()) return false; break; case 3: - if (getArrayConfigValue() - != other.getArrayConfigValue()) return false; + if (getArrayConfigValue() != other.getArrayConfigValue()) return false; break; case 0: default: @@ -1089,88 +1217,94 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.Index.IndexField parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Index.IndexField parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.Index.IndexField parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.Index.IndexField parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Index.IndexField parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.Index.IndexField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1180,6 +1314,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A field in an index.
      * The field_path describes which field is indexed, the value_mode describes
@@ -1188,33 +1324,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.firestore.admin.v1.Index.IndexField}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Index.IndexField)
         com.google.firestore.admin.v1.Index.IndexFieldOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.firestore.admin.v1.IndexProto
+            .internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable
+        return com.google.firestore.admin.v1.IndexProto
+            .internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.firestore.admin.v1.Index.IndexField.class, com.google.firestore.admin.v1.Index.IndexField.Builder.class);
+                com.google.firestore.admin.v1.Index.IndexField.class,
+                com.google.firestore.admin.v1.Index.IndexField.Builder.class);
       }
 
       // Construct using com.google.firestore.admin.v1.Index.IndexField.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1226,9 +1362,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.firestore.admin.v1.IndexProto
+            .internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
       }
 
       @java.lang.Override
@@ -1247,7 +1383,8 @@ public com.google.firestore.admin.v1.Index.IndexField build() {
 
       @java.lang.Override
       public com.google.firestore.admin.v1.Index.IndexField buildPartial() {
-        com.google.firestore.admin.v1.Index.IndexField result = new com.google.firestore.admin.v1.Index.IndexField(this);
+        com.google.firestore.admin.v1.Index.IndexField result =
+            new com.google.firestore.admin.v1.Index.IndexField(this);
         result.fieldPath_ = fieldPath_;
         if (valueModeCase_ == 2) {
           result.valueMode_ = valueMode_;
@@ -1264,38 +1401,41 @@ public com.google.firestore.admin.v1.Index.IndexField 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) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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;
@@ -1303,23 +1443,27 @@ 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_;
           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();
@@ -1347,29 +1491,33 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                fieldPath_ = input.readStringRequireUtf8();
-
-                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();
+
+                  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) {
@@ -1379,12 +1527,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() {
@@ -1394,9 +1542,10 @@ public Builder clearValueMode() {
         return this;
       }
 
-
       private java.lang.Object fieldPath_ = "";
       /**
+       *
+       *
        * 
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1404,13 +1553,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; @@ -1419,6 +1568,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1426,15 +1577,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 { @@ -1442,6 +1592,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1449,20 +1601,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) { + public Builder setFieldPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fieldPath_ = value; onChanged(); return this; } /** + * + * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1470,15 +1624,18 @@ public Builder setFieldPath(
        * 
* * string field_path = 1; + * * @return This builder for chaining. */ public Builder clearFieldPath() { - + fieldPath_ = getDefaultInstance().getFieldPath(); onChanged(); return this; } /** + * + * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1486,28 +1643,31 @@ 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) { + public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fieldPath_ = value; onChanged(); 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 Whether the order field is set. */ @java.lang.Override @@ -1515,12 +1675,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 @@ -1531,12 +1694,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. */ @@ -1547,31 +1713,40 @@ 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) { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.IndexField.Order result = com.google.firestore.admin.v1.Index.IndexField.Order.valueOf( - (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.valueOf( + (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. */ @@ -1585,12 +1760,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() { @@ -1603,11 +1781,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 @@ -1615,11 +1796,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 @@ -1630,11 +1814,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. */ @@ -1645,33 +1832,43 @@ 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) { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.IndexField.ArrayConfig result = com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.valueOf( - (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.valueOf( + (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(); } @@ -1681,11 +1878,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() { @@ -1696,6 +1896,7 @@ public Builder clearArrayConfig() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1708,12 +1909,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(); } @@ -1722,27 +1923,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; @@ -1757,12 +1959,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Index.IndexField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; 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:
@@ -1771,6 +1974,7 @@ public com.google.firestore.admin.v1.Index.IndexField getDefaultInstanceForType(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1779,14 +1983,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:
@@ -1795,16 +2000,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 { @@ -1815,6 +2019,8 @@ public java.lang.String getName() { public static final int QUERY_SCOPE_FIELD_NUMBER = 2; private int queryScope_; /** + * + * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -1825,12 +2031,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
@@ -1841,17 +2051,22 @@ 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() { + @java.lang.Override + public com.google.firestore.admin.v1.Index.QueryScope getQueryScope() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.QueryScope result = com.google.firestore.admin.v1.Index.QueryScope.valueOf(queryScope_); + com.google.firestore.admin.v1.Index.QueryScope result = + com.google.firestore.admin.v1.Index.QueryScope.valueOf(queryScope_); return result == null ? com.google.firestore.admin.v1.Index.QueryScope.UNRECOGNIZED : result; } public static final int FIELDS_FIELD_NUMBER = 3; private java.util.List fields_; /** + * + * *
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -1871,6 +2086,8 @@ public java.util.List getFieldsL
     return fields_;
   }
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -1886,11 +2103,13 @@ public java.util.List getFieldsL
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getFieldsOrBuilderList() {
     return fields_;
   }
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -1910,6 +2129,8 @@ public int getFieldsCount() {
     return fields_.size();
   }
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -1929,6 +2150,8 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
     return fields_.get(index);
   }
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -1944,39 +2167,48 @@ 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_;
   /**
+   *
+   *
    * 
    * 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() { + @java.lang.Override + public com.google.firestore.admin.v1.Index.State getState() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.State result = com.google.firestore.admin.v1.Index.State.valueOf(state_); + com.google.firestore.admin.v1.Index.State result = + com.google.firestore.admin.v1.Index.State.valueOf(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; @@ -1988,12 +2220,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++) { @@ -2014,17 +2246,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (queryScope_ != com.google.firestore.admin.v1.Index.QueryScope.QUERY_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, queryScope_); + if (queryScope_ + != com.google.firestore.admin.v1.Index.QueryScope.QUERY_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, queryScope_); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fields_.get(i)); } if (state_ != com.google.firestore.admin.v1.Index.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2034,18 +2264,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Index)) { return super.equals(obj); } com.google.firestore.admin.v1.Index other = (com.google.firestore.admin.v1.Index) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (queryScope_ != other.queryScope_) return false; - if (!getFieldsList() - .equals(other.getFieldsList())) return false; + if (!getFieldsList().equals(other.getFieldsList())) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2073,97 +2301,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.
@@ -2171,33 +2405,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();
@@ -2218,9 +2451,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
@@ -2261,38 +2494,39 @@ public com.google.firestore.admin.v1.Index 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.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;
@@ -2326,9 +2560,10 @@ public Builder mergeFrom(com.google.firestore.admin.v1.Index 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_);
           }
@@ -2363,40 +2598,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              queryScope_ = input.readEnum();
+                break;
+              } // case 10
+            case 16:
+              {
+                queryScope_ = input.readEnum();
 
-              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();
+                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();
 
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -2406,10 +2645,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:
@@ -2418,13 +2660,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; @@ -2433,6 +2675,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:
@@ -2441,15 +2685,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 { @@ -2457,6 +2700,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:
@@ -2465,20 +2710,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2487,15 +2734,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2504,16 +2754,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2521,6 +2771,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
@@ -2531,12 +2783,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
@@ -2547,16 +2803,19 @@ 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. */ public Builder setQueryScopeValue(int value) { - + queryScope_ = value; onChanged(); return this; } /** + * + * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2567,15 +2826,19 @@ 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.QueryScope result = com.google.firestore.admin.v1.Index.QueryScope.valueOf(queryScope_); + com.google.firestore.admin.v1.Index.QueryScope result = + com.google.firestore.admin.v1.Index.QueryScope.valueOf(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
@@ -2586,6 +2849,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. */ @@ -2593,12 +2857,14 @@ public Builder setQueryScope(com.google.firestore.admin.v1.Index.QueryScope valu if (value == null) { throw new NullPointerException(); } - + queryScope_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2609,28 +2875,35 @@ 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() { - + queryScope_ = 0; onChanged(); return this; } 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.Index.IndexField, com.google.firestore.admin.v1.Index.IndexField.Builder, com.google.firestore.admin.v1.Index.IndexFieldOrBuilder> fieldsBuilder_; + com.google.firestore.admin.v1.Index.IndexField, + com.google.firestore.admin.v1.Index.IndexField.Builder, + com.google.firestore.admin.v1.Index.IndexFieldOrBuilder> + fieldsBuilder_; /** + * + * *
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2653,6 +2926,8 @@ public java.util.List getFieldsL
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2675,6 +2950,8 @@ public int getFieldsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2697,6 +2974,8 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2711,8 +2990,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();
@@ -2726,6 +3004,8 @@ public Builder setFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2752,6 +3032,8 @@ public Builder setFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2780,6 +3062,8 @@ public Builder addFields(com.google.firestore.admin.v1.Index.IndexField value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2794,8 +3078,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();
@@ -2809,6 +3092,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2835,6 +3120,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2861,6 +3148,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2879,8 +3168,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);
@@ -2888,6 +3176,8 @@ public Builder addAllFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2913,6 +3203,8 @@ public Builder clearFields() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2938,6 +3230,8 @@ public Builder removeFields(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2952,11 +3246,12 @@ public Builder removeFields(int index) {
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public com.google.firestore.admin.v1.Index.IndexField.Builder getFieldsBuilder(
-        int index) {
+    public com.google.firestore.admin.v1.Index.IndexField.Builder getFieldsBuilder(int index) {
       return getFieldsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2971,14 +3266,16 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder getFieldsBuilder(
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(
-        int index) {
+    public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(int index) {
       if (fieldsBuilder_ == null) {
-        return fields_.get(index);  } else {
+        return fields_.get(index);
+      } else {
         return fieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2993,8 +3290,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 {
@@ -3002,6 +3299,8 @@ public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3017,10 +3316,12 @@ public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilde
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
     public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder() {
-      return getFieldsFieldBuilder().addBuilder(
-          com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
+      return getFieldsFieldBuilder()
+          .addBuilder(com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3035,12 +3336,13 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder()
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(
-        int index) {
-      return getFieldsFieldBuilder().addBuilder(
-          index, com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
+    public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(int index) {
+      return getFieldsFieldBuilder()
+          .addBuilder(index, com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3055,20 +3357,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_ & 0x00000001) != 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_ & 0x00000001) != 0), getParentForChildren(), isClean());
         fields_ = null;
       }
       return fieldsBuilder_;
@@ -3076,51 +3381,65 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.Index.State result = com.google.firestore.admin.v1.Index.State.valueOf(state_); + com.google.firestore.admin.v1.Index.State result = + com.google.firestore.admin.v1.Index.State.valueOf(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. */ @@ -3128,28 +3447,31 @@ public Builder setState(com.google.firestore.admin.v1.Index.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; 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); } @@ -3159,12 +3481,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(); } @@ -3173,27 +3495,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; @@ -3208,6 +3530,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 73% 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 e118f548f0..a66bc3f8f9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** + * + * *
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.IndexOperationMetadata}
  */
-public final class IndexOperationMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class IndexOperationMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.IndexOperationMetadata)
     IndexOperationMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use IndexOperationMetadata.newBuilder() to construct.
   private IndexOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private IndexOperationMetadata() {
     index_ = "";
     state_ = 0;
@@ -27,37 +45,41 @@ private IndexOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IndexOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.IndexOperationMetadata.class, com.google.firestore.admin.v1.IndexOperationMetadata.Builder.class);
+            com.google.firestore.admin.v1.IndexOperationMetadata.class,
+            com.google.firestore.admin.v1.IndexOperationMetadata.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
+   *
+   *
    * 
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -65,11 +87,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -77,6 +102,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time this operation started.
    * 
@@ -91,12 +118,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -104,12 +134,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -117,6 +150,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -132,12 +167,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int INDEX_FIELD_NUMBER = 3;
   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 @@ -146,30 +184,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 { @@ -180,38 +218,50 @@ public java.lang.String getIndex() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.firestore.admin.v1.OperationState getState() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(state_); + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.valueOf(state_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } public static final int PROGRESS_DOCUMENTS_FIELD_NUMBER = 5; private com.google.firestore.admin.v1.Progress progressDocuments_; /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; + * * @return Whether the progressDocuments field is set. */ @java.lang.Override @@ -219,18 +269,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.
    * 
@@ -245,11 +302,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui public static final int PROGRESS_BYTES_FIELD_NUMBER = 6; private com.google.firestore.admin.v1.Progress progressBytes_; /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; + * * @return Whether the progressBytes field is set. */ @java.lang.Override @@ -257,18 +317,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.
    * 
@@ -281,6 +348,7 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,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()); } @@ -303,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) { @@ -322,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; @@ -352,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; @@ -419,96 +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].
@@ -516,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();
@@ -578,9 +644,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -599,7 +665,8 @@ public com.google.firestore.admin.v1.IndexOperationMetadata build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.IndexOperationMetadata buildPartial() {
-      com.google.firestore.admin.v1.IndexOperationMetadata result = new com.google.firestore.admin.v1.IndexOperationMetadata(this);
+      com.google.firestore.admin.v1.IndexOperationMetadata result =
+          new com.google.firestore.admin.v1.IndexOperationMetadata(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -630,38 +697,39 @@ public com.google.firestore.admin.v1.IndexOperationMetadata 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.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;
@@ -669,7 +737,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());
       }
@@ -715,50 +784,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            case 26: {
-              index_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 32: {
-              state_ = input.readEnum();
-
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getProgressDocumentsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getProgressBytesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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);
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            case 26:
+              {
+                index_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 32:
+              {
+                state_ = input.readEnum();
+
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(
+                    getProgressDocumentsFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -771,24 +840,33 @@ public Builder mergeFrom(
 
     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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -799,6 +877,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time this operation started.
      * 
@@ -819,14 +899,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(); onChanged(); @@ -837,6 +918,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -847,7 +930,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -859,6 +942,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -877,6 +962,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -884,11 +971,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time this operation started.
      * 
@@ -899,11 +988,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.
      * 
@@ -911,14 +1001,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_; @@ -926,26 +1019,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 endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * 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() { @@ -956,6 +1058,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -977,6 +1081,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -984,8 +1090,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();
         onChanged();
@@ -996,6 +1101,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1007,7 +1114,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1019,6 +1126,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1038,6 +1147,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1046,11 +1157,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1062,11 +1175,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.
@@ -1075,14 +1189,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_;
@@ -1090,19 +1207,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; @@ -1111,21 +1230,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 { @@ -1133,57 +1253,64 @@ 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) { + public Builder setIndex(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + index_ = value; 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() { - + index_ = getDefaultInstance().getIndex(); 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; + * * @param value The bytes for index to set. * @return This builder for chaining. */ - public Builder setIndexBytes( - com.google.protobuf.ByteString value) { + public Builder setIndexBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + index_ = value; onChanged(); return this; @@ -1191,51 +1318,65 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.valueOf(state_); + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.valueOf(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. */ @@ -1243,21 +1384,24 @@ public Builder setState(com.google.firestore.admin.v1.OperationState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1265,34 +1409,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 progressDocumentsBuilder_ != null || progressDocuments_ != null; } /** + * + * *
      * 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.
      * 
@@ -1313,6 +1470,8 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1331,6 +1490,8 @@ public Builder setProgressDocuments( return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1341,7 +1502,9 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val if (progressDocumentsBuilder_ == null) { if (progressDocuments_ != null) { progressDocuments_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_).mergeFrom(value).buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressDocuments_) + .mergeFrom(value) + .buildPartial(); } else { progressDocuments_ = value; } @@ -1353,6 +1516,8 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1371,6 +1536,8 @@ public Builder clearProgressDocuments() { return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1378,11 +1545,13 @@ public Builder clearProgressDocuments() { * .google.firestore.admin.v1.Progress progress_documents = 5; */ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilder() { - + onChanged(); return getProgressDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1393,11 +1562,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.
      * 
@@ -1405,14 +1577,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_; @@ -1420,34 +1595,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 progressBytesBuilder_ != null || progressBytes_ != null; } /** + * + * *
      * 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.
      * 
@@ -1468,6 +1656,8 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1486,6 +1676,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1496,7 +1688,9 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) if (progressBytesBuilder_ == null) { if (progressBytes_ != null) { progressBytes_ = - com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_).mergeFrom(value).buildPartial(); + com.google.firestore.admin.v1.Progress.newBuilder(progressBytes_) + .mergeFrom(value) + .buildPartial(); } else { progressBytes_ = value; } @@ -1508,6 +1702,8 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1526,6 +1722,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1533,11 +1731,13 @@ public Builder clearProgressBytes() { * .google.firestore.admin.v1.Progress progress_bytes = 6; */ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() { - + onChanged(); return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1548,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.
      * 
@@ -1560,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); } @@ -1584,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(); } @@ -1598,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; @@ -1633,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 88% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java index 82872c483f..498fa91362 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/index.proto package com.google.firestore.admin.v1; -public interface IndexOrBuilder extends +public interface IndexOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Index) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. A server defined name for this index.
    * The form of this name for composite indexes will be:
@@ -16,10 +34,13 @@ public interface IndexOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. A server defined name for this index.
    * The form of this name for composite indexes will be:
@@ -28,12 +49,14 @@ public interface IndexOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -44,10 +67,13 @@ public interface IndexOrBuilder extends
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; + * * @return The enum numeric value on the wire for queryScope. */ int getQueryScopeValue(); /** + * + * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -58,11 +84,14 @@ public interface IndexOrBuilder extends
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; + * * @return The queryScope. */ com.google.firestore.admin.v1.Index.QueryScope getQueryScope(); /** + * + * *
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -77,9 +106,10 @@ public interface IndexOrBuilder extends
    *
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
-  java.util.List 
-      getFieldsList();
+  java.util.List getFieldsList();
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -96,6 +126,8 @@ public interface IndexOrBuilder extends
    */
   com.google.firestore.admin.v1.Index.IndexField getFields(int index);
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -112,6 +144,8 @@ public interface IndexOrBuilder extends
    */
   int getFieldsCount();
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -126,9 +160,11 @@ public interface IndexOrBuilder extends
    *
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
-  java.util.List 
+  java.util.List
       getFieldsOrBuilderList();
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -143,24 +179,29 @@ public interface IndexOrBuilder extends
    *
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
-  com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(
-      int index);
+  com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. The serving state of the index.
    * 
* * .google.firestore.admin.v1.Index.State state = 4; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The serving state of the index.
    * 
* * .google.firestore.admin.v1.Index.State state = 4; + * * @return The state. */ com.google.firestore.admin.v1.Index.State getState(); diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java new file mode 100644 index 0000000000..c30e16305a --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java @@ -0,0 +1,108 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/index.proto + +package com.google.firestore.admin.v1; + +public final class IndexProto { + private IndexProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Index_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Index_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Index_IndexField_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n%google/firestore/admin/v1/index.proto\022" + + "\031google.firestore.admin.v1\032\031google/api/r" + + "esource.proto\"\243\006\n\005Index\022\014\n\004name\030\001 \001(\t\022@\n" + + "\013query_scope\030\002 \001(\0162+.google.firestore.ad" + + "min.v1.Index.QueryScope\022;\n\006fields\030\003 \003(\0132" + + "+.google.firestore.admin.v1.Index.IndexF" + + "ield\0225\n\005state\030\004 \001(\0162&.google.firestore.a" + + "dmin.v1.Index.State\032\275\002\n\nIndexField\022\022\n\nfi" + + "eld_path\030\001 \001(\t\022B\n\005order\030\002 \001(\01621.google.f" + + "irestore.admin.v1.Index.IndexField.Order" + + "H\000\022O\n\014array_config\030\003 \001(\01627.google.firest" + + "ore.admin.v1.Index.IndexField.ArrayConfi" + + "gH\000\"=\n\005Order\022\025\n\021ORDER_UNSPECIFIED\020\000\022\r\n\tA" + + "SCENDING\020\001\022\016\n\nDESCENDING\020\002\"9\n\013ArrayConfi" + + "g\022\034\n\030ARRAY_CONFIG_UNSPECIFIED\020\000\022\014\n\010CONTA" + + "INS\020\001B\014\n\nvalue_mode\"O\n\nQueryScope\022\033\n\027QUE" + + "RY_SCOPE_UNSPECIFIED\020\000\022\016\n\nCOLLECTION\020\001\022\024" + + "\n\020COLLECTION_GROUP\020\002\"I\n\005State\022\025\n\021STATE_U" + + "NSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\020\n" + + "\014NEEDS_REPAIR\020\003:z\352Aw\n\036firestore.googleap" + + "is.com/Index\022Uprojects/{project}/databas" + + "es/{database}/collectionGroups/{collecti" + + "on}/indexes/{index}B\336\001\n\035com.google.fires" + + "tore.admin.v1B\nIndexProtoP\001Z>google.gola" + + "ng.org/genproto/googleapis/firestore/adm" + + "in/v1;admin\242\002\004GCFS\252\002\037Google.Cloud.Firest" + + "ore.Admin.V1\312\002\037Google\\Cloud\\Firestore\\Ad" + + "min\\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.ResourceProto.getDescriptor(), + }); + internal_static_google_firestore_admin_v1_Index_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_admin_v1_Index_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Index_descriptor, + new java.lang.String[] { + "Name", "QueryScope", "Fields", "State", + }); + internal_static_google_firestore_admin_v1_Index_IndexField_descriptor = + internal_static_google_firestore_admin_v1_Index_descriptor.getNestedTypes().get(0); + internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Index_IndexField_descriptor, + new java.lang.String[] { + "FieldPath", "Order", "ArrayConfig", "ValueMode", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java index b721e9178c..2a85bfde2a 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,62 +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/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * A request to list the Firestore Databases in all locations for a project.
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListDatabasesRequest} */ -public final class ListDatabasesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDatabasesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListDatabasesRequest) ListDatabasesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDatabasesRequest.newBuilder() to construct. private ListDatabasesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDatabasesRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDatabasesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListDatabasesRequest.class, com.google.firestore.admin.v1.ListDatabasesRequest.Builder.class); + com.google.firestore.admin.v1.ListDatabasesRequest.class, + com.google.firestore.admin.v1.ListDatabasesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; 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 @@ -65,30 +89,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 { @@ -97,6 +123,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -133,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.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; } @@ -161,129 +187,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(); @@ -293,9 +325,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 @@ -314,7 +346,8 @@ public com.google.firestore.admin.v1.ListDatabasesRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ListDatabasesRequest buildPartial() { - com.google.firestore.admin.v1.ListDatabasesRequest result = new com.google.firestore.admin.v1.ListDatabasesRequest(this); + com.google.firestore.admin.v1.ListDatabasesRequest result = + new com.google.firestore.admin.v1.ListDatabasesRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -324,38 +357,39 @@ public com.google.firestore.admin.v1.ListDatabasesRequest 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.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; @@ -363,7 +397,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_; onChanged(); @@ -394,17 +429,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + 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) { @@ -417,19 +454,23 @@ public Builder mergeFrom( 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; @@ -438,21 +479,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 { @@ -460,64 +504,77 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,12 +584,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(); } @@ -541,27 +598,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; @@ -576,6 +633,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 0fd9828c09..173cd1c540 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,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The list of databases for a project.
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListDatabasesResponse} */ -public final class ListDatabasesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDatabasesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListDatabasesResponse) ListDatabasesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDatabasesResponse.newBuilder() to construct. private ListDatabasesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDatabasesResponse() { databases_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDatabasesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListDatabasesResponse.class, com.google.firestore.admin.v1.ListDatabasesResponse.Builder.class); + com.google.firestore.admin.v1.ListDatabasesResponse.class, + com.google.firestore.admin.v1.ListDatabasesResponse.Builder.class); } public static final int DATABASES_FIELD_NUMBER = 1; private java.util.List databases_; /** + * + * *
    * The databases in the project.
    * 
@@ -62,6 +83,8 @@ public java.util.List getDatabasesList() return databases_; } /** + * + * *
    * The databases in the project.
    * 
@@ -69,11 +92,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.
    * 
@@ -85,6 +110,8 @@ public int getDatabasesCount() { return databases_.size(); } /** + * + * *
    * The databases in the project.
    * 
@@ -96,6 +123,8 @@ public com.google.firestore.admin.v1.Database getDatabases(int index) { return databases_.get(index); } /** + * + * *
    * The databases in the project.
    * 
@@ -103,12 +132,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; @@ -120,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 { for (int i = 0; i < databases_.size(); i++) { output.writeMessage(1, databases_.get(i)); } @@ -135,8 +163,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; @@ -146,15 +173,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; } @@ -176,129 +203,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(); @@ -313,9 +346,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 @@ -334,7 +367,8 @@ 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); int from_bitField0_ = bitField0_; if (databasesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -353,38 +387,39 @@ public com.google.firestore.admin.v1.ListDatabasesResponse 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.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; @@ -392,7 +427,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()) { @@ -411,9 +447,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_); } @@ -445,25 +482,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) { @@ -473,21 +511,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.
      * 
@@ -502,6 +547,8 @@ public java.util.List getDatabasesList() } } /** + * + * *
      * The databases in the project.
      * 
@@ -516,6 +563,8 @@ public int getDatabasesCount() { } } /** + * + * *
      * The databases in the project.
      * 
@@ -530,14 +579,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(); @@ -551,6 +601,8 @@ public Builder setDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -569,6 +621,8 @@ public Builder setDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -589,14 +643,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(); @@ -610,14 +665,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()); @@ -628,6 +684,8 @@ public Builder addDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -646,6 +704,8 @@ public Builder addDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -656,8 +716,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); @@ -665,6 +724,8 @@ public Builder addAllDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -682,6 +743,8 @@ public Builder clearDatabases() { return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -699,39 +762,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 { @@ -739,6 +807,8 @@ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder( } } /** + * + * *
      * The databases in the project.
      * 
@@ -746,49 +816,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); } @@ -798,12 +874,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(); } @@ -812,27 +888,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; @@ -847,6 +923,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 770cd0ef9d..b457cc6b1a 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,38 +45,44 @@ private ListFieldsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFieldsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListFieldsRequest.class, com.google.firestore.admin.v1.ListFieldsRequest.Builder.class); + com.google.firestore.admin.v1.ListFieldsRequest.class, + com.google.firestore.admin.v1.ListFieldsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; 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 @@ -67,30 +91,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,6 +127,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; 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
@@ -110,6 +138,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -118,14 +147,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
@@ -135,16 +165,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 { @@ -155,11 +184,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -170,6 +202,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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
@@ -177,6 +211,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -185,14 +220,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
@@ -200,16 +236,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 { @@ -218,6 +253,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -259,8 +294,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_); @@ -273,21 +307,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; } @@ -312,130 +343,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListFieldsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListFieldsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.ListFieldsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListFieldsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListFieldsRequest) com.google.firestore.admin.v1.ListFieldsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListFieldsRequest.class, com.google.firestore.admin.v1.ListFieldsRequest.Builder.class); + com.google.firestore.admin.v1.ListFieldsRequest.class, + com.google.firestore.admin.v1.ListFieldsRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ListFieldsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -451,9 +488,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; } @java.lang.Override @@ -472,7 +509,8 @@ public com.google.firestore.admin.v1.ListFieldsRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ListFieldsRequest buildPartial() { - com.google.firestore.admin.v1.ListFieldsRequest result = new com.google.firestore.admin.v1.ListFieldsRequest(this); + com.google.firestore.admin.v1.ListFieldsRequest result = + new com.google.firestore.admin.v1.ListFieldsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -485,38 +523,39 @@ public com.google.firestore.admin.v1.ListFieldsRequest 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.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; @@ -524,7 +563,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_; onChanged(); @@ -566,32 +606,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -604,19 +649,23 @@ public Builder mergeFrom( 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; @@ -625,21 +674,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 { @@ -647,57 +699,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -705,6 +770,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
@@ -714,13 +781,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; @@ -729,6 +796,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
@@ -738,15 +807,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 { @@ -754,6 +822,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
@@ -763,20 +833,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -786,15 +858,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -804,28 +879,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -833,30 +911,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -864,6 +948,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
@@ -871,13 +957,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; @@ -886,6 +972,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
@@ -893,15 +981,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 { @@ -909,6 +996,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -916,20 +1005,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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
@@ -937,15 +1028,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); 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
@@ -953,23 +1047,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1073,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(); } @@ -993,27 +1087,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; @@ -1028,6 +1122,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 45b6cde4e9..ccd391899f 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,32 +44,35 @@ private ListFieldsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFieldsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListFieldsResponse.class, com.google.firestore.admin.v1.ListFieldsResponse.Builder.class); + com.google.firestore.admin.v1.ListFieldsResponse.class, + com.google.firestore.admin.v1.ListFieldsResponse.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; private java.util.List fields_; /** + * + * *
    * The requested fields.
    * 
@@ -63,6 +84,8 @@ public java.util.List getFieldsList() { return fields_; } /** + * + * *
    * The requested fields.
    * 
@@ -70,11 +93,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.
    * 
@@ -86,6 +111,8 @@ public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * The requested fields.
    * 
@@ -97,6 +124,8 @@ public com.google.firestore.admin.v1.Field getFields(int index) { return fields_.get(index); } /** + * + * *
    * The requested fields.
    * 
@@ -104,20 +133,22 @@ 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; 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 @@ -126,30 +157,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 { @@ -158,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,8 +201,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)); } @@ -187,8 +218,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_); @@ -201,17 +231,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.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; } @@ -234,130 +263,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(); @@ -374,9 +409,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 @@ -395,7 +430,8 @@ 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); int from_bitField0_ = bitField0_; if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -415,38 +451,39 @@ public com.google.firestore.admin.v1.ListFieldsResponse 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.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; @@ -454,7 +491,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()) { @@ -473,9 +511,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_); } @@ -511,30 +550,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(); + 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(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -544,21 +585,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.
      * 
@@ -573,6 +621,8 @@ public java.util.List getFieldsList() { } } /** + * + * *
      * The requested fields.
      * 
@@ -587,6 +637,8 @@ public int getFieldsCount() { } } /** + * + * *
      * The requested fields.
      * 
@@ -601,14 +653,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(); @@ -622,6 +675,8 @@ public Builder setFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -640,6 +695,8 @@ public Builder setFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -660,14 +717,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(); @@ -681,14 +739,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()); @@ -699,6 +758,8 @@ public Builder addFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -717,6 +778,8 @@ public Builder addFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -727,8 +790,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); @@ -736,6 +798,8 @@ public Builder addAllFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -753,6 +817,8 @@ public Builder clearFields() { return this; } /** + * + * *
      * The requested fields.
      * 
@@ -770,39 +836,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 { @@ -810,6 +881,8 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder( } } /** + * + * *
      * The requested fields.
      * 
@@ -817,42 +890,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_; @@ -860,19 +938,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; @@ -881,21 +961,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 { @@ -903,64 +984,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -970,12 +1058,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(); } @@ -984,27 +1072,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; @@ -1019,6 +1107,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 67% 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 c4a7ba99a8..9bc1c87bda 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,38 +45,44 @@ private ListIndexesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListIndexesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListIndexesRequest.class, com.google.firestore.admin.v1.ListIndexesRequest.Builder.class); + com.google.firestore.admin.v1.ListIndexesRequest.class, + com.google.firestore.admin.v1.ListIndexesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; 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 @@ -67,30 +91,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,11 +127,14 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -114,29 +143,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 { @@ -147,11 +176,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -162,6 +194,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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
@@ -169,6 +203,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -177,14 +212,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
@@ -192,16 +228,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 { @@ -210,6 +245,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -251,8 +286,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_); @@ -265,21 +299,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; } @@ -304,130 +335,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListIndexesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListIndexesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.ListIndexesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListIndexesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListIndexesRequest) com.google.firestore.admin.v1.ListIndexesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListIndexesRequest.class, com.google.firestore.admin.v1.ListIndexesRequest.Builder.class); + com.google.firestore.admin.v1.ListIndexesRequest.class, + com.google.firestore.admin.v1.ListIndexesRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ListIndexesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; } @java.lang.Override @@ -464,7 +501,8 @@ public com.google.firestore.admin.v1.ListIndexesRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ListIndexesRequest buildPartial() { - com.google.firestore.admin.v1.ListIndexesRequest result = new com.google.firestore.admin.v1.ListIndexesRequest(this); + com.google.firestore.admin.v1.ListIndexesRequest result = + new com.google.firestore.admin.v1.ListIndexesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -477,38 +515,39 @@ public com.google.firestore.admin.v1.ListIndexesRequest 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.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; @@ -516,7 +555,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_; onChanged(); @@ -558,32 +598,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -596,19 +641,23 @@ public Builder mergeFrom( 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; @@ -617,21 +666,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 { @@ -639,57 +691,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -697,18 +762,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; @@ -717,20 +784,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 { @@ -738,66 +806,76 @@ 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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -805,30 +883,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -836,6 +920,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
@@ -843,13 +929,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; @@ -858,6 +944,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
@@ -865,15 +953,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 { @@ -881,6 +968,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -888,20 +977,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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
@@ -909,15 +1000,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); 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
@@ -925,23 +1019,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -951,12 +1045,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(); } @@ -965,27 +1059,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; @@ -1000,6 +1094,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 c792bdab71..db34a1eaad 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,32 +44,35 @@ private ListIndexesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListIndexesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListIndexesResponse.class, com.google.firestore.admin.v1.ListIndexesResponse.Builder.class); + com.google.firestore.admin.v1.ListIndexesResponse.class, + com.google.firestore.admin.v1.ListIndexesResponse.Builder.class); } public static final int INDEXES_FIELD_NUMBER = 1; private java.util.List indexes_; /** + * + * *
    * The requested indexes.
    * 
@@ -63,6 +84,8 @@ public java.util.List getIndexesList() { return indexes_; } /** + * + * *
    * The requested indexes.
    * 
@@ -70,11 +93,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.
    * 
@@ -86,6 +111,8 @@ public int getIndexesCount() { return indexes_.size(); } /** + * + * *
    * The requested indexes.
    * 
@@ -97,6 +124,8 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { return indexes_.get(index); } /** + * + * *
    * The requested indexes.
    * 
@@ -104,20 +133,22 @@ 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; 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 @@ -126,30 +157,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 { @@ -158,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,8 +201,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)); } @@ -187,8 +218,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_); @@ -201,17 +231,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.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; } @@ -235,129 +264,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(); @@ -374,9 +409,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 @@ -395,7 +430,8 @@ 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); int from_bitField0_ = bitField0_; if (indexesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -415,38 +451,39 @@ public com.google.firestore.admin.v1.ListIndexesResponse 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.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; @@ -454,7 +491,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()) { @@ -473,9 +511,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_); } @@ -511,30 +550,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(); + 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(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -544,21 +585,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.
      * 
@@ -573,6 +621,8 @@ public java.util.List getIndexesList() { } } /** + * + * *
      * The requested indexes.
      * 
@@ -587,6 +637,8 @@ public int getIndexesCount() { } } /** + * + * *
      * The requested indexes.
      * 
@@ -601,14 +653,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(); @@ -622,6 +675,8 @@ public Builder setIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -640,6 +695,8 @@ public Builder setIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -660,14 +717,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(); @@ -681,14 +739,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()); @@ -699,6 +758,8 @@ public Builder addIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -717,6 +778,8 @@ public Builder addIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -727,8 +790,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); @@ -736,6 +798,8 @@ public Builder addAllIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -753,6 +817,8 @@ public Builder clearIndexes() { return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -770,39 +836,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 { @@ -810,6 +881,8 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( } } /** + * + * *
      * The requested indexes.
      * 
@@ -817,42 +890,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_; @@ -860,19 +938,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; @@ -881,21 +961,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 { @@ -903,64 +984,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -970,12 +1058,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(); } @@ -984,27 +1072,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; @@ -1019,6 +1107,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 c19a390ed0..b7a9b1c2fa 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java @@ -1,53 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/location.proto package com.google.firestore.admin.v1; /** + * + * *
  * The metadata message for [google.cloud.location.Location.metadata][google.cloud.location.Location.metadata].
  * 
* * Protobuf type {@code google.firestore.admin.v1.LocationMetadata} */ -public final class LocationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LocationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.LocationMetadata) LocationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LocationMetadata.newBuilder() to construct. private LocationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LocationMetadata() { - } + + private LocationMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LocationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.LocationProto + .internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable + return com.google.firestore.admin.v1.LocationProto + .internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.LocationMetadata.class, com.google.firestore.admin.v1.LocationMetadata.Builder.class); + com.google.firestore.admin.v1.LocationMetadata.class, + com.google.firestore.admin.v1.LocationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,12 +96,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.LocationMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.LocationMetadata other = (com.google.firestore.admin.v1.LocationMetadata) obj; + com.google.firestore.admin.v1.LocationMetadata other = + (com.google.firestore.admin.v1.LocationMetadata) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -101,130 +120,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.LocationMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.LocationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.LocationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.LocationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.LocationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The metadata message for [google.cloud.location.Location.metadata][google.cloud.location.Location.metadata].
    * 
* * Protobuf type {@code google.firestore.admin.v1.LocationMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.LocationMetadata) com.google.firestore.admin.v1.LocationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.LocationProto + .internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable + return com.google.firestore.admin.v1.LocationProto + .internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.LocationMetadata.class, com.google.firestore.admin.v1.LocationMetadata.Builder.class); + com.google.firestore.admin.v1.LocationMetadata.class, + com.google.firestore.admin.v1.LocationMetadata.Builder.class); } // Construct using com.google.firestore.admin.v1.LocationMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,9 +257,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.LocationProto + .internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; } @java.lang.Override @@ -253,7 +278,8 @@ public com.google.firestore.admin.v1.LocationMetadata build() { @java.lang.Override public com.google.firestore.admin.v1.LocationMetadata buildPartial() { - com.google.firestore.admin.v1.LocationMetadata result = new com.google.firestore.admin.v1.LocationMetadata(this); + com.google.firestore.admin.v1.LocationMetadata result = + new com.google.firestore.admin.v1.LocationMetadata(this); onBuilt(); return result; } @@ -262,38 +288,39 @@ public com.google.firestore.admin.v1.LocationMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.LocationMetadata) { - return mergeFrom((com.google.firestore.admin.v1.LocationMetadata)other); + return mergeFrom((com.google.firestore.admin.v1.LocationMetadata) other); } else { super.mergeFrom(other); return this; @@ -328,12 +355,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -343,9 +371,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,12 +383,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.LocationMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.LocationMetadata) private static final com.google.firestore.admin.v1.LocationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.LocationMetadata(); } @@ -369,27 +397,27 @@ public static com.google.firestore.admin.v1.LocationMetadata getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LocationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LocationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -404,6 +432,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.LocationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java new file mode 100644 index 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..be694b9a82 --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java @@ -0,0 +1,65 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/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\341\001\n\035com.google.firestore.admin" + + ".v1B\rLocationProtoP\001Z>google.golang.org/" + + "genproto/googleapis/firestore/admin/v1;a" + + "dmin\242\002\004GCFS\252\002\037Google.Cloud.Firestore.Adm" + + "in.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352" + + "\002#Google::Cloud::Firestore::Admin::V1b\006p" + + "roto3" + }; + 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..7c4df1fa19 --- /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\342\001\n\035c" + + "om.google.firestore.admin.v1B\016OperationP" + + "rotoP\001Z>google.golang.org/genproto/googl" + + "eapis/firestore/admin/v1;admin\242\002\004GCFS\252\002\037" + + "Google.Cloud.Firestore.Admin.V1\312\002\037Google" + + "\\Cloud\\Firestore\\Admin\\V1\352\002#Google::Clou" + + "d::Firestore::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 65%
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 e4670a0f96..9449e61635 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/admin/v1/operation.proto
 
 package com.google.firestore.admin.v1;
 
 /**
+ *
+ *
  * 
  * Describes the progress of the operation.
  * Unit of work is generic and must be interpreted based on where [Progress][google.firestore.admin.v1.Progress]
@@ -12,51 +29,55 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Progress}
  */
-public final class Progress extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Progress extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Progress)
     ProgressOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Progress.newBuilder() to construct.
   private Progress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private Progress() {
-  }
+
+  private Progress() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Progress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_Progress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.Progress.class, com.google.firestore.admin.v1.Progress.Builder.class);
+            com.google.firestore.admin.v1.Progress.class,
+            com.google.firestore.admin.v1.Progress.Builder.class);
   }
 
   public static final int ESTIMATED_WORK_FIELD_NUMBER = 1;
   private long estimatedWork_;
   /**
+   *
+   *
    * 
    * The amount of work estimated.
    * 
* * int64 estimated_work = 1; + * * @return The estimatedWork. */ @java.lang.Override @@ -67,11 +88,14 @@ public long getEstimatedWork() { public static final int COMPLETED_WORK_FIELD_NUMBER = 2; private long completedWork_; /** + * + * *
    * The amount of work completed.
    * 
* * int64 completed_work = 2; + * * @return The completedWork. */ @java.lang.Override @@ -80,6 +104,7 @@ public long getCompletedWork() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -91,8 +116,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (estimatedWork_ != 0L) { output.writeInt64(1, estimatedWork_); } @@ -109,12 +133,10 @@ public int getSerializedSize() { size = 0; if (estimatedWork_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, estimatedWork_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, estimatedWork_); } if (completedWork_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, completedWork_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, completedWork_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,17 +146,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Progress)) { return super.equals(obj); } com.google.firestore.admin.v1.Progress other = (com.google.firestore.admin.v1.Progress) obj; - if (getEstimatedWork() - != other.getEstimatedWork()) return false; - if (getCompletedWork() - != other.getCompletedWork()) return false; + if (getEstimatedWork() != other.getEstimatedWork()) return false; + if (getCompletedWork() != other.getCompletedWork()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -147,107 +167,112 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ESTIMATED_WORK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEstimatedWork()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedWork()); hash = (37 * hash) + COMPLETED_WORK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCompletedWork()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCompletedWork()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.firestore.admin.v1.Progress parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.Progress parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Progress parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Progress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Progress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Progress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Progress parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Progress parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Progress parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.Progress parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Progress parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.Progress parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Progress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.Progress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Describes the progress of the operation.
    * Unit of work is generic and must be interpreted based on where [Progress][google.firestore.admin.v1.Progress]
@@ -256,33 +281,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.admin.v1.Progress}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Progress)
       com.google.firestore.admin.v1.ProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_Progress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Progress.class, com.google.firestore.admin.v1.Progress.Builder.class);
+              com.google.firestore.admin.v1.Progress.class,
+              com.google.firestore.admin.v1.Progress.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.Progress.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -294,9 +318,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
@@ -315,7 +339,8 @@ public com.google.firestore.admin.v1.Progress build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.Progress buildPartial() {
-      com.google.firestore.admin.v1.Progress result = new com.google.firestore.admin.v1.Progress(this);
+      com.google.firestore.admin.v1.Progress result =
+          new com.google.firestore.admin.v1.Progress(this);
       result.estimatedWork_ = estimatedWork_;
       result.completedWork_ = completedWork_;
       onBuilt();
@@ -326,38 +351,39 @@ public com.google.firestore.admin.v1.Progress 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.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;
@@ -398,22 +424,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              estimatedWork_ = input.readInt64();
-
-              break;
-            } // case 8
-            case 16: {
-              completedWork_ = input.readInt64();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                estimatedWork_ = input.readInt64();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                completedWork_ = input.readInt64();
+
+                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) {
@@ -424,13 +453,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private long estimatedWork_ ;
+    private long estimatedWork_;
     /**
+     *
+     *
      * 
      * The amount of work estimated.
      * 
* * int64 estimated_work = 1; + * * @return The estimatedWork. */ @java.lang.Override @@ -438,42 +470,51 @@ public long getEstimatedWork() { return estimatedWork_; } /** + * + * *
      * The amount of work estimated.
      * 
* * int64 estimated_work = 1; + * * @param value The estimatedWork to set. * @return This builder for chaining. */ public Builder setEstimatedWork(long value) { - + estimatedWork_ = value; onChanged(); return this; } /** + * + * *
      * The amount of work estimated.
      * 
* * int64 estimated_work = 1; + * * @return This builder for chaining. */ public Builder clearEstimatedWork() { - + estimatedWork_ = 0L; onChanged(); return this; } - private long completedWork_ ; + private long completedWork_; /** + * + * *
      * The amount of work completed.
      * 
* * int64 completed_work = 2; + * * @return The completedWork. */ @java.lang.Override @@ -481,37 +522,43 @@ public long getCompletedWork() { return completedWork_; } /** + * + * *
      * The amount of work completed.
      * 
* * int64 completed_work = 2; + * * @param value The completedWork to set. * @return This builder for chaining. */ public Builder setCompletedWork(long value) { - + completedWork_ = value; onChanged(); return this; } /** + * + * *
      * The amount of work completed.
      * 
* * int64 completed_work = 2; + * * @return This builder for chaining. */ public Builder clearCompletedWork() { - + completedWork_ = 0L; 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); } @@ -521,12 +568,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(); } @@ -535,27 +582,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; @@ -570,6 +617,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 485f129f42..b26f63b4cb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java @@ -1,53 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * Metadata related to the update database operation.
  * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseMetadata} */ -public final class UpdateDatabaseMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.UpdateDatabaseMetadata) UpdateDatabaseMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDatabaseMetadata.newBuilder() to construct. private UpdateDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDatabaseMetadata() { - } + + private UpdateDatabaseMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDatabaseMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateDatabaseMetadata.class, com.google.firestore.admin.v1.UpdateDatabaseMetadata.Builder.class); + com.google.firestore.admin.v1.UpdateDatabaseMetadata.class, + com.google.firestore.admin.v1.UpdateDatabaseMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,12 +96,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.UpdateDatabaseMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.UpdateDatabaseMetadata other = (com.google.firestore.admin.v1.UpdateDatabaseMetadata) obj; + com.google.firestore.admin.v1.UpdateDatabaseMetadata other = + (com.google.firestore.admin.v1.UpdateDatabaseMetadata) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -102,129 +121,135 @@ public int hashCode() { } public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.UpdateDatabaseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata related to the update database operation.
    * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.UpdateDatabaseMetadata) com.google.firestore.admin.v1.UpdateDatabaseMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateDatabaseMetadata.class, com.google.firestore.admin.v1.UpdateDatabaseMetadata.Builder.class); + com.google.firestore.admin.v1.UpdateDatabaseMetadata.class, + com.google.firestore.admin.v1.UpdateDatabaseMetadata.Builder.class); } // Construct using com.google.firestore.admin.v1.UpdateDatabaseMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,9 +257,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; } @java.lang.Override @@ -253,7 +278,8 @@ public com.google.firestore.admin.v1.UpdateDatabaseMetadata build() { @java.lang.Override public com.google.firestore.admin.v1.UpdateDatabaseMetadata buildPartial() { - com.google.firestore.admin.v1.UpdateDatabaseMetadata result = new com.google.firestore.admin.v1.UpdateDatabaseMetadata(this); + com.google.firestore.admin.v1.UpdateDatabaseMetadata result = + new com.google.firestore.admin.v1.UpdateDatabaseMetadata(this); onBuilt(); return result; } @@ -262,38 +288,39 @@ public com.google.firestore.admin.v1.UpdateDatabaseMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.UpdateDatabaseMetadata) { - return mergeFrom((com.google.firestore.admin.v1.UpdateDatabaseMetadata)other); + return mergeFrom((com.google.firestore.admin.v1.UpdateDatabaseMetadata) other); } else { super.mergeFrom(other); return this; @@ -301,7 +328,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.UpdateDatabaseMetadata other) { - if (other == com.google.firestore.admin.v1.UpdateDatabaseMetadata.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.UpdateDatabaseMetadata.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -328,12 +356,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -343,9 +372,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,12 +384,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.UpdateDatabaseMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.UpdateDatabaseMetadata) private static final com.google.firestore.admin.v1.UpdateDatabaseMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.UpdateDatabaseMetadata(); } @@ -369,27 +398,27 @@ public static com.google.firestore.admin.v1.UpdateDatabaseMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDatabaseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDatabaseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -404,6 +433,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.UpdateDatabaseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java new file mode 100644 index 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 64% 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 fdbacd1896..ada67c55b6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java @@ -1,60 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase].
  * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseRequest} */ -public final class UpdateDatabaseRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.UpdateDatabaseRequest) UpdateDatabaseRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDatabaseRequest.newBuilder() to construct. private UpdateDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDatabaseRequest() { - } + + private UpdateDatabaseRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateDatabaseRequest.class, com.google.firestore.admin.v1.UpdateDatabaseRequest.Builder.class); + com.google.firestore.admin.v1.UpdateDatabaseRequest.class, + com.google.firestore.admin.v1.UpdateDatabaseRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; private com.google.firestore.admin.v1.Database database_; /** + * + * *
    * Required. The database to update.
    * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the database field is set. */ @java.lang.Override @@ -62,23 +85,34 @@ 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() { @@ -88,11 +122,14 @@ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -100,11 +137,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -112,6 +152,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -124,6 +166,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (database_ != null) { output.writeMessage(1, getDatabase()); } @@ -153,12 +195,10 @@ public int getSerializedSize() { size = 0; if (database_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDatabase()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDatabase()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +208,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.UpdateDatabaseRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.UpdateDatabaseRequest other = (com.google.firestore.admin.v1.UpdateDatabaseRequest) obj; + com.google.firestore.admin.v1.UpdateDatabaseRequest other = + (com.google.firestore.admin.v1.UpdateDatabaseRequest) obj; if (hasDatabase() != other.hasDatabase()) return false; if (hasDatabase()) { - if (!getDatabase() - .equals(other.getDatabase())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,129 +249,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(); @@ -352,9 +397,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 @@ -373,7 +418,8 @@ public com.google.firestore.admin.v1.UpdateDatabaseRequest build() { @java.lang.Override public com.google.firestore.admin.v1.UpdateDatabaseRequest buildPartial() { - com.google.firestore.admin.v1.UpdateDatabaseRequest result = new com.google.firestore.admin.v1.UpdateDatabaseRequest(this); + com.google.firestore.admin.v1.UpdateDatabaseRequest result = + new com.google.firestore.admin.v1.UpdateDatabaseRequest(this); if (databaseBuilder_ == null) { result.database_ = database_; } else { @@ -392,38 +438,39 @@ public com.google.firestore.admin.v1.UpdateDatabaseRequest 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.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; @@ -431,7 +478,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()); } @@ -464,26 +512,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDatabaseFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -496,39 +543,58 @@ public Builder mergeFrom( 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 databaseBuilder_ != null || 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. */ 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) { @@ -544,14 +610,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(); onChanged(); @@ -562,17 +631,23 @@ 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 (database_ != null) { database_ = - com.google.firestore.admin.v1.Database.newBuilder(database_).mergeFrom(value).buildPartial(); + com.google.firestore.admin.v1.Database.newBuilder(database_) + .mergeFrom(value) + .buildPartial(); } else { database_ = value; } @@ -584,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() { if (databaseBuilder_ == null) { @@ -602,48 +681,64 @@ 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() { - + onChanged(); 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_; @@ -651,34 +746,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * 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.
      * 
@@ -699,14 +807,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(); onChanged(); @@ -717,6 +826,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -727,7 +838,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -739,6 +850,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -757,6 +870,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -764,11 +879,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -779,11 +896,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.
      * 
@@ -791,21 +911,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); } @@ -815,12 +938,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(); } @@ -829,27 +952,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; @@ -864,6 +987,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 486bfad69a..939f19ff6f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java @@ -1,60 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
  * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateFieldRequest} */ -public final class UpdateFieldRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateFieldRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.UpdateFieldRequest) UpdateFieldRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateFieldRequest.newBuilder() to construct. private UpdateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateFieldRequest() { - } + + private UpdateFieldRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateFieldRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateFieldRequest.class, com.google.firestore.admin.v1.UpdateFieldRequest.Builder.class); + com.google.firestore.admin.v1.UpdateFieldRequest.class, + com.google.firestore.admin.v1.UpdateFieldRequest.Builder.class); } public static final int FIELD_FIELD_NUMBER = 1; private com.google.firestore.admin.v1.Field field_; /** + * + * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the field field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasField() { return field_ != null; } /** + * + * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The field. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.firestore.admin.v1.Field getField() { return field_ == null ? com.google.firestore.admin.v1.Field.getDefaultInstance() : field_; } /** + * + * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder() { @@ -88,12 +117,15 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -101,12 +133,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -114,6 +149,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
@@ -127,6 +164,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -138,8 +176,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (field_ != null) {
       output.writeMessage(1, getField());
     }
@@ -156,12 +193,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (field_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getField());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -171,22 +206,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.admin.v1.UpdateFieldRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.admin.v1.UpdateFieldRequest other = (com.google.firestore.admin.v1.UpdateFieldRequest) obj;
+    com.google.firestore.admin.v1.UpdateFieldRequest other =
+        (com.google.firestore.admin.v1.UpdateFieldRequest) obj;
 
     if (hasField() != other.hasField()) return false;
     if (hasField()) {
-      if (!getField()
-          .equals(other.getField())) return false;
+      if (!getField().equals(other.getField())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -212,130 +246,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.admin.v1.UpdateFieldRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.admin.v1.UpdateFieldRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.admin.v1.UpdateFieldRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
    * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateFieldRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.UpdateFieldRequest) com.google.firestore.admin.v1.UpdateFieldRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateFieldRequest.class, com.google.firestore.admin.v1.UpdateFieldRequest.Builder.class); + com.google.firestore.admin.v1.UpdateFieldRequest.class, + com.google.firestore.admin.v1.UpdateFieldRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.UpdateFieldRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +395,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_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 @@ -376,7 +416,8 @@ public com.google.firestore.admin.v1.UpdateFieldRequest build() { @java.lang.Override public com.google.firestore.admin.v1.UpdateFieldRequest buildPartial() { - com.google.firestore.admin.v1.UpdateFieldRequest result = new com.google.firestore.admin.v1.UpdateFieldRequest(this); + com.google.firestore.admin.v1.UpdateFieldRequest result = + new com.google.firestore.admin.v1.UpdateFieldRequest(this); if (fieldBuilder_ == null) { result.field_ = field_; } else { @@ -395,38 +436,39 @@ public com.google.firestore.admin.v1.UpdateFieldRequest 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.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; @@ -434,7 +476,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()); } @@ -467,26 +510,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getFieldFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + + 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,24 +541,35 @@ public Builder mergeFrom( 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 fieldBuilder_ != null || 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. */ public com.google.firestore.admin.v1.Field getField() { @@ -527,11 +580,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) { @@ -547,14 +603,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(); onChanged(); @@ -565,17 +623,22 @@ 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 (field_ != null) { field_ = - com.google.firestore.admin.v1.Field.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.firestore.admin.v1.Field.newBuilder(field_) + .mergeFrom(value) + .buildPartial(); } else { field_ = value; } @@ -587,11 +650,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() { if (fieldBuilder_ == null) { @@ -605,48 +671,59 @@ 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() { - + onChanged(); 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_; @@ -654,36 +731,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 updateMaskBuilder_ != null || 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. */ 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.
@@ -705,6 +795,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.
@@ -712,8 +804,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();
         onChanged();
@@ -724,6 +815,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,7 +828,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -747,6 +840,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.
@@ -766,6 +861,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.
@@ -774,11 +871,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -790,11 +889,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.
@@ -803,21 +905,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);
     }
 
@@ -827,12 +932,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();
   }
@@ -841,27 +946,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;
@@ -876,6 +981,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 65%
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 abde44b4d3..8c122ca2c5 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
 /**
+ *
+ *
  * 
  * A Firestore bundle is a length-prefixed stream of JSON representations of
  * `BundleElement`.
@@ -14,47 +31,50 @@
  *
  * Protobuf type {@code google.firestore.bundle.BundleElement}
  */
-public final class BundleElement extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BundleElement extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundleElement)
     BundleElementOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BundleElement.newBuilder() to construct.
   private BundleElement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private BundleElement() {
-  }
+
+  private BundleElement() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BundleElement();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.bundle.BundleProto
+        .internal_static_google_firestore_bundle_BundleElement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
+    return com.google.firestore.bundle.BundleProto
+        .internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.bundle.BundleElement.class, com.google.firestore.bundle.BundleElement.Builder.class);
+            com.google.firestore.bundle.BundleElement.class,
+            com.google.firestore.bundle.BundleElement.Builder.class);
   }
 
   private int elementTypeCase_ = 0;
   private java.lang.Object elementType_;
+
   public enum ElementTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     METADATA(1),
     NAMED_QUERY(2),
@@ -62,6 +82,7 @@ public enum ElementTypeCase
     DOCUMENT(4),
     ELEMENTTYPE_NOT_SET(0);
     private final int value;
+
     private ElementTypeCase(int value) {
       this.value = value;
     }
@@ -77,28 +98,34 @@ public static ElementTypeCase valueOf(int value) {
 
     public static ElementTypeCase forNumber(int value) {
       switch (value) {
-        case 1: return METADATA;
-        case 2: return NAMED_QUERY;
-        case 3: return DOCUMENT_METADATA;
-        case 4: return DOCUMENT;
-        case 0: return ELEMENTTYPE_NOT_SET;
-        default: return null;
+        case 1:
+          return METADATA;
+        case 2:
+          return NAMED_QUERY;
+        case 3:
+          return DOCUMENT_METADATA;
+        case 4:
+          return DOCUMENT;
+        case 0:
+          return ELEMENTTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ElementTypeCase
-  getElementTypeCase() {
-    return ElementTypeCase.forNumber(
-        elementTypeCase_);
+  public ElementTypeCase getElementTypeCase() {
+    return ElementTypeCase.forNumber(elementTypeCase_);
   }
 
   public static final int METADATA_FIELD_NUMBER = 1;
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
+   *
    * @return Whether the metadata field is set.
    */
   @java.lang.Override
@@ -107,22 +134,21 @@ public boolean hasMetadata() {
   }
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
+   *
    * @return The metadata.
    */
   @java.lang.Override
   public com.google.firestore.bundle.BundleMetadata getMetadata() {
     if (elementTypeCase_ == 1) {
-       return (com.google.firestore.bundle.BundleMetadata) elementType_;
+      return (com.google.firestore.bundle.BundleMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
   }
-  /**
-   * .google.firestore.bundle.BundleMetadata metadata = 1;
-   */
+  /** .google.firestore.bundle.BundleMetadata metadata = 1; */
   @java.lang.Override
   public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder() {
     if (elementTypeCase_ == 1) {
-       return (com.google.firestore.bundle.BundleMetadata) elementType_;
+      return (com.google.firestore.bundle.BundleMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
   }
@@ -130,6 +156,7 @@ public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder(
   public static final int NAMED_QUERY_FIELD_NUMBER = 2;
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
+   *
    * @return Whether the namedQuery field is set.
    */
   @java.lang.Override
@@ -138,22 +165,21 @@ public boolean hasNamedQuery() {
   }
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
+   *
    * @return The namedQuery.
    */
   @java.lang.Override
   public com.google.firestore.bundle.NamedQuery getNamedQuery() {
     if (elementTypeCase_ == 2) {
-       return (com.google.firestore.bundle.NamedQuery) elementType_;
+      return (com.google.firestore.bundle.NamedQuery) elementType_;
     }
     return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
   }
-  /**
-   * .google.firestore.bundle.NamedQuery named_query = 2;
-   */
+  /** .google.firestore.bundle.NamedQuery named_query = 2; */
   @java.lang.Override
   public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder() {
     if (elementTypeCase_ == 2) {
-       return (com.google.firestore.bundle.NamedQuery) elementType_;
+      return (com.google.firestore.bundle.NamedQuery) elementType_;
     }
     return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
   }
@@ -161,6 +187,7 @@ public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder()
   public static final int DOCUMENT_METADATA_FIELD_NUMBER = 3;
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+   *
    * @return Whether the documentMetadata field is set.
    */
   @java.lang.Override
@@ -169,22 +196,22 @@ public boolean hasDocumentMetadata() {
   }
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+   *
    * @return The documentMetadata.
    */
   @java.lang.Override
   public com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata() {
     if (elementTypeCase_ == 3) {
-       return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
+      return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
   }
-  /**
-   * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-   */
+  /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
   @java.lang.Override
-  public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentMetadataOrBuilder() {
+  public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder
+      getDocumentMetadataOrBuilder() {
     if (elementTypeCase_ == 3) {
-       return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
+      return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
   }
@@ -192,6 +219,7 @@ public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentM
   public static final int DOCUMENT_FIELD_NUMBER = 4;
   /**
    * .google.firestore.v1.Document document = 4;
+   *
    * @return Whether the document field is set.
    */
   @java.lang.Override
@@ -200,27 +228,27 @@ public boolean hasDocument() {
   }
   /**
    * .google.firestore.v1.Document document = 4;
+   *
    * @return The document.
    */
   @java.lang.Override
   public com.google.firestore.v1.Document getDocument() {
     if (elementTypeCase_ == 4) {
-       return (com.google.firestore.v1.Document) elementType_;
+      return (com.google.firestore.v1.Document) elementType_;
     }
     return com.google.firestore.v1.Document.getDefaultInstance();
   }
-  /**
-   * .google.firestore.v1.Document document = 4;
-   */
+  /** .google.firestore.v1.Document document = 4; */
   @java.lang.Override
   public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
     if (elementTypeCase_ == 4) {
-       return (com.google.firestore.v1.Document) elementType_;
+      return (com.google.firestore.v1.Document) elementType_;
     }
     return com.google.firestore.v1.Document.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -232,8 +260,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (elementTypeCase_ == 1) {
       output.writeMessage(1, (com.google.firestore.bundle.BundleMetadata) elementType_);
     }
@@ -256,20 +283,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (elementTypeCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.firestore.bundle.BundleMetadata) elementType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.firestore.bundle.BundleMetadata) elementType_);
     }
     if (elementTypeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.firestore.bundle.NamedQuery) elementType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.firestore.bundle.NamedQuery) elementType_);
     }
     if (elementTypeCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.firestore.bundle.BundledDocumentMetadata) elementType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.firestore.bundle.BundledDocumentMetadata) elementType_);
     }
     if (elementTypeCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.firestore.v1.Document) elementType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.firestore.v1.Document) elementType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -279,30 +310,27 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.bundle.BundleElement)) {
       return super.equals(obj);
     }
-    com.google.firestore.bundle.BundleElement other = (com.google.firestore.bundle.BundleElement) obj;
+    com.google.firestore.bundle.BundleElement other =
+        (com.google.firestore.bundle.BundleElement) obj;
 
     if (!getElementTypeCase().equals(other.getElementTypeCase())) return false;
     switch (elementTypeCase_) {
       case 1:
-        if (!getMetadata()
-            .equals(other.getMetadata())) return false;
+        if (!getMetadata().equals(other.getMetadata())) return false;
         break;
       case 2:
-        if (!getNamedQuery()
-            .equals(other.getNamedQuery())) return false;
+        if (!getNamedQuery().equals(other.getNamedQuery())) return false;
         break;
       case 3:
-        if (!getDocumentMetadata()
-            .equals(other.getDocumentMetadata())) return false;
+        if (!getDocumentMetadata().equals(other.getDocumentMetadata())) return false;
         break;
       case 4:
-        if (!getDocument()
-            .equals(other.getDocument())) return false;
+        if (!getDocument().equals(other.getDocument())) return false;
         break;
       case 0:
       default:
@@ -343,97 +371,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.bundle.BundleElement parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.bundle.BundleElement parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.bundle.BundleElement parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.bundle.BundleElement parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.bundle.BundleElement parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.bundle.BundleElement prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A Firestore bundle is a length-prefixed stream of JSON representations of
    * `BundleElement`.
@@ -444,33 +479,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.bundle.BundleElement}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.bundle.BundleElement)
       com.google.firestore.bundle.BundleElementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.bundle.BundleProto
+          .internal_static_google_firestore_bundle_BundleElement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
+      return com.google.firestore.bundle.BundleProto
+          .internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.bundle.BundleElement.class, com.google.firestore.bundle.BundleElement.Builder.class);
+              com.google.firestore.bundle.BundleElement.class,
+              com.google.firestore.bundle.BundleElement.Builder.class);
     }
 
     // Construct using com.google.firestore.bundle.BundleElement.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -492,9 +526,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
@@ -513,7 +547,8 @@ public com.google.firestore.bundle.BundleElement build() {
 
     @java.lang.Override
     public com.google.firestore.bundle.BundleElement buildPartial() {
-      com.google.firestore.bundle.BundleElement result = new com.google.firestore.bundle.BundleElement(this);
+      com.google.firestore.bundle.BundleElement result =
+          new com.google.firestore.bundle.BundleElement(this);
       if (elementTypeCase_ == 1) {
         if (metadataBuilder_ == null) {
           result.elementType_ = elementType_;
@@ -551,38 +586,39 @@ public com.google.firestore.bundle.BundleElement 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.bundle.BundleElement) {
-        return mergeFrom((com.google.firestore.bundle.BundleElement)other);
+        return mergeFrom((com.google.firestore.bundle.BundleElement) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -592,25 +628,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();
@@ -638,40 +679,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) {
@@ -681,12 +720,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,11 +735,14 @@ public Builder clearElementType() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.bundle.BundleMetadata, com.google.firestore.bundle.BundleMetadata.Builder, com.google.firestore.bundle.BundleMetadataOrBuilder> metadataBuilder_;
+            com.google.firestore.bundle.BundleMetadata,
+            com.google.firestore.bundle.BundleMetadata.Builder,
+            com.google.firestore.bundle.BundleMetadataOrBuilder>
+        metadataBuilder_;
     /**
      * .google.firestore.bundle.BundleMetadata metadata = 1;
+     *
      * @return Whether the metadata field is set.
      */
     @java.lang.Override
@@ -709,6 +751,7 @@ public boolean hasMetadata() {
     }
     /**
      * .google.firestore.bundle.BundleMetadata metadata = 1;
+     *
      * @return The metadata.
      */
     @java.lang.Override
@@ -725,9 +768,7 @@ public com.google.firestore.bundle.BundleMetadata getMetadata() {
         return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
       }
     }
-    /**
-     * .google.firestore.bundle.BundleMetadata metadata = 1;
-     */
+    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
     public Builder setMetadata(com.google.firestore.bundle.BundleMetadata value) {
       if (metadataBuilder_ == null) {
         if (value == null) {
@@ -741,11 +782,8 @@ public Builder setMetadata(com.google.firestore.bundle.BundleMetadata value) {
       elementTypeCase_ = 1;
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundleMetadata metadata = 1;
-     */
-    public Builder setMetadata(
-        com.google.firestore.bundle.BundleMetadata.Builder builderForValue) {
+    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+    public Builder setMetadata(com.google.firestore.bundle.BundleMetadata.Builder builderForValue) {
       if (metadataBuilder_ == null) {
         elementType_ = builderForValue.build();
         onChanged();
@@ -755,15 +793,16 @@ public Builder setMetadata(
       elementTypeCase_ = 1;
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundleMetadata metadata = 1;
-     */
+    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
     public Builder mergeMetadata(com.google.firestore.bundle.BundleMetadata value) {
       if (metadataBuilder_ == null) {
-        if (elementTypeCase_ == 1 &&
-            elementType_ != com.google.firestore.bundle.BundleMetadata.getDefaultInstance()) {
-          elementType_ = com.google.firestore.bundle.BundleMetadata.newBuilder((com.google.firestore.bundle.BundleMetadata) elementType_)
-              .mergeFrom(value).buildPartial();
+        if (elementTypeCase_ == 1
+            && elementType_ != com.google.firestore.bundle.BundleMetadata.getDefaultInstance()) {
+          elementType_ =
+              com.google.firestore.bundle.BundleMetadata.newBuilder(
+                      (com.google.firestore.bundle.BundleMetadata) elementType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           elementType_ = value;
         }
@@ -778,9 +817,7 @@ public Builder mergeMetadata(com.google.firestore.bundle.BundleMetadata value) {
       elementTypeCase_ = 1;
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundleMetadata metadata = 1;
-     */
+    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
     public Builder clearMetadata() {
       if (metadataBuilder_ == null) {
         if (elementTypeCase_ == 1) {
@@ -797,15 +834,11 @@ public Builder clearMetadata() {
       }
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundleMetadata metadata = 1;
-     */
+    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
     public com.google.firestore.bundle.BundleMetadata.Builder getMetadataBuilder() {
       return getMetadataFieldBuilder().getBuilder();
     }
-    /**
-     * .google.firestore.bundle.BundleMetadata metadata = 1;
-     */
+    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
     @java.lang.Override
     public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder() {
       if ((elementTypeCase_ == 1) && (metadataBuilder_ != null)) {
@@ -817,32 +850,40 @@ 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());
         elementType_ = null;
       }
       elementTypeCase_ = 1;
-      onChanged();;
+      onChanged();
+      ;
       return metadataBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.bundle.NamedQuery, com.google.firestore.bundle.NamedQuery.Builder, com.google.firestore.bundle.NamedQueryOrBuilder> namedQueryBuilder_;
+            com.google.firestore.bundle.NamedQuery,
+            com.google.firestore.bundle.NamedQuery.Builder,
+            com.google.firestore.bundle.NamedQueryOrBuilder>
+        namedQueryBuilder_;
     /**
      * .google.firestore.bundle.NamedQuery named_query = 2;
+     *
      * @return Whether the namedQuery field is set.
      */
     @java.lang.Override
@@ -851,6 +892,7 @@ public boolean hasNamedQuery() {
     }
     /**
      * .google.firestore.bundle.NamedQuery named_query = 2;
+     *
      * @return The namedQuery.
      */
     @java.lang.Override
@@ -867,9 +909,7 @@ public com.google.firestore.bundle.NamedQuery getNamedQuery() {
         return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
       }
     }
-    /**
-     * .google.firestore.bundle.NamedQuery named_query = 2;
-     */
+    /** .google.firestore.bundle.NamedQuery named_query = 2; */
     public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       if (namedQueryBuilder_ == null) {
         if (value == null) {
@@ -883,11 +923,8 @@ public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       elementTypeCase_ = 2;
       return this;
     }
-    /**
-     * .google.firestore.bundle.NamedQuery named_query = 2;
-     */
-    public Builder setNamedQuery(
-        com.google.firestore.bundle.NamedQuery.Builder builderForValue) {
+    /** .google.firestore.bundle.NamedQuery named_query = 2; */
+    public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery.Builder builderForValue) {
       if (namedQueryBuilder_ == null) {
         elementType_ = builderForValue.build();
         onChanged();
@@ -897,15 +934,16 @@ public Builder setNamedQuery(
       elementTypeCase_ = 2;
       return this;
     }
-    /**
-     * .google.firestore.bundle.NamedQuery named_query = 2;
-     */
+    /** .google.firestore.bundle.NamedQuery named_query = 2; */
     public Builder mergeNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       if (namedQueryBuilder_ == null) {
-        if (elementTypeCase_ == 2 &&
-            elementType_ != com.google.firestore.bundle.NamedQuery.getDefaultInstance()) {
-          elementType_ = com.google.firestore.bundle.NamedQuery.newBuilder((com.google.firestore.bundle.NamedQuery) elementType_)
-              .mergeFrom(value).buildPartial();
+        if (elementTypeCase_ == 2
+            && elementType_ != com.google.firestore.bundle.NamedQuery.getDefaultInstance()) {
+          elementType_ =
+              com.google.firestore.bundle.NamedQuery.newBuilder(
+                      (com.google.firestore.bundle.NamedQuery) elementType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           elementType_ = value;
         }
@@ -920,9 +958,7 @@ public Builder mergeNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       elementTypeCase_ = 2;
       return this;
     }
-    /**
-     * .google.firestore.bundle.NamedQuery named_query = 2;
-     */
+    /** .google.firestore.bundle.NamedQuery named_query = 2; */
     public Builder clearNamedQuery() {
       if (namedQueryBuilder_ == null) {
         if (elementTypeCase_ == 2) {
@@ -939,15 +975,11 @@ public Builder clearNamedQuery() {
       }
       return this;
     }
-    /**
-     * .google.firestore.bundle.NamedQuery named_query = 2;
-     */
+    /** .google.firestore.bundle.NamedQuery named_query = 2; */
     public com.google.firestore.bundle.NamedQuery.Builder getNamedQueryBuilder() {
       return getNamedQueryFieldBuilder().getBuilder();
     }
-    /**
-     * .google.firestore.bundle.NamedQuery named_query = 2;
-     */
+    /** .google.firestore.bundle.NamedQuery named_query = 2; */
     @java.lang.Override
     public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder() {
       if ((elementTypeCase_ == 2) && (namedQueryBuilder_ != null)) {
@@ -959,32 +991,40 @@ 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());
         elementType_ = null;
       }
       elementTypeCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return namedQueryBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.bundle.BundledDocumentMetadata, com.google.firestore.bundle.BundledDocumentMetadata.Builder, com.google.firestore.bundle.BundledDocumentMetadataOrBuilder> documentMetadataBuilder_;
+            com.google.firestore.bundle.BundledDocumentMetadata,
+            com.google.firestore.bundle.BundledDocumentMetadata.Builder,
+            com.google.firestore.bundle.BundledDocumentMetadataOrBuilder>
+        documentMetadataBuilder_;
     /**
      * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     *
      * @return Whether the documentMetadata field is set.
      */
     @java.lang.Override
@@ -993,6 +1033,7 @@ public boolean hasDocumentMetadata() {
     }
     /**
      * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     *
      * @return The documentMetadata.
      */
     @java.lang.Override
@@ -1009,9 +1050,7 @@ public com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata()
         return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
       }
     }
-    /**
-     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     */
+    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
     public Builder setDocumentMetadata(com.google.firestore.bundle.BundledDocumentMetadata value) {
       if (documentMetadataBuilder_ == null) {
         if (value == null) {
@@ -1025,9 +1064,7 @@ public Builder setDocumentMetadata(com.google.firestore.bundle.BundledDocumentMe
       elementTypeCase_ = 3;
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     */
+    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
     public Builder setDocumentMetadata(
         com.google.firestore.bundle.BundledDocumentMetadata.Builder builderForValue) {
       if (documentMetadataBuilder_ == null) {
@@ -1039,15 +1076,18 @@ public Builder setDocumentMetadata(
       elementTypeCase_ = 3;
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     */
-    public Builder mergeDocumentMetadata(com.google.firestore.bundle.BundledDocumentMetadata value) {
+    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    public Builder mergeDocumentMetadata(
+        com.google.firestore.bundle.BundledDocumentMetadata value) {
       if (documentMetadataBuilder_ == null) {
-        if (elementTypeCase_ == 3 &&
-            elementType_ != com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) {
-          elementType_ = com.google.firestore.bundle.BundledDocumentMetadata.newBuilder((com.google.firestore.bundle.BundledDocumentMetadata) elementType_)
-              .mergeFrom(value).buildPartial();
+        if (elementTypeCase_ == 3
+            && elementType_
+                != com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) {
+          elementType_ =
+              com.google.firestore.bundle.BundledDocumentMetadata.newBuilder(
+                      (com.google.firestore.bundle.BundledDocumentMetadata) elementType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           elementType_ = value;
         }
@@ -1062,9 +1102,7 @@ public Builder mergeDocumentMetadata(com.google.firestore.bundle.BundledDocument
       elementTypeCase_ = 3;
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     */
+    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
     public Builder clearDocumentMetadata() {
       if (documentMetadataBuilder_ == null) {
         if (elementTypeCase_ == 3) {
@@ -1081,17 +1119,15 @@ public Builder clearDocumentMetadata() {
       }
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     */
-    public com.google.firestore.bundle.BundledDocumentMetadata.Builder getDocumentMetadataBuilder() {
+    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    public com.google.firestore.bundle.BundledDocumentMetadata.Builder
+        getDocumentMetadataBuilder() {
       return getDocumentMetadataFieldBuilder().getBuilder();
     }
-    /**
-     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     */
+    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
     @java.lang.Override
-    public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentMetadataOrBuilder() {
+    public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder
+        getDocumentMetadataOrBuilder() {
       if ((elementTypeCase_ == 3) && (documentMetadataBuilder_ != null)) {
         return documentMetadataBuilder_.getMessageOrBuilder();
       } else {
@@ -1101,32 +1137,40 @@ 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());
         elementType_ = null;
       }
       elementTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return documentMetadataBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_;
+            com.google.firestore.v1.Document,
+            com.google.firestore.v1.Document.Builder,
+            com.google.firestore.v1.DocumentOrBuilder>
+        documentBuilder_;
     /**
      * .google.firestore.v1.Document document = 4;
+     *
      * @return Whether the document field is set.
      */
     @java.lang.Override
@@ -1135,6 +1179,7 @@ public boolean hasDocument() {
     }
     /**
      * .google.firestore.v1.Document document = 4;
+     *
      * @return The document.
      */
     @java.lang.Override
@@ -1151,9 +1196,7 @@ public com.google.firestore.v1.Document getDocument() {
         return com.google.firestore.v1.Document.getDefaultInstance();
       }
     }
-    /**
-     * .google.firestore.v1.Document document = 4;
-     */
+    /** .google.firestore.v1.Document document = 4; */
     public Builder setDocument(com.google.firestore.v1.Document value) {
       if (documentBuilder_ == null) {
         if (value == null) {
@@ -1167,11 +1210,8 @@ public Builder setDocument(com.google.firestore.v1.Document value) {
       elementTypeCase_ = 4;
       return this;
     }
-    /**
-     * .google.firestore.v1.Document document = 4;
-     */
-    public Builder setDocument(
-        com.google.firestore.v1.Document.Builder builderForValue) {
+    /** .google.firestore.v1.Document document = 4; */
+    public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) {
       if (documentBuilder_ == null) {
         elementType_ = builderForValue.build();
         onChanged();
@@ -1181,15 +1221,16 @@ public Builder setDocument(
       elementTypeCase_ = 4;
       return this;
     }
-    /**
-     * .google.firestore.v1.Document document = 4;
-     */
+    /** .google.firestore.v1.Document document = 4; */
     public Builder mergeDocument(com.google.firestore.v1.Document value) {
       if (documentBuilder_ == null) {
-        if (elementTypeCase_ == 4 &&
-            elementType_ != com.google.firestore.v1.Document.getDefaultInstance()) {
-          elementType_ = com.google.firestore.v1.Document.newBuilder((com.google.firestore.v1.Document) elementType_)
-              .mergeFrom(value).buildPartial();
+        if (elementTypeCase_ == 4
+            && elementType_ != com.google.firestore.v1.Document.getDefaultInstance()) {
+          elementType_ =
+              com.google.firestore.v1.Document.newBuilder(
+                      (com.google.firestore.v1.Document) elementType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           elementType_ = value;
         }
@@ -1204,9 +1245,7 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) {
       elementTypeCase_ = 4;
       return this;
     }
-    /**
-     * .google.firestore.v1.Document document = 4;
-     */
+    /** .google.firestore.v1.Document document = 4; */
     public Builder clearDocument() {
       if (documentBuilder_ == null) {
         if (elementTypeCase_ == 4) {
@@ -1223,15 +1262,11 @@ public Builder clearDocument() {
       }
       return this;
     }
-    /**
-     * .google.firestore.v1.Document document = 4;
-     */
+    /** .google.firestore.v1.Document document = 4; */
     public com.google.firestore.v1.Document.Builder getDocumentBuilder() {
       return getDocumentFieldBuilder().getBuilder();
     }
-    /**
-     * .google.firestore.v1.Document document = 4;
-     */
+    /** .google.firestore.v1.Document document = 4; */
     @java.lang.Override
     public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
       if ((elementTypeCase_ == 4) && (documentBuilder_ != null)) {
@@ -1243,30 +1278,32 @@ 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();;
+      onChanged();
+      ;
       return documentBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1276,12 +1313,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.bundle.BundleElement)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.bundle.BundleElement)
   private static final com.google.firestore.bundle.BundleElement DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.bundle.BundleElement();
   }
@@ -1290,27 +1327,27 @@ public static com.google.firestore.bundle.BundleElement getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BundleElement parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BundleElement parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1325,6 +1362,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 23ff8a73be..a84a717fcc 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
@@ -1,70 +1,86 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
-public interface BundleElementOrBuilder extends
+public interface BundleElementOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundleElement)
     com.google.protobuf.MessageOrBuilder {
 
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
+   *
    * @return Whether the metadata field is set.
    */
   boolean hasMetadata();
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
+   *
    * @return The metadata.
    */
   com.google.firestore.bundle.BundleMetadata getMetadata();
-  /**
-   * .google.firestore.bundle.BundleMetadata metadata = 1;
-   */
+  /** .google.firestore.bundle.BundleMetadata metadata = 1; */
   com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder();
 
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
+   *
    * @return Whether the namedQuery field is set.
    */
   boolean hasNamedQuery();
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
+   *
    * @return The namedQuery.
    */
   com.google.firestore.bundle.NamedQuery getNamedQuery();
-  /**
-   * .google.firestore.bundle.NamedQuery named_query = 2;
-   */
+  /** .google.firestore.bundle.NamedQuery named_query = 2; */
   com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder();
 
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+   *
    * @return Whether the documentMetadata field is set.
    */
   boolean hasDocumentMetadata();
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+   *
    * @return The documentMetadata.
    */
   com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata();
-  /**
-   * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-   */
+  /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
   com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentMetadataOrBuilder();
 
   /**
    * .google.firestore.v1.Document document = 4;
+   *
    * @return Whether the document field is set.
    */
   boolean hasDocument();
   /**
    * .google.firestore.v1.Document document = 4;
+   *
    * @return The document.
    */
   com.google.firestore.v1.Document getDocument();
-  /**
-   * .google.firestore.v1.Document document = 4;
-   */
+  /** .google.firestore.v1.Document document = 4; */
   com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder();
 
   public com.google.firestore.bundle.BundleElement.ElementTypeCase getElementTypeCase();
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
similarity index 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 6d6a169173..0587598e03 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,61 +1,83 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
 /**
+ *
+ *
  * 
  * Metadata describing the bundle file/stream.
  * 
* * Protobuf type {@code google.firestore.bundle.BundleMetadata} */ -public final class BundleMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BundleMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundleMetadata) BundleMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BundleMetadata.newBuilder() to construct. private BundleMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BundleMetadata() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BundleMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundleMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundleMetadata.class, com.google.firestore.bundle.BundleMetadata.Builder.class); + com.google.firestore.bundle.BundleMetadata.class, + com.google.firestore.bundle.BundleMetadata.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** + * + * *
    * The ID of the bundle.
    * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -64,29 +86,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 { @@ -97,11 +119,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 @@ -109,11 +134,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 @@ -121,6 +149,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.
    * 
@@ -135,11 +165,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int VERSION_FIELD_NUMBER = 3; private int version_; /** + * + * *
    * The schema version of the bundle.
    * 
* * uint32 version = 3; + * * @return The version. */ @java.lang.Override @@ -150,11 +183,14 @@ public int getVersion() { public static final int TOTAL_DOCUMENTS_FIELD_NUMBER = 4; private int totalDocuments_; /** + * + * *
    * The number of documents in the bundle.
    * 
* * uint32 total_documents = 4; + * * @return The totalDocuments. */ @java.lang.Override @@ -165,11 +201,14 @@ public int getTotalDocuments() { public static final int TOTAL_BYTES_FIELD_NUMBER = 5; private long totalBytes_; /** + * + * *
    * The size of the bundle in bytes, excluding this `BundleMetadata`.
    * 
* * uint64 total_bytes = 5; + * * @return The totalBytes. */ @java.lang.Override @@ -178,6 +217,7 @@ public long getTotalBytes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,8 +229,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_); } @@ -219,20 +258,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; @@ -242,26 +277,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; } @@ -284,137 +315,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(); @@ -436,9 +472,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 @@ -457,7 +493,8 @@ public com.google.firestore.bundle.BundleMetadata build() { @java.lang.Override public com.google.firestore.bundle.BundleMetadata buildPartial() { - com.google.firestore.bundle.BundleMetadata result = new com.google.firestore.bundle.BundleMetadata(this); + com.google.firestore.bundle.BundleMetadata result = + new com.google.firestore.bundle.BundleMetadata(this); result.id_ = id_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -475,38 +512,39 @@ public com.google.firestore.bundle.BundleMetadata 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.bundle.BundleMetadata) { - return mergeFrom((com.google.firestore.bundle.BundleMetadata)other); + return mergeFrom((com.google.firestore.bundle.BundleMetadata) other); } else { super.mergeFrom(other); return this; @@ -557,39 +595,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - id_ = input.readStringRequireUtf8(); + case 10: + { + id_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 24: { - version_ = input.readUInt32(); + break; + } // case 18 + case 24: + { + version_ = input.readUInt32(); - break; - } // case 24 - case 32: { - totalDocuments_ = input.readUInt32(); + break; + } // case 24 + case 32: + { + totalDocuments_ = input.readUInt32(); - break; - } // case 32 - case 40: { - totalBytes_ = input.readUInt64(); + break; + } // case 32 + case 40: + { + totalBytes_ = input.readUInt64(); - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -602,18 +644,20 @@ public Builder mergeFrom( 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; @@ -622,20 +666,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 { @@ -643,54 +688,61 @@ 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) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * The ID of the bundle.
      * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); 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) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -698,34 +750,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 createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -746,14 +811,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(); onChanged(); @@ -764,6 +830,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -774,7 +842,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -786,6 +854,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -804,6 +874,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -811,11 +883,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 2; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -826,11 +900,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.
      * 
@@ -838,26 +915,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 @@ -865,42 +948,51 @@ public int getVersion() { return version_; } /** + * + * *
      * The schema version of the bundle.
      * 
* * uint32 version = 3; + * * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(int value) { - + version_ = value; onChanged(); return this; } /** + * + * *
      * The schema version of the bundle.
      * 
* * uint32 version = 3; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = 0; onChanged(); 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 @@ -908,42 +1000,51 @@ public int getTotalDocuments() { return totalDocuments_; } /** + * + * *
      * The number of documents in the bundle.
      * 
* * uint32 total_documents = 4; + * * @param value The totalDocuments to set. * @return This builder for chaining. */ public Builder setTotalDocuments(int value) { - + totalDocuments_ = value; onChanged(); return this; } /** + * + * *
      * The number of documents in the bundle.
      * 
* * uint32 total_documents = 4; + * * @return This builder for chaining. */ public Builder clearTotalDocuments() { - + totalDocuments_ = 0; onChanged(); 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 @@ -951,37 +1052,43 @@ public long getTotalBytes() { return totalBytes_; } /** + * + * *
      * The size of the bundle in bytes, excluding this `BundleMetadata`.
      * 
* * uint64 total_bytes = 5; + * * @param value The totalBytes to set. * @return This builder for chaining. */ public Builder setTotalBytes(long value) { - + totalBytes_ = value; onChanged(); return this; } /** + * + * *
      * The size of the bundle in bytes, excluding this `BundleMetadata`.
      * 
* * uint64 total_bytes = 5; + * * @return This builder for chaining. */ public Builder clearTotalBytes() { - + totalBytes_ = 0L; 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); } @@ -991,12 +1098,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(); } @@ -1005,27 +1112,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; @@ -1040,6 +1147,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..89b539ab6f --- /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\221\001\n\033com.goo" + + "gle.firestore.bundleB\013BundleProtoP\001Z5goo" + + "gle.golang.org/genproto/firestore/bundle" + + ";firestore\242\002\005FSTPB\252\002\020Firestore.Bundle\312\002\020" + + "Firestore\\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 71% 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 3cf7150f8d..818a1bf553 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java +++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; /** + * + * *
  * Metadata describing a Firestore document saved in the bundle.
  * 
* * Protobuf type {@code google.firestore.bundle.BundledDocumentMetadata} */ -public final class BundledDocumentMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BundledDocumentMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundledDocumentMetadata) BundledDocumentMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BundledDocumentMetadata.newBuilder() to construct. private BundledDocumentMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BundledDocumentMetadata() { name_ = ""; queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,37 +44,41 @@ private BundledDocumentMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BundledDocumentMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundledDocumentMetadata.class, com.google.firestore.bundle.BundledDocumentMetadata.Builder.class); + com.google.firestore.bundle.BundledDocumentMetadata.class, + com.google.firestore.bundle.BundledDocumentMetadata.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The document key of a bundled document.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -65,29 +87,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 { @@ -98,11 +120,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 @@ -110,11 +135,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 @@ -122,6 +150,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The snapshot version of the document data bundled.
    * 
@@ -136,11 +166,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int EXISTS_FIELD_NUMBER = 3; private boolean exists_; /** + * + * *
    * Whether the document exists.
    * 
* * bool exists = 3; + * * @return The exists. */ @java.lang.Override @@ -151,34 +184,42 @@ public boolean getExists() { public static final int QUERIES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList queries_; /** + * + * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; + * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList - getQueriesList() { + public com.google.protobuf.ProtocolStringList getQueriesList() { return queries_; } /** + * + * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; + * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** + * + * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; + * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -186,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; @@ -211,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_); } @@ -238,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; @@ -261,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; } @@ -297,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(); @@ -309,129 +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(); @@ -451,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; } @java.lang.Override @@ -472,7 +515,8 @@ public com.google.firestore.bundle.BundledDocumentMetadata build() { @java.lang.Override public com.google.firestore.bundle.BundledDocumentMetadata buildPartial() { - com.google.firestore.bundle.BundledDocumentMetadata result = new com.google.firestore.bundle.BundledDocumentMetadata(this); + com.google.firestore.bundle.BundledDocumentMetadata result = + new com.google.firestore.bundle.BundledDocumentMetadata(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (readTimeBuilder_ == null) { @@ -494,38 +538,39 @@ public com.google.firestore.bundle.BundledDocumentMetadata 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.bundle.BundledDocumentMetadata) { - return mergeFrom((com.google.firestore.bundle.BundledDocumentMetadata)other); + return mergeFrom((com.google.firestore.bundle.BundledDocumentMetadata) other); } else { super.mergeFrom(other); return this; @@ -533,7 +578,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_; onChanged(); @@ -580,35 +626,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); + case 10: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 24: { - exists_ = input.readBool(); + break; + } // case 18 + case 24: + { + exists_ = input.readBool(); - 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: + 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) { @@ -618,22 +667,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; @@ -642,20 +694,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 { @@ -663,54 +716,61 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The document key of a bundled document.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -718,24 +778,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 readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -746,6 +815,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -766,14 +837,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(); onChanged(); @@ -784,6 +856,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -794,7 +868,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { if (readTime_ != null) { readTime_ = - com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); } else { readTime_ = value; } @@ -806,6 +880,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -824,6 +900,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -831,11 +909,13 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 2; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -846,11 +926,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.
      * 
@@ -858,26 +939,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 @@ -885,71 +972,87 @@ public boolean getExists() { return exists_; } /** + * + * *
      * Whether the document exists.
      * 
* * bool exists = 3; + * * @param value The exists to set. * @return This builder for chaining. */ public Builder setExists(boolean value) { - + exists_ = value; onChanged(); return this; } /** + * + * *
      * Whether the document exists.
      * 
* * bool exists = 3; + * * @return This builder for chaining. */ public Builder clearExists() { - + exists_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList queries_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureQueriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queries_ = new com.google.protobuf.LazyStringArrayList(queries_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList - getQueriesList() { + public com.google.protobuf.ProtocolStringList getQueriesList() { return queries_.getUnmodifiableView(); } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -957,80 +1060,90 @@ public java.lang.String getQueries(int index) { return queries_.get(index); } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - public com.google.protobuf.ByteString - getQueriesBytes(int index) { + public com.google.protobuf.ByteString getQueriesBytes(int index) { return queries_.getByteString(index); } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @param index The index to set the value at. * @param value The queries to set. * @return This builder for chaining. */ - public Builder setQueries( - int index, java.lang.String value) { + public Builder setQueries(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); + throw new NullPointerException(); + } + ensureQueriesIsMutable(); queries_.set(index, value); onChanged(); return this; } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @param value The queries to add. * @return This builder for chaining. */ - public Builder addQueries( - java.lang.String value) { + public Builder addQueries(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); + throw new NullPointerException(); + } + ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @param values The queries to add. * @return This builder for chaining. */ - public Builder addAllQueries( - java.lang.Iterable values) { + public Builder addAllQueries(java.lang.Iterable values) { ensureQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queries_); onChanged(); return this; } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @return This builder for chaining. */ public Builder clearQueries() { @@ -1040,28 +1153,30 @@ public Builder clearQueries() { return this; } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @param value The bytes of the queries to add. * @return This builder for chaining. */ - public Builder addQueriesBytes( - com.google.protobuf.ByteString value) { + public Builder addQueriesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1071,12 +1186,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(); } @@ -1085,27 +1200,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; @@ -1120,6 +1235,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 262f4cfa9d..902eca84de 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java +++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; /** + * + * *
  * Encodes a query saved in the bundle.
  * 
* * Protobuf type {@code google.firestore.bundle.BundledQuery} */ -public final class BundledQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BundledQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundledQuery) BundledQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BundledQuery.newBuilder() to construct. private BundledQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BundledQuery() { parent_ = ""; limitType_ = 0; @@ -26,30 +44,33 @@ private BundledQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BundledQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundledQuery.class, com.google.firestore.bundle.BundledQuery.Builder.class); + com.google.firestore.bundle.BundledQuery.class, + com.google.firestore.bundle.BundledQuery.Builder.class); } /** + * + * *
    * If the query is a limit query, should the limit be applied to the beginning or
    * the end of results.
@@ -57,29 +78,19 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.firestore.bundle.BundledQuery.LimitType}
    */
-  public enum LimitType
-      implements com.google.protobuf.ProtocolMessageEnum {
-    /**
-     * FIRST = 0;
-     */
+  public enum LimitType implements com.google.protobuf.ProtocolMessageEnum {
+    /** FIRST = 0; */
     FIRST(0),
-    /**
-     * LAST = 1;
-     */
+    /** LAST = 1; */
     LAST(1),
     UNRECOGNIZED(-1),
     ;
 
-    /**
-     * FIRST = 0;
-     */
+    /** FIRST = 0; */
     public static final int FIRST_VALUE = 0;
-    /**
-     * LAST = 1;
-     */
+    /** LAST = 1; */
     public static final int LAST_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -104,48 +115,47 @@ public static LimitType valueOf(int value) {
      */
     public static LimitType forNumber(int value) {
       switch (value) {
-        case 0: return FIRST;
-        case 1: return LAST;
-        default: return null;
+        case 0:
+          return FIRST;
+        case 1:
+          return LAST;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        LimitType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public LimitType findValueByNumber(int number) {
-              return LimitType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public LimitType findValueByNumber(int number) {
+            return LimitType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.firestore.bundle.BundledQuery.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final LimitType[] VALUES = values();
 
-    public static LimitType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static LimitType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -164,12 +174,15 @@ private LimitType(int value) {
 
   private int queryTypeCase_ = 0;
   private java.lang.Object queryType_;
+
   public enum QueryTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     STRUCTURED_QUERY(2),
     QUERYTYPE_NOT_SET(0);
     private final int value;
+
     private QueryTypeCase(int value) {
       this.value = value;
     }
@@ -185,30 +198,35 @@ public static QueryTypeCase valueOf(int value) {
 
     public static QueryTypeCase forNumber(int value) {
       switch (value) {
-        case 2: return STRUCTURED_QUERY;
-        case 0: return QUERYTYPE_NOT_SET;
-        default: return null;
+        case 2:
+          return STRUCTURED_QUERY;
+        case 0:
+          return QUERYTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public QueryTypeCase
-  getQueryTypeCase() {
-    return QueryTypeCase.forNumber(
-        queryTypeCase_);
+  public QueryTypeCase getQueryTypeCase() {
+    return QueryTypeCase.forNumber(queryTypeCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * The parent resource name.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -217,29 +235,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 { @@ -249,11 +267,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 @@ -261,21 +282,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.
    * 
@@ -285,7 +311,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(); } @@ -294,22 +320,30 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil private int limitType_; /** * .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() { + @java.lang.Override + public com.google.firestore.bundle.BundledQuery.LimitType getLimitType() { @SuppressWarnings("deprecation") - com.google.firestore.bundle.BundledQuery.LimitType result = com.google.firestore.bundle.BundledQuery.LimitType.valueOf(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.valueOf(limitType_); + return result == null + ? com.google.firestore.bundle.BundledQuery.LimitType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -321,8 +355,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -345,12 +378,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queryTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.firestore.v1.StructuredQuery) queryType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.StructuredQuery) queryType_); } if (limitType_ != com.google.firestore.bundle.BundledQuery.LimitType.FIRST.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, limitType_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, limitType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -360,21 +393,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.bundle.BundledQuery)) { return super.equals(obj); } com.google.firestore.bundle.BundledQuery other = (com.google.firestore.bundle.BundledQuery) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (limitType_ != other.limitType_) return false; if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false; switch (queryTypeCase_) { case 2: - if (!getStructuredQuery() - .equals(other.getStructuredQuery())) return false; + if (!getStructuredQuery().equals(other.getStructuredQuery())) return false; break; case 0: default: @@ -407,130 +438,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(); @@ -547,9 +584,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledQuery_descriptor; } @java.lang.Override @@ -568,7 +605,8 @@ public com.google.firestore.bundle.BundledQuery build() { @java.lang.Override public com.google.firestore.bundle.BundledQuery buildPartial() { - com.google.firestore.bundle.BundledQuery result = new com.google.firestore.bundle.BundledQuery(this); + com.google.firestore.bundle.BundledQuery result = + new com.google.firestore.bundle.BundledQuery(this); result.parent_ = parent_; if (queryTypeCase_ == 2) { if (structuredQueryBuilder_ == null) { @@ -587,38 +625,39 @@ public com.google.firestore.bundle.BundledQuery 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.bundle.BundledQuery) { - return mergeFrom((com.google.firestore.bundle.BundledQuery)other); + return mergeFrom((com.google.firestore.bundle.BundledQuery) other); } else { super.mergeFrom(other); return this; @@ -635,13 +674,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(); @@ -669,29 +710,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getStructuredQueryFieldBuilder().getBuilder(), - extensionRegistry); - queryTypeCase_ = 2; - break; - } // case 18 - case 24: { - limitType_ = input.readEnum(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getStructuredQueryFieldBuilder().getBuilder(), extensionRegistry); + queryTypeCase_ = 2; + break; + } // case 18 + case 24: + { + limitType_ = input.readEnum(); + + 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) { @@ -701,12 +744,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() { @@ -716,21 +759,22 @@ public Builder clearQueryType() { return this; } - 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; @@ -739,20 +783,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 { @@ -760,67 +805,80 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The parent resource name.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } 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 @@ -828,11 +886,14 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override @@ -850,6 +911,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
      * A structured query.
      * 
@@ -870,6 +933,8 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** + * + * *
      * A structured query.
      * 
@@ -888,6 +953,8 @@ public Builder setStructuredQuery( return this; } /** + * + * *
      * A structured query.
      * 
@@ -896,10 +963,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; } @@ -915,6 +985,8 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** + * + * *
      * A structured query.
      * 
@@ -938,6 +1010,8 @@ public Builder clearStructuredQuery() { return this; } /** + * + * *
      * A structured query.
      * 
@@ -948,6 +1022,8 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** + * + * *
      * A structured query.
      * 
@@ -966,6 +1042,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** + * + * *
      * A structured query.
      * 
@@ -973,55 +1051,69 @@ 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()); queryType_ = null; } queryTypeCase_ = 2; - onChanged();; + onChanged(); + ; return structuredQueryBuilder_; } 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. */ public Builder setLimitTypeValue(int value) { - + limitType_ = value; onChanged(); return this; } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; + * * @return The limitType. */ @java.lang.Override public com.google.firestore.bundle.BundledQuery.LimitType getLimitType() { @SuppressWarnings("deprecation") - com.google.firestore.bundle.BundledQuery.LimitType result = com.google.firestore.bundle.BundledQuery.LimitType.valueOf(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.valueOf(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. */ @@ -1029,24 +1121,25 @@ public Builder setLimitType(com.google.firestore.bundle.BundledQuery.LimitType v if (value == null) { throw new NullPointerException(); } - + limitType_ = value.getNumber(); onChanged(); return this; } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; + * * @return This builder for chaining. */ public Builder clearLimitType() { - + limitType_ = 0; 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); } @@ -1056,12 +1149,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(); } @@ -1070,27 +1163,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; @@ -1105,6 +1198,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 68ff233d88..baea728d22 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 72% 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 cfd7c7be03..2d6bb9ec2b 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,47 +28,51 @@
  *
  * Protobuf type {@code google.firestore.bundle.NamedQuery}
  */
-public final class NamedQuery extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NamedQuery extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.bundle.NamedQuery)
     NamedQueryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NamedQuery.newBuilder() to construct.
   private NamedQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NamedQuery() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NamedQuery();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.bundle.BundleProto
+        .internal_static_google_firestore_bundle_NamedQuery_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable
+    return com.google.firestore.bundle.BundleProto
+        .internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.bundle.NamedQuery.class, com.google.firestore.bundle.NamedQuery.Builder.class);
+            com.google.firestore.bundle.NamedQuery.class,
+            com.google.firestore.bundle.NamedQuery.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   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
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -67,14 +89,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
@@ -82,16 +105,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 { @@ -102,11 +124,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 @@ -114,18 +139,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.
    * 
@@ -140,12 +172,15 @@ public com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilde 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 @@ -153,12 +188,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 @@ -166,6 +204,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.
@@ -179,6 +219,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -190,8 +231,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -214,12 +254,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;
@@ -229,24 +267,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;
@@ -274,97 +309,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.
@@ -372,33 +414,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();
@@ -420,9 +461,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
@@ -441,7 +482,8 @@ public com.google.firestore.bundle.NamedQuery build() {
 
     @java.lang.Override
     public com.google.firestore.bundle.NamedQuery buildPartial() {
-      com.google.firestore.bundle.NamedQuery result = new com.google.firestore.bundle.NamedQuery(this);
+      com.google.firestore.bundle.NamedQuery result =
+          new com.google.firestore.bundle.NamedQuery(this);
       result.name_ = name_;
       if (bundledQueryBuilder_ == null) {
         result.bundledQuery_ = bundledQuery_;
@@ -461,38 +503,39 @@ public com.google.firestore.bundle.NamedQuery 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.bundle.NamedQuery) {
-        return mergeFrom((com.google.firestore.bundle.NamedQuery)other);
+        return mergeFrom((com.google.firestore.bundle.NamedQuery) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -537,31 +580,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getBundledQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getBundledQueryFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -574,6 +617,8 @@ public Builder mergeFrom(
 
     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
@@ -581,13 +626,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; @@ -596,6 +641,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
@@ -603,15 +650,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 { @@ -619,6 +665,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
@@ -626,20 +674,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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
@@ -647,15 +697,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); 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
@@ -663,16 +716,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -680,34 +733,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 bundledQueryBuilder_ != null || bundledQuery_ != null; } /** + * + * *
      * 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.
      * 
@@ -728,6 +794,8 @@ public Builder setBundledQuery(com.google.firestore.bundle.BundledQuery value) { return this; } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -746,6 +814,8 @@ public Builder setBundledQuery( return this; } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -756,7 +826,9 @@ public Builder mergeBundledQuery(com.google.firestore.bundle.BundledQuery value) if (bundledQueryBuilder_ == null) { if (bundledQuery_ != null) { bundledQuery_ = - com.google.firestore.bundle.BundledQuery.newBuilder(bundledQuery_).mergeFrom(value).buildPartial(); + com.google.firestore.bundle.BundledQuery.newBuilder(bundledQuery_) + .mergeFrom(value) + .buildPartial(); } else { bundledQuery_ = value; } @@ -768,6 +840,8 @@ public Builder mergeBundledQuery(com.google.firestore.bundle.BundledQuery value) return this; } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -786,6 +860,8 @@ public Builder clearBundledQuery() { return this; } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -793,11 +869,13 @@ public Builder clearBundledQuery() { * .google.firestore.bundle.BundledQuery bundled_query = 2; */ public com.google.firestore.bundle.BundledQuery.Builder getBundledQueryBuilder() { - + onChanged(); return getBundledQueryFieldBuilder().getBuilder(); } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -808,11 +886,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.
      * 
@@ -820,14 +901,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_; @@ -835,26 +919,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 readTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getReadTime() { @@ -865,6 +958,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.
@@ -886,6 +981,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.
@@ -893,8 +990,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();
         onChanged();
@@ -905,6 +1001,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.
@@ -916,7 +1014,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -928,6 +1026,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.
@@ -947,6 +1047,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.
@@ -955,11 +1057,13 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-      
+
       onChanged();
       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.
@@ -971,11 +1075,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.
@@ -984,21 +1089,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);
     }
 
@@ -1008,12 +1116,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();
   }
@@ -1022,27 +1130,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;
@@ -1057,6 +1165,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 3b46318cd7..ff64d398f0 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/aggregation_result.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The result of a single bucket from a Firestore aggregation query.
  * The keys of `aggregate_fields` are the same for all results in an aggregation
@@ -13,71 +30,75 @@
  *
  * Protobuf type {@code google.firestore.v1.AggregationResult}
  */
-public final class AggregationResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AggregationResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.AggregationResult)
     AggregationResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AggregationResult.newBuilder() to construct.
   private AggregationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AggregationResult() {
-  }
+
+  private AggregationResult() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AggregationResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.AggregationResultProto
+        .internal_static_google_firestore_v1_AggregationResult_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 2:
         return internalGetAggregateFields();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
+    return com.google.firestore.v1.AggregationResultProto
+        .internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.AggregationResult.class, com.google.firestore.v1.AggregationResult.Builder.class);
+            com.google.firestore.v1.AggregationResult.class,
+            com.google.firestore.v1.AggregationResult.Builder.class);
   }
 
   public static final int AGGREGATE_FIELDS_FIELD_NUMBER = 2;
+
   private static final class AggregateFieldsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.firestore.v1.Value> defaultEntry =
+    static final com.google.protobuf.MapEntry
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.firestore.v1.Value.getDefaultInstance());
-  }
-  private com.google.protobuf.MapField<
-      java.lang.String, com.google.firestore.v1.Value> aggregateFields_;
+                .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());
+  }
+
+  private com.google.protobuf.MapField
+      aggregateFields_;
+
   private com.google.protobuf.MapField
-  internalGetAggregateFields() {
+      internalGetAggregateFields() {
     if (aggregateFields_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           AggregateFieldsDefaultEntryHolder.defaultEntry);
@@ -89,6 +110,8 @@ public int getAggregateFieldsCount() {
     return internalGetAggregateFields().getMap().size();
   }
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -98,22 +121,22 @@ public int getAggregateFieldsCount() {
    *
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
-
   @java.lang.Override
-  public boolean containsAggregateFields(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAggregateFields(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAggregateFields().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAggregateFieldsMap()} instead.
-   */
+  /** Use {@link #getAggregateFieldsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAggregateFields() {
     return getAggregateFieldsMap();
   }
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -124,11 +147,12 @@ public java.util.Map getAggrega
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
   @java.lang.Override
-
   public java.util.Map getAggregateFieldsMap() {
     return internalGetAggregateFields().getMap();
   }
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -139,16 +163,18 @@ public java.util.Map getAggrega
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
   @java.lang.Override
-
   public com.google.firestore.v1.Value getAggregateFieldsOrDefault(
-      java.lang.String key,
-      com.google.firestore.v1.Value defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String key, com.google.firestore.v1.Value defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetAggregateFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -159,10 +185,10 @@ public 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)) {
@@ -172,6 +198,7 @@ public com.google.firestore.v1.Value getAggregateFieldsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -183,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,
-        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);
   }
 
@@ -200,15 +222,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;
@@ -218,15 +241,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;
   }
@@ -247,97 +270,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.AggregationResult parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.AggregationResult parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.AggregationResult parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.AggregationResult parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.AggregationResult parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.AggregationResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The result of a single bucket from a Firestore aggregation query.
    * The keys of `aggregate_fields` are the same for all results in an aggregation
@@ -347,55 +377,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();
@@ -404,9 +431,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
@@ -425,7 +452,8 @@ public com.google.firestore.v1.AggregationResult build() {
 
     @java.lang.Override
     public com.google.firestore.v1.AggregationResult buildPartial() {
-      com.google.firestore.v1.AggregationResult result = new com.google.firestore.v1.AggregationResult(this);
+      com.google.firestore.v1.AggregationResult result =
+          new com.google.firestore.v1.AggregationResult(this);
       int from_bitField0_ = bitField0_;
       result.aggregateFields_ = internalGetAggregateFields();
       result.aggregateFields_.makeImmutable();
@@ -437,38 +465,39 @@ public com.google.firestore.v1.AggregationResult 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.v1.AggregationResult) {
-        return mergeFrom((com.google.firestore.v1.AggregationResult)other);
+        return mergeFrom((com.google.firestore.v1.AggregationResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -477,8 +506,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());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -505,20 +533,25 @@ 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());
-              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());
+                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) {
@@ -528,24 +561,29 @@ 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
-    internalGetAggregateFields() {
+        aggregateFields_;
+
+    private com.google.protobuf.MapField
+        internalGetAggregateFields() {
       if (aggregateFields_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             AggregateFieldsDefaultEntryHolder.defaultEntry);
       }
       return aggregateFields_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableAggregateFields() {
-      onChanged();;
+        internalGetMutableAggregateFields() {
+      onChanged();
+      ;
       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();
@@ -557,6 +595,8 @@ public int getAggregateFieldsCount() {
       return internalGetAggregateFields().getMap().size();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -566,22 +606,22 @@ public int getAggregateFieldsCount() {
      *
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
-
     @java.lang.Override
-    public boolean containsAggregateFields(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAggregateFields(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAggregateFields().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAggregateFieldsMap()} instead.
-     */
+    /** Use {@link #getAggregateFieldsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAggregateFields() {
       return getAggregateFieldsMap();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -592,11 +632,12 @@ public java.util.Map getAggrega
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
     @java.lang.Override
-
     public java.util.Map getAggregateFieldsMap() {
       return internalGetAggregateFields().getMap();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -607,16 +648,18 @@ public java.util.Map getAggrega
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
     @java.lang.Override
-
     public com.google.firestore.v1.Value getAggregateFieldsOrDefault(
-        java.lang.String key,
-        com.google.firestore.v1.Value defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.firestore.v1.Value defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetAggregateFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -627,10 +670,10 @@ public 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)) {
@@ -640,11 +683,12 @@ public com.google.firestore.v1.Value getAggregateFieldsOrThrow(
     }
 
     public Builder clearAggregateFields() {
-      internalGetMutableAggregateFields().getMutableMap()
-          .clear();
+      internalGetMutableAggregateFields().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -654,23 +698,22 @@ 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() {
+        getMutableAggregateFields() {
       return internalGetMutableAggregateFields().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -680,19 +723,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableAggregateFields().getMutableMap()
-          .put(key, value);
+      internalGetMutableAggregateFields().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -702,16 +746,14 @@ public Builder putAggregateFields(
      *
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
-
     public Builder putAllAggregateFields(
         java.util.Map values) {
-      internalGetMutableAggregateFields().getMutableMap()
-          .putAll(values);
+      internalGetMutableAggregateFields().getMutableMap().putAll(values);
       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);
     }
 
@@ -721,12 +763,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();
   }
@@ -735,27 +777,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;
@@ -770,6 +812,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 71%
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 ea8a061e6b..9dc8f62f35 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/aggregation_result.proto
 
 package com.google.firestore.v1;
 
-public interface AggregationResultOrBuilder extends
+public interface AggregationResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.AggregationResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -19,6 +37,8 @@ public interface AggregationResultOrBuilder extends
    */
   int getAggregateFieldsCount();
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -28,15 +48,13 @@ public interface AggregationResultOrBuilder extends
    *
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
-  boolean containsAggregateFields(
-      java.lang.String key);
-  /**
-   * Use {@link #getAggregateFieldsMap()} instead.
-   */
+  boolean containsAggregateFields(java.lang.String key);
+  /** Use {@link #getAggregateFieldsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAggregateFields();
+  java.util.Map getAggregateFields();
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -46,9 +64,10 @@ boolean containsAggregateFields(
    *
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
-  java.util.Map
-  getAggregateFieldsMap();
+  java.util.Map getAggregateFieldsMap();
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -60,11 +79,13 @@ boolean containsAggregateFields(
    */
 
   /* nullable */
-com.google.firestore.v1.Value getAggregateFieldsOrDefault(
+  com.google.firestore.v1.Value getAggregateFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.firestore.v1.Value defaultValue);
+      com.google.firestore.v1.Value defaultValue);
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
@@ -74,7 +95,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..c744962091
--- /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\317\001\n\027com.google.firestor"
+          + "e.v1B\026AggregationResultProtoP\001Z
  * An array value.
  * 
* * Protobuf type {@code google.firestore.v1.ArrayValue} */ -public final class ArrayValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArrayValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ArrayValue) ArrayValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArrayValue.newBuilder() to construct. private ArrayValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArrayValue() { values_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArrayValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_ArrayValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_ArrayValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ArrayValue.class, com.google.firestore.v1.ArrayValue.Builder.class); + com.google.firestore.v1.ArrayValue.class, + com.google.firestore.v1.ArrayValue.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; private java.util.List values_; /** + * + * *
    * Values in the array.
    * 
@@ -62,6 +83,8 @@ public java.util.List getValuesList() { return values_; } /** + * + * *
    * Values in the array.
    * 
@@ -69,11 +92,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.
    * 
@@ -85,6 +109,8 @@ public int getValuesCount() { return values_.size(); } /** + * + * *
    * Values in the array.
    * 
@@ -96,6 +122,8 @@ public com.google.firestore.v1.Value getValues(int index) { return values_.get(index); } /** + * + * *
    * Values in the array.
    * 
@@ -103,12 +131,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; @@ -120,8 +148,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)); } @@ -135,8 +162,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; @@ -146,15 +172,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; } @@ -175,130 +200,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(); @@ -313,9 +343,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 @@ -353,38 +383,39 @@ public com.google.firestore.v1.ArrayValue 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.v1.ArrayValue) { - return mergeFrom((com.google.firestore.v1.ArrayValue)other); + return mergeFrom((com.google.firestore.v1.ArrayValue) other); } else { super.mergeFrom(other); return this; @@ -411,9 +442,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_); } @@ -445,25 +477,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) { @@ -473,21 +505,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.
      * 
@@ -502,6 +541,8 @@ public java.util.List getValuesList() { } } /** + * + * *
      * Values in the array.
      * 
@@ -516,6 +557,8 @@ public int getValuesCount() { } } /** + * + * *
      * Values in the array.
      * 
@@ -530,14 +573,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(); @@ -551,14 +595,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()); @@ -569,6 +614,8 @@ public Builder setValues( return this; } /** + * + * *
      * Values in the array.
      * 
@@ -589,14 +636,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(); @@ -610,14 +658,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()); @@ -628,14 +677,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()); @@ -646,6 +696,8 @@ public Builder addValues( return this; } /** + * + * *
      * Values in the array.
      * 
@@ -656,8 +708,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); @@ -665,6 +716,8 @@ public Builder addAllValues( return this; } /** + * + * *
      * Values in the array.
      * 
@@ -682,6 +735,8 @@ public Builder clearValues() { return this; } /** + * + * *
      * Values in the array.
      * 
@@ -699,39 +754,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 { @@ -739,6 +799,8 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder( } } /** + * + * *
      * Values in the array.
      * 
@@ -746,49 +808,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); } @@ -798,12 +864,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(); } @@ -812,27 +878,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; @@ -847,6 +913,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 76% 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 51304344fb..8af96cf0c6 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,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.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
  * 
* * Protobuf type {@code google.firestore.v1.BatchGetDocumentsRequest} */ -public final class BatchGetDocumentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchGetDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchGetDocumentsRequest) BatchGetDocumentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchGetDocumentsRequest.newBuilder() to construct. private BatchGetDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchGetDocumentsRequest() { database_ = ""; documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,39 +44,43 @@ private BatchGetDocumentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchGetDocumentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.BatchGetDocumentsRequest.class, com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class); + com.google.firestore.v1.BatchGetDocumentsRequest.class, + com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; + public enum ConsistencySelectorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(4), NEW_TRANSACTION(5), READ_TIME(7), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; + private ConsistencySelectorCase(int value) { this.value = value; } @@ -74,33 +96,40 @@ 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; 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 @@ -109,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 { @@ -143,6 +172,8 @@ public java.lang.String getDatabase() { public static final int DOCUMENTS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList documents_; /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -151,13 +182,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}`.
@@ -166,12 +199,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}`.
@@ -180,6 +216,7 @@ public int getDocumentsCount() {
    * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -187,6 +224,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}`.
@@ -195,17 +234,19 @@ public java.lang.String getDocuments(int index) {
    * 
* * repeated string documents = 2; + * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - public com.google.protobuf.ByteString - getDocumentsBytes(int index) { + public com.google.protobuf.ByteString getDocumentsBytes(int index) { return documents_.getByteString(index); } public static final int MASK_FIELD_NUMBER = 3; private com.google.firestore.v1.DocumentMask mask_; /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -213,6 +254,7 @@ public java.lang.String getDocuments(int index) {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return Whether the mask field is set. */ @java.lang.Override @@ -220,6 +262,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -227,6 +271,7 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ @java.lang.Override @@ -234,6 +279,8 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -249,11 +296,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 @@ -261,11 +311,14 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** + * + * *
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; + * * @return The transaction. */ @java.lang.Override @@ -278,6 +331,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.
@@ -286,6 +341,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -293,6 +349,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -301,16 +359,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.
@@ -323,19 +384,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 @@ -343,22 +407,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.
@@ -369,12 +438,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;
@@ -386,8 +456,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_);
     }
@@ -398,8 +467,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_);
@@ -428,21 +496,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;
@@ -452,35 +521,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:
@@ -527,130 +591,136 @@ 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].
    * 
* * 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(); @@ -676,9 +746,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 @@ -697,7 +767,8 @@ public com.google.firestore.v1.BatchGetDocumentsRequest build() { @java.lang.Override public com.google.firestore.v1.BatchGetDocumentsRequest buildPartial() { - com.google.firestore.v1.BatchGetDocumentsRequest result = new com.google.firestore.v1.BatchGetDocumentsRequest(this); + com.google.firestore.v1.BatchGetDocumentsRequest result = + new com.google.firestore.v1.BatchGetDocumentsRequest(this); int from_bitField0_ = bitField0_; result.database_ = database_; if (((bitField0_ & 0x00000001) != 0)) { @@ -736,38 +807,39 @@ public com.google.firestore.v1.BatchGetDocumentsRequest 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.v1.BatchGetDocumentsRequest) { - return mergeFrom((com.google.firestore.v1.BatchGetDocumentsRequest)other); + return mergeFrom((com.google.firestore.v1.BatchGetDocumentsRequest) other); } else { super.mergeFrom(other); return this; @@ -775,7 +847,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_; onChanged(); @@ -794,21 +867,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(); @@ -836,49 +913,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - - 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); - - 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(); + + 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); + + 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) { @@ -888,12 +966,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() { @@ -907,19 +985,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; @@ -928,21 +1008,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 { @@ -950,70 +1031,81 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList documents_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDocumentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { documents_ = new com.google.protobuf.LazyStringArrayList(documents_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1022,13 +1114,15 @@ private void ensureDocumentsIsMutable() {
      * 
* * repeated string documents = 2; + * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList - getDocumentsList() { + public com.google.protobuf.ProtocolStringList getDocumentsList() { return documents_.getUnmodifiableView(); } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1037,12 +1131,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}`.
@@ -1051,6 +1148,7 @@ public int getDocumentsCount() {
      * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -1058,6 +1156,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}`.
@@ -1066,14 +1166,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}`.
@@ -1082,21 +1184,23 @@ public java.lang.String getDocuments(int index) {
      * 
* * repeated string documents = 2; + * * @param index The index to set the value at. * @param value The documents to set. * @return This builder for chaining. */ - public Builder setDocuments( - int index, java.lang.String value) { + public Builder setDocuments(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDocumentsIsMutable(); + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); documents_.set(index, value); onChanged(); return this; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1105,20 +1209,22 @@ public Builder setDocuments(
      * 
* * repeated string documents = 2; + * * @param value The documents to add. * @return This builder for chaining. */ - public Builder addDocuments( - java.lang.String value) { + public Builder addDocuments(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDocumentsIsMutable(); + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); documents_.add(value); onChanged(); return this; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1127,18 +1233,19 @@ public Builder addDocuments(
      * 
* * repeated string documents = 2; + * * @param values The documents to add. * @return This builder for chaining. */ - public Builder addAllDocuments( - java.lang.Iterable values) { + public Builder addAllDocuments(java.lang.Iterable values) { ensureDocumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, documents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); onChanged(); return this; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1147,6 +1254,7 @@ public Builder addAllDocuments(
      * 
* * repeated string documents = 2; + * * @return This builder for chaining. */ public Builder clearDocuments() { @@ -1156,6 +1264,8 @@ public Builder clearDocuments() { return this; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1164,15 +1274,15 @@ 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) { + public Builder addDocumentsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDocumentsIsMutable(); documents_.add(value); onChanged(); @@ -1181,8 +1291,13 @@ public Builder addDocumentsBytes( private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + maskBuilder_; /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1190,12 +1305,15 @@ public Builder addDocumentsBytes(
      * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return Whether the mask field is set. */ public boolean hasMask() { return maskBuilder_ != null || mask_ != null; } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1203,6 +1321,7 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1213,6 +1332,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1235,6 +1356,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1243,8 +1366,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();
         onChanged();
@@ -1255,6 +1377,8 @@ public Builder setMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1267,7 +1391,9 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
         if (mask_ != null) {
           mask_ =
-            com.google.firestore.v1.DocumentMask.newBuilder(mask_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.DocumentMask.newBuilder(mask_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           mask_ = value;
         }
@@ -1279,6 +1405,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1299,6 +1427,8 @@ public Builder clearMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1308,11 +1438,13 @@ public Builder clearMask() {
      * .google.firestore.v1.DocumentMask mask = 3;
      */
     public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
-      
+
       onChanged();
       return getMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1325,11 +1457,12 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ?
-            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1339,36 +1472,45 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
+            com.google.firestore.v1.DocumentMask,
+            com.google.firestore.v1.DocumentMask.Builder,
+            com.google.firestore.v1.DocumentMaskOrBuilder>
         getMaskFieldBuilder() {
       if (maskBuilder_ == null) {
-        maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getMask(),
-                getParentForChildren(),
-                isClean());
+        maskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.DocumentMask,
+                com.google.firestore.v1.DocumentMask.Builder,
+                com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getMask(), getParentForChildren(), isClean());
         mask_ = null;
       }
       return maskBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * Reads documents in a transaction.
      * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** + * + * *
      * Reads documents in a transaction.
      * 
* * bytes transaction = 4; + * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1378,29 +1520,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(); - } - consistencySelectorCase_ = 4; + 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() { @@ -1413,8 +1561,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.
@@ -1423,6 +1576,7 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1430,6 +1584,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1438,6 +1594,7 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return The newTransaction. */ @java.lang.Override @@ -1455,6 +1612,8 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1478,6 +1637,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.
@@ -1499,6 +1660,8 @@ public Builder setNewTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1510,10 +1673,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;
         }
@@ -1529,6 +1696,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.
@@ -1555,6 +1724,8 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1568,6 +1739,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.
@@ -1589,6 +1762,8 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1599,33 +1774,45 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return newTransactionBuilder_;
     }
 
     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 @@ -1633,12 +1820,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 @@ -1656,6 +1846,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1677,6 +1869,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.
@@ -1684,8 +1878,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();
@@ -1696,6 +1889,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1705,10 +1900,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;
         }
@@ -1724,6 +1922,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.
@@ -1748,6 +1948,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1759,6 +1961,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.
@@ -1778,6 +1982,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1786,26 +1992,32 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 7;
-      onChanged();;
+      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);
     }
 
@@ -1815,12 +2027,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();
   }
@@ -1829,27 +2041,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;
@@ -1864,6 +2076,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 8705811b40..7c77b6fe6b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
@@ -1,35 +1,58 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BatchGetDocumentsRequestOrBuilder extends
+public interface BatchGetDocumentsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchGetDocumentsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -38,11 +61,13 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * repeated string documents = 2; + * * @return A list containing the documents. */ - java.util.List - getDocumentsList(); + java.util.List getDocumentsList(); /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -51,10 +76,13 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * repeated string documents = 2; + * * @return The count of documents. */ int getDocumentsCount(); /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -63,11 +91,14 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ java.lang.String getDocuments(int index); /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -76,13 +107,15 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * repeated string documents = 2; + * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - com.google.protobuf.ByteString - getDocumentsBytes(int index); + com.google.protobuf.ByteString getDocumentsBytes(int index); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -90,10 +123,13 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return Whether the mask field is set. */ boolean hasMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -101,10 +137,13 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -116,25 +155,33 @@ public interface BatchGetDocumentsRequestOrBuilder extends
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -143,10 +190,13 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -155,10 +205,13 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return The newTransaction. */ com.google.firestore.v1.TransactionOptions getNewTransaction(); /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -171,26 +224,34 @@ public interface BatchGetDocumentsRequestOrBuilder extends
   com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -200,5 +261,6 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    */
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-  public com.google.firestore.v1.BatchGetDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  public com.google.firestore.v1.BatchGetDocumentsRequest.ConsistencySelectorCase
+      getConsistencySelectorCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
similarity index 73%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
index e643184294..c506db8fdd 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,62 +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;
 
 /**
+ *
+ *
  * 
  * The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
  * 
* * Protobuf type {@code google.firestore.v1.BatchGetDocumentsResponse} */ -public final class BatchGetDocumentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchGetDocumentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchGetDocumentsResponse) BatchGetDocumentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchGetDocumentsResponse.newBuilder() to construct. private BatchGetDocumentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchGetDocumentsResponse() { transaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchGetDocumentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.BatchGetDocumentsResponse.class, com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class); + com.google.firestore.v1.BatchGetDocumentsResponse.class, + com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class); } private int resultCase_ = 0; private java.lang.Object result_; + public enum ResultCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FOUND(1), MISSING(2), RESULT_NOT_SET(0); private final int value; + private ResultCase(int value) { this.value = value; } @@ -72,30 +94,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 @@ -103,21 +131,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.
    * 
@@ -127,31 +160,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() { @@ -162,8 +201,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; @@ -172,24 +210,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; } @@ -202,6 +241,8 @@ public java.lang.String getMissing() { public static final int TRANSACTION_FIELD_NUMBER = 3; private com.google.protobuf.ByteString transaction_; /** + * + * *
    * The transaction that was started as part of this request.
    * Will only be set in the first response, and only if
@@ -209,6 +250,7 @@ public java.lang.String getMissing() {
    * 
* * bytes transaction = 3; + * * @return The transaction. */ @java.lang.Override @@ -219,6 +261,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
@@ -227,6 +271,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -234,6 +279,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
@@ -242,6 +289,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ @java.lang.Override @@ -249,6 +297,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
@@ -264,6 +314,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -275,8 +326,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_);
     }
@@ -299,19 +349,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;
@@ -321,29 +370,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:
@@ -383,129 +429,135 @@ 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].
    * 
* * 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 +578,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,7 +599,8 @@ public com.google.firestore.v1.BatchGetDocumentsResponse build() { @java.lang.Override public com.google.firestore.v1.BatchGetDocumentsResponse buildPartial() { - com.google.firestore.v1.BatchGetDocumentsResponse result = new com.google.firestore.v1.BatchGetDocumentsResponse(this); + com.google.firestore.v1.BatchGetDocumentsResponse result = + new com.google.firestore.v1.BatchGetDocumentsResponse(this); if (resultCase_ == 1) { if (foundBuilder_ == null) { result.result_ = result_; @@ -573,38 +626,39 @@ public com.google.firestore.v1.BatchGetDocumentsResponse 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.v1.BatchGetDocumentsResponse) { - return mergeFrom((com.google.firestore.v1.BatchGetDocumentsResponse)other); + return mergeFrom((com.google.firestore.v1.BatchGetDocumentsResponse) other); } else { super.mergeFrom(other); return this; @@ -612,7 +666,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()); } @@ -620,19 +675,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(); @@ -660,37 +718,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(); + 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(); - break; - } // case 26 - case 34: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -700,12 +759,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() { @@ -715,15 +774,20 @@ public Builder clearResult() { return this; } - 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 @@ -731,11 +795,14 @@ public boolean hasFound() { return resultCase_ == 1; } /** + * + * *
      * A document that was requested.
      * 
* * .google.firestore.v1.Document found = 1; + * * @return The found. */ @java.lang.Override @@ -753,6 +820,8 @@ public com.google.firestore.v1.Document getFound() { } } /** + * + * *
      * A document that was requested.
      * 
@@ -773,14 +842,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(); @@ -791,6 +861,8 @@ public Builder setFound( return this; } /** + * + * *
      * A document that was requested.
      * 
@@ -799,10 +871,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; } @@ -818,6 +892,8 @@ public Builder mergeFound(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * A document that was requested.
      * 
@@ -841,6 +917,8 @@ public Builder clearFound() { return this; } /** + * + * *
      * A document that was requested.
      * 
@@ -851,6 +929,8 @@ public com.google.firestore.v1.Document.Builder getFoundBuilder() { return getFoundFieldBuilder().getBuilder(); } /** + * + * *
      * A document that was requested.
      * 
@@ -869,6 +949,8 @@ public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { } } /** + * + * *
      * A document that was requested.
      * 
@@ -876,31 +958,38 @@ 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; - onChanged();; + onChanged(); + ; return foundBuilder_; } /** + * + * *
      * 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 @@ -908,12 +997,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 @@ -923,8 +1015,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; @@ -935,25 +1026,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; } @@ -963,32 +1055,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) { + public Builder setMissing(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - resultCase_ = 2; + 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() { @@ -1000,21 +1097,23 @@ 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) { + public Builder setMissingBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); resultCase_ = 2; result_ = value; onChanged(); @@ -1023,6 +1122,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
@@ -1030,6 +1131,7 @@ public Builder setMissingBytes(
      * 
* * bytes transaction = 3; + * * @return The transaction. */ @java.lang.Override @@ -1037,6 +1139,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
@@ -1044,19 +1148,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(); - } - + throw new NullPointerException(); + } + transaction_ = value; onChanged(); return this; } /** + * + * *
      * The transaction that was started as part of this request.
      * Will only be set in the first response, and only if
@@ -1064,10 +1171,11 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 3; + * * @return This builder for chaining. */ public Builder clearTransaction() { - + transaction_ = getDefaultInstance().getTransaction(); onChanged(); return this; @@ -1075,8 +1183,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
@@ -1085,12 +1198,15 @@ public Builder clearTransaction() {
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1099,6 +1215,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1109,6 +1226,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
@@ -1132,6 +1251,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
@@ -1141,8 +1262,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();
         onChanged();
@@ -1153,6 +1273,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
@@ -1166,7 +1288,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -1178,6 +1300,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
@@ -1199,6 +1323,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
@@ -1209,11 +1335,13 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-      
+
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1227,11 +1355,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
@@ -1242,21 +1371,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);
     }
 
@@ -1266,12 +1398,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();
   }
@@ -1280,27 +1412,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;
@@ -1315,6 +1447,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 d88d09cb64..5f4d582a00 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
@@ -74,11 +108,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
@@ -87,10 +124,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
@@ -99,10 +139,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 e1f6e5d404..a64d65098b 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,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.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
  * 
* * 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(); @@ -26,50 +44,53 @@ private BatchWriteRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchWriteRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchWriteRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.BatchWriteRequest.class, com.google.firestore.v1.BatchWriteRequest.Builder.class); + com.google.firestore.v1.BatchWriteRequest.class, + com.google.firestore.v1.BatchWriteRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; 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 @@ -78,30 +99,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -112,6 +133,8 @@ public java.lang.String getDatabase() { public static final int WRITES_FIELD_NUMBER = 2; private java.util.List writes_; /** + * + * *
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -126,6 +149,8 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -136,11 +161,12 @@ public java.util.List getWritesList() {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public java.util.List 
-      getWritesOrBuilderList() {
+  public java.util.List getWritesOrBuilderList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -155,6 +181,8 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -169,6 +197,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -179,30 +209,28 @@ 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,
+            "");
   }
-  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_;
   }
@@ -211,28 +239,30 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Labels associated with this batch write.
    * 
* * 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.
    * 
@@ -240,11 +270,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 3; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels associated with this batch write.
    * 
@@ -252,16 +283,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, 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.
    * 
@@ -269,12 +300,11 @@ public 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(); } @@ -282,6 +312,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,20 +324,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); } @@ -320,18 +346,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; @@ -341,19 +366,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; } @@ -380,152 +403,156 @@ 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].
    * 
* * 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(); @@ -543,9 +570,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 @@ -564,7 +591,8 @@ 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); int from_bitField0_ = bitField0_; result.database_ = database_; if (writesBuilder_ == null) { @@ -586,38 +614,39 @@ public com.google.firestore.v1.BatchWriteRequest 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.v1.BatchWriteRequest) { - return mergeFrom((com.google.firestore.v1.BatchWriteRequest)other); + return mergeFrom((com.google.firestore.v1.BatchWriteRequest) other); } else { super.mergeFrom(other); return this; @@ -648,16 +677,16 @@ public Builder mergeFrom(com.google.firestore.v1.BatchWriteRequest other) { writesBuilder_ = null; writes_ = other.writes_; bitField0_ = (bitField0_ & ~0x00000001); - 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()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -684,38 +713,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - - 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()); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = input.readStringRequireUtf8(); + + 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()); + 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) { @@ -725,23 +758,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; @@ -750,21 +786,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 { @@ -772,75 +809,88 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; } private java.util.List writes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWritesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writes_ = new java.util.ArrayList(writes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> writesBuilder_; + com.google.firestore.v1.Write, + com.google.firestore.v1.Write.Builder, + com.google.firestore.v1.WriteOrBuilder> + writesBuilder_; /** + * + * *
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -858,6 +908,8 @@ public java.util.List getWritesList() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -875,6 +927,8 @@ public int getWritesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -892,6 +946,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -901,8 +957,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();
@@ -916,6 +971,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -925,8 +982,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());
@@ -937,6 +993,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -960,6 +1018,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -969,8 +1029,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();
@@ -984,6 +1043,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -993,8 +1054,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());
@@ -1005,6 +1065,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1014,8 +1076,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());
@@ -1026,6 +1087,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1039,8 +1102,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);
@@ -1048,6 +1110,8 @@ public Builder addAllWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1068,6 +1132,8 @@ public Builder clearWrites() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1088,6 +1154,8 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1097,11 +1165,12 @@ public Builder removeWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder getWritesBuilder(
-        int index) {
+    public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
       return getWritesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1111,14 +1180,16 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
       if (writesBuilder_ == null) {
-        return writes_.get(index);  } else {
+        return writes_.get(index);
+      } else {
         return writesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1128,8 +1199,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 {
@@ -1137,6 +1208,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1147,10 +1220,11 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
      * repeated .google.firestore.v1.Write writes = 2;
      */
     public com.google.firestore.v1.Write.Builder addWritesBuilder() {
-      return getWritesFieldBuilder().addBuilder(
-          com.google.firestore.v1.Write.getDefaultInstance());
+      return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1160,12 +1234,13 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder addWritesBuilder(
-        int index) {
-      return getWritesFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.Write.getDefaultInstance());
+    public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
+      return getWritesFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1175,41 +1250,42 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 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() {
-      onChanged();;
+        internalGetMutableLabels() {
+      onChanged();
+      ;
       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();
@@ -1221,28 +1297,30 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this batch write.
      * 
* * 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.
      * 
@@ -1250,11 +1328,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 3; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this batch write.
      * 
@@ -1262,16 +1341,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, 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.
      * 
@@ -1279,12 +1359,11 @@ public 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(); } @@ -1292,69 +1371,66 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - 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() { 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); 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); 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); } @@ -1364,12 +1440,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(); } @@ -1378,27 +1454,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; @@ -1413,6 +1489,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 86c2030e02..c4ca51edc8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface BatchWriteRequestOrBuilder extends +public interface BatchWriteRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchWriteRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -39,9 +62,10 @@ public interface BatchWriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List 
-      getWritesList();
+  java.util.List getWritesList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -53,6 +77,8 @@ public interface BatchWriteRequestOrBuilder extends
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -64,6 +90,8 @@ public interface BatchWriteRequestOrBuilder extends
    */
   int getWritesCount();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -73,9 +101,10 @@ public interface BatchWriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List 
-      getWritesOrBuilderList();
+  java.util.List getWritesOrBuilderList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -85,10 +114,11 @@ public interface BatchWriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-      int index);
+  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Labels associated with this batch write.
    * 
@@ -97,30 +127,31 @@ com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder( */ int getLabelsCount(); /** + * + * *
    * Labels associated with this batch write.
    * 
* * map<string, string> labels = 3; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Labels associated with this batch write.
    * 
* * map<string, string> labels = 3; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels associated with this batch write.
    * 
@@ -129,18 +160,18 @@ boolean containsLabels( */ /* 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 c26d3edc2e..cab75307d6 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,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 from [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
  * 
* * 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(); @@ -26,32 +44,35 @@ private BatchWriteResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchWriteResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchWriteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.BatchWriteResponse.class, com.google.firestore.v1.BatchWriteResponse.Builder.class); + com.google.firestore.v1.BatchWriteResponse.class, + com.google.firestore.v1.BatchWriteResponse.Builder.class); } public static final int WRITE_RESULTS_FIELD_NUMBER = 1; private java.util.List writeResults_; /** + * + * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -65,6 +86,8 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -74,11 +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.
    * This i-th write result corresponds to the i-th write in the
@@ -92,6 +117,8 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -105,6 +132,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -114,14 +143,15 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-      int index) {
+  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
     return writeResults_.get(index);
   }
 
   public static final int STATUS_FIELD_NUMBER = 2;
   private java.util.List status_;
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -135,6 +165,8 @@ public java.util.List getStatusList() {
     return status_;
   }
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -144,11 +176,12 @@ public java.util.List getStatusList() {
    * repeated .google.rpc.Status status = 2;
    */
   @java.lang.Override
-  public java.util.List 
-      getStatusOrBuilderList() {
+  public java.util.List getStatusOrBuilderList() {
     return status_;
   }
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -162,6 +195,8 @@ public int getStatusCount() {
     return status_.size();
   }
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -175,6 +210,8 @@ public com.google.rpc.Status getStatus(int index) {
     return status_.get(index);
   }
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -184,12 +221,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;
@@ -201,8 +238,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));
     }
@@ -219,12 +255,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;
@@ -234,17 +268,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;
   }
@@ -269,130 +302,136 @@ 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].
    * 
* * 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(); @@ -414,9 +453,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 @@ -435,7 +474,8 @@ 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); int from_bitField0_ = bitField0_; if (writeResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -463,38 +503,39 @@ public com.google.firestore.v1.BatchWriteResponse 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.v1.BatchWriteResponse) { - return mergeFrom((com.google.firestore.v1.BatchWriteResponse)other); + return mergeFrom((com.google.firestore.v1.BatchWriteResponse) other); } else { super.mergeFrom(other); return this; @@ -521,9 +562,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_); } @@ -547,9 +589,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_); } @@ -581,38 +624,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) { @@ -622,21 +665,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List writeResults_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWriteResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writeResults_ = new java.util.ArrayList(writeResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> writeResultsBuilder_; + com.google.firestore.v1.WriteResult, + com.google.firestore.v1.WriteResult.Builder, + com.google.firestore.v1.WriteResultOrBuilder> + writeResultsBuilder_; /** + * + * *
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -653,6 +703,8 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -669,6 +721,8 @@ public int getWriteResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -685,6 +739,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -693,8 +749,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();
@@ -708,6 +763,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -728,6 +785,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -750,6 +809,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -758,8 +819,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();
@@ -773,6 +833,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -781,8 +843,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());
@@ -793,6 +854,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -813,6 +876,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -825,8 +890,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);
@@ -834,6 +898,8 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -853,6 +919,8 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -872,6 +940,8 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -880,11 +950,12 @@ public Builder removeWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) {
       return getWriteResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -893,14 +964,16 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
       if (writeResultsBuilder_ == null) {
-        return writeResults_.get(index);  } else {
+        return writeResults_.get(index);
+      } else {
         return writeResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -909,8 +982,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 {
@@ -918,6 +991,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -927,10 +1002,12 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
     public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
-      return getWriteResultsFieldBuilder().addBuilder(
-          com.google.firestore.v1.WriteResult.getDefaultInstance());
+      return getWriteResultsFieldBuilder()
+          .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -939,12 +1016,13 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
-        int index) {
-      return getWriteResultsFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.WriteResult.getDefaultInstance());
+    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) {
+      return getWriteResultsFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -953,38 +1031,44 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public java.util.List 
-         getWriteResultsBuilderList() {
+    public java.util.List
+        getWriteResultsBuilderList() {
       return getWriteResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> 
+            com.google.firestore.v1.WriteResult,
+            com.google.firestore.v1.WriteResult.Builder,
+            com.google.firestore.v1.WriteResultOrBuilder>
         getWriteResultsFieldBuilder() {
       if (writeResultsBuilder_ == null) {
-        writeResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder>(
-                writeResults_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        writeResultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.firestore.v1.WriteResult,
+                com.google.firestore.v1.WriteResult.Builder,
+                com.google.firestore.v1.WriteResultOrBuilder>(
+                writeResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         writeResults_ = null;
       }
       return writeResultsBuilder_;
     }
 
-    private java.util.List status_ =
-      java.util.Collections.emptyList();
+    private java.util.List status_ = java.util.Collections.emptyList();
+
     private void ensureStatusIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         status_ = new java.util.ArrayList(status_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        statusBuilder_;
 
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1001,6 +1085,8 @@ public java.util.List getStatusList() {
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1017,6 +1103,8 @@ public int getStatusCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1033,6 +1121,8 @@ public com.google.rpc.Status getStatus(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1041,8 +1131,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();
@@ -1056,6 +1145,8 @@ public Builder setStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1064,8 +1155,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());
@@ -1076,6 +1166,8 @@ public Builder setStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1098,6 +1190,8 @@ public Builder addStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1106,8 +1200,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();
@@ -1121,6 +1214,8 @@ public Builder addStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1129,8 +1224,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());
@@ -1141,6 +1235,8 @@ public Builder addStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1149,8 +1245,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());
@@ -1161,6 +1256,8 @@ public Builder addStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1169,12 +1266,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);
@@ -1182,6 +1277,8 @@ public Builder addAllStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1201,6 +1298,8 @@ public Builder clearStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1220,6 +1319,8 @@ public Builder removeStatus(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1228,11 +1329,12 @@ public Builder removeStatus(int index) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public com.google.rpc.Status.Builder getStatusBuilder(
-        int index) {
+    public com.google.rpc.Status.Builder getStatusBuilder(int index) {
       return getStatusFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1241,14 +1343,16 @@ public com.google.rpc.Status.Builder getStatusBuilder(
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public com.google.rpc.StatusOrBuilder getStatusOrBuilder(
-        int index) {
+    public com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index) {
       if (statusBuilder_ == null) {
-        return status_.get(index);  } else {
+        return status_.get(index);
+      } else {
         return statusBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1257,8 +1361,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 {
@@ -1266,6 +1369,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1275,10 +1380,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder(
      * repeated .google.rpc.Status status = 2;
      */
     public com.google.rpc.Status.Builder addStatusBuilder() {
-      return getStatusFieldBuilder().addBuilder(
-          com.google.rpc.Status.getDefaultInstance());
+      return getStatusFieldBuilder().addBuilder(com.google.rpc.Status.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1287,12 +1393,12 @@ public com.google.rpc.Status.Builder addStatusBuilder() {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public com.google.rpc.Status.Builder addStatusBuilder(
-        int index) {
-      return getStatusFieldBuilder().addBuilder(
-          index, com.google.rpc.Status.getDefaultInstance());
+    public com.google.rpc.Status.Builder addStatusBuilder(int index) {
+      return getStatusFieldBuilder().addBuilder(index, com.google.rpc.Status.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1301,27 +1407,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);
     }
 
@@ -1331,12 +1437,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();
   }
@@ -1345,27 +1451,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;
@@ -1380,6 +1486,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 1d21849cfd..ec5ff4d760 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BatchWriteResponseOrBuilder extends
+public interface BatchWriteResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchWriteResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -16,9 +34,10 @@ public interface BatchWriteResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List 
-      getWriteResultsList();
+  java.util.List getWriteResultsList();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -29,6 +48,8 @@ public interface BatchWriteResponseOrBuilder extends
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -39,6 +60,8 @@ public interface BatchWriteResponseOrBuilder extends
    */
   int getWriteResultsCount();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -47,9 +70,11 @@ public interface BatchWriteResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List 
+  java.util.List
       getWriteResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -58,10 +83,11 @@ public interface BatchWriteResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-      int index);
+  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -70,9 +96,10 @@ com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
    *
    * repeated .google.rpc.Status status = 2;
    */
-  java.util.List 
-      getStatusList();
+  java.util.List getStatusList();
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -83,6 +110,8 @@ com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
    */
   com.google.rpc.Status getStatus(int index);
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -93,6 +122,8 @@ com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
    */
   int getStatusCount();
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -101,9 +132,10 @@ com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
    *
    * repeated .google.rpc.Status status = 2;
    */
-  java.util.List 
-      getStatusOrBuilderList();
+  java.util.List getStatusOrBuilderList();
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -112,6 +144,5 @@ com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
    *
    * repeated .google.rpc.Status status = 2;
    */
-  com.google.rpc.StatusOrBuilder getStatusOrBuilder(
-      int index);
+  com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
index 1ecd23a928..0740d02d9f 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,62 +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;
 
 /**
+ *
+ *
  * 
  * The request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
  * 
* * Protobuf type {@code google.firestore.v1.BeginTransactionRequest} */ -public final class BeginTransactionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BeginTransactionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.BeginTransactionRequest) BeginTransactionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BeginTransactionRequest.newBuilder() to construct. private BeginTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BeginTransactionRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BeginTransactionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.BeginTransactionRequest.class, com.google.firestore.v1.BeginTransactionRequest.Builder.class); + com.google.firestore.v1.BeginTransactionRequest.class, + com.google.firestore.v1.BeginTransactionRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; 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 @@ -65,30 +87,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 { @@ -99,12 +121,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 @@ -112,19 +137,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.
@@ -138,6 +170,7 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder()
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -149,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_);
     }
@@ -170,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;
@@ -181,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;
@@ -217,130 +247,136 @@ 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].
    * 
* * 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(); @@ -356,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 @@ -377,7 +413,8 @@ public com.google.firestore.v1.BeginTransactionRequest build() { @java.lang.Override public com.google.firestore.v1.BeginTransactionRequest buildPartial() { - com.google.firestore.v1.BeginTransactionRequest result = new com.google.firestore.v1.BeginTransactionRequest(this); + com.google.firestore.v1.BeginTransactionRequest result = + new com.google.firestore.v1.BeginTransactionRequest(this); result.database_ = database_; if (optionsBuilder_ == null) { result.options_ = options_; @@ -392,38 +429,39 @@ public com.google.firestore.v1.BeginTransactionRequest 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.v1.BeginTransactionRequest) { - return mergeFrom((com.google.firestore.v1.BeginTransactionRequest)other); + return mergeFrom((com.google.firestore.v1.BeginTransactionRequest) other); } else { super.mergeFrom(other); return this; @@ -431,7 +469,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_; onChanged(); @@ -465,24 +504,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getOptionsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -495,19 +535,21 @@ public Builder mergeFrom( 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; @@ -516,21 +558,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 { @@ -538,57 +581,64 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -596,36 +646,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 optionsBuilder_ != null || options_ != null; } /** + * + * *
      * 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.
@@ -647,6 +710,8 @@ public Builder setOptions(com.google.firestore.v1.TransactionOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -654,8 +719,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();
         onChanged();
@@ -666,6 +730,8 @@ public Builder setOptions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -677,7 +743,9 @@ public Builder mergeOptions(com.google.firestore.v1.TransactionOptions value) {
       if (optionsBuilder_ == null) {
         if (options_ != null) {
           options_ =
-            com.google.firestore.v1.TransactionOptions.newBuilder(options_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.TransactionOptions.newBuilder(options_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           options_ = value;
         }
@@ -689,6 +757,8 @@ public Builder mergeOptions(com.google.firestore.v1.TransactionOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -708,6 +778,8 @@ public Builder clearOptions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -716,11 +788,13 @@ public Builder clearOptions() {
      * .google.firestore.v1.TransactionOptions options = 2;
      */
     public com.google.firestore.v1.TransactionOptions.Builder getOptionsBuilder() {
-      
+
       onChanged();
       return getOptionsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -732,11 +806,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.
@@ -745,21 +822,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);
     }
 
@@ -769,12 +849,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();
   }
@@ -783,27 +863,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;
@@ -818,6 +898,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 b69ce28b7b..bc0db47883 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,61 +1,83 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The response for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
  * 
* * Protobuf type {@code google.firestore.v1.BeginTransactionResponse} */ -public final class BeginTransactionResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BeginTransactionResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.BeginTransactionResponse) BeginTransactionResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BeginTransactionResponse.newBuilder() to construct. private BeginTransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BeginTransactionResponse() { transaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BeginTransactionResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.BeginTransactionResponse.class, com.google.firestore.v1.BeginTransactionResponse.Builder.class); + com.google.firestore.v1.BeginTransactionResponse.class, + com.google.firestore.v1.BeginTransactionResponse.Builder.class); } public static final int TRANSACTION_FIELD_NUMBER = 1; private com.google.protobuf.ByteString transaction_; /** + * + * *
    * The transaction that was started.
    * 
* * bytes transaction = 1; + * * @return The transaction. */ @java.lang.Override @@ -64,6 +86,7 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +98,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_); } @@ -90,8 +112,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; @@ -101,15 +122,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; } @@ -128,130 +149,136 @@ 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].
    * 
* * 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(); @@ -261,9 +288,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 @@ -282,7 +309,8 @@ public com.google.firestore.v1.BeginTransactionResponse build() { @java.lang.Override public com.google.firestore.v1.BeginTransactionResponse buildPartial() { - com.google.firestore.v1.BeginTransactionResponse result = new com.google.firestore.v1.BeginTransactionResponse(this); + com.google.firestore.v1.BeginTransactionResponse result = + new com.google.firestore.v1.BeginTransactionResponse(this); result.transaction_ = transaction_; onBuilt(); return result; @@ -292,38 +320,39 @@ public com.google.firestore.v1.BeginTransactionResponse 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.v1.BeginTransactionResponse) { - return mergeFrom((com.google.firestore.v1.BeginTransactionResponse)other); + return mergeFrom((com.google.firestore.v1.BeginTransactionResponse) other); } else { super.mergeFrom(other); return this; @@ -331,7 +360,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()); } @@ -361,17 +391,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - transaction_ = input.readBytes(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + transaction_ = input.readBytes(); + + 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) { @@ -384,11 +416,14 @@ public Builder mergeFrom( 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 @@ -396,40 +431,46 @@ 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(); - } - + throw new NullPointerException(); + } + transaction_ = value; onChanged(); return this; } /** + * + * *
      * The transaction that was started.
      * 
* * bytes transaction = 1; + * * @return This builder for chaining. */ public Builder clearTransaction() { - + transaction_ = getDefaultInstance().getTransaction(); 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); } @@ -439,12 +480,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(); } @@ -453,27 +494,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; @@ -488,6 +529,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/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 5c5c34c6ba..93da77460c 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,38 +45,42 @@ private CommitRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommitRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.CommitRequest.class, com.google.firestore.v1.CommitRequest.Builder.class); + com.google.firestore.v1.CommitRequest.class, + com.google.firestore.v1.CommitRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; private volatile java.lang.Object database_; /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ @java.lang.Override @@ -67,30 +89,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -101,6 +123,8 @@ public java.lang.String getDatabase() { public static final int WRITES_FIELD_NUMBER = 2; private java.util.List writes_; /** + * + * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -113,6 +137,8 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -121,11 +147,12 @@ public java.util.List getWritesList() {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public java.util.List 
-      getWritesOrBuilderList() {
+  public java.util.List getWritesOrBuilderList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -138,6 +165,8 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -150,6 +179,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -158,19 +189,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_;
   /**
+   *
+   *
    * 
    * If set, applies all writes in this transaction, and commits it.
    * 
* * bytes transaction = 3; + * * @return The transaction. */ @java.lang.Override @@ -179,6 +212,7 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,8 +224,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_); } @@ -214,12 +247,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; @@ -229,19 +260,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; } @@ -266,130 +294,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(); @@ -408,9 +441,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 @@ -429,7 +462,8 @@ 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); int from_bitField0_ = bitField0_; result.database_ = database_; if (writesBuilder_ == null) { @@ -450,38 +484,39 @@ public com.google.firestore.v1.CommitRequest 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.v1.CommitRequest) { - return mergeFrom((com.google.firestore.v1.CommitRequest)other); + return mergeFrom((com.google.firestore.v1.CommitRequest) other); } else { super.mergeFrom(other); return this; @@ -512,9 +547,10 @@ public Builder mergeFrom(com.google.firestore.v1.CommitRequest other) { writesBuilder_ = null; writes_ = other.writes_; bitField0_ = (bitField0_ & ~0x00000001); - writesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWritesFieldBuilder() : null; + writesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWritesFieldBuilder() + : null; } else { writesBuilder_.addAllMessages(other.writes_); } @@ -549,35 +585,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); + case 10: + { + database_ = input.readStringRequireUtf8(); - 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(); + 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(); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -587,23 +625,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; @@ -612,21 +653,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 { @@ -634,75 +676,88 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; } private java.util.List writes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWritesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writes_ = new java.util.ArrayList(writes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> writesBuilder_; + com.google.firestore.v1.Write, + com.google.firestore.v1.Write.Builder, + com.google.firestore.v1.WriteOrBuilder> + writesBuilder_; /** + * + * *
      * The writes to apply.
      * Always executed atomically and in order.
@@ -718,6 +773,8 @@ public java.util.List getWritesList() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -733,6 +790,8 @@ public int getWritesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -748,6 +807,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -755,8 +816,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();
@@ -770,6 +830,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -777,8 +839,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());
@@ -789,6 +850,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -810,6 +873,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -817,8 +882,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();
@@ -832,6 +896,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -839,8 +905,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());
@@ -851,6 +916,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -858,8 +925,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());
@@ -870,6 +936,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -881,8 +949,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);
@@ -890,6 +957,8 @@ public Builder addAllWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -908,6 +977,8 @@ public Builder clearWrites() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -926,6 +997,8 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -933,11 +1006,12 @@ public Builder removeWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder getWritesBuilder(
-        int index) {
+    public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
       return getWritesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -945,14 +1019,16 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
       if (writesBuilder_ == null) {
-        return writes_.get(index);  } else {
+        return writes_.get(index);
+      } else {
         return writesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -960,8 +1036,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 {
@@ -969,6 +1045,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -977,10 +1055,11 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
      * repeated .google.firestore.v1.Write writes = 2;
      */
     public com.google.firestore.v1.Write.Builder addWritesBuilder() {
-      return getWritesFieldBuilder().addBuilder(
-          com.google.firestore.v1.Write.getDefaultInstance());
+      return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -988,12 +1067,13 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder addWritesBuilder(
-        int index) {
-      return getWritesFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.Write.getDefaultInstance());
+    public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
+      return getWritesFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1001,20 +1081,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_ & 0x00000001) != 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_ & 0x00000001) != 0), getParentForChildren(), isClean());
         writes_ = null;
       }
       return writesBuilder_;
@@ -1022,11 +1104,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 @@ -1034,40 +1119,46 @@ 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(); - } - + throw new NullPointerException(); + } + transaction_ = value; 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() { - + transaction_ = getDefaultInstance().getTransaction(); 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); } @@ -1077,12 +1168,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(); } @@ -1091,27 +1182,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; @@ -1126,6 +1217,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 97e9470c1b..2d72b4b202 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface CommitRequestOrBuilder extends +public interface CommitRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.CommitRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -37,9 +60,10 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List 
-      getWritesList();
+  java.util.List getWritesList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -49,6 +73,8 @@ public interface CommitRequestOrBuilder extends
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -58,6 +84,8 @@ public interface CommitRequestOrBuilder extends
    */
   int getWritesCount();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -65,9 +93,10 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List 
-      getWritesOrBuilderList();
+  java.util.List getWritesOrBuilderList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -75,15 +104,17 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-      int index);
+  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If set, applies all writes in this transaction, and commits it.
    * 
* * bytes transaction = 3; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java index c070342fda..60cc18c0af 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,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
  * 
* * Protobuf type {@code google.firestore.v1.CommitResponse} */ -public final class CommitResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommitResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.CommitResponse) CommitResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommitResponse.newBuilder() to construct. private CommitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommitResponse() { writeResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommitResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.CommitResponse.class, com.google.firestore.v1.CommitResponse.Builder.class); + com.google.firestore.v1.CommitResponse.class, + com.google.firestore.v1.CommitResponse.Builder.class); } public static final int WRITE_RESULTS_FIELD_NUMBER = 1; private java.util.List writeResults_; /** + * + * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -64,6 +85,8 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -73,11 +96,13 @@ public java.util.List getWriteResultsList()
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getWriteResultsOrBuilderList() {
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -91,6 +116,8 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -104,6 +131,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -113,20 +142,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 @@ -134,12 +165,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 @@ -147,6 +181,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.
@@ -160,6 +196,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -171,8 +208,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));
     }
@@ -189,12 +225,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;
@@ -204,19 +238,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;
@@ -242,130 +274,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(); @@ -386,9 +424,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 @@ -407,7 +445,8 @@ 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); int from_bitField0_ = bitField0_; if (writeResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -431,38 +470,39 @@ public com.google.firestore.v1.CommitResponse 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.v1.CommitResponse) { - return mergeFrom((com.google.firestore.v1.CommitResponse)other); + return mergeFrom((com.google.firestore.v1.CommitResponse) other); } else { super.mergeFrom(other); return this; @@ -489,9 +529,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_); } @@ -526,32 +567,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); + 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); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -561,21 +602,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List writeResults_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWriteResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writeResults_ = new java.util.ArrayList(writeResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> writeResultsBuilder_; + com.google.firestore.v1.WriteResult, + com.google.firestore.v1.WriteResult.Builder, + com.google.firestore.v1.WriteResultOrBuilder> + writeResultsBuilder_; /** + * + * *
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -592,6 +640,8 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -608,6 +658,8 @@ public int getWriteResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -624,6 +676,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -632,8 +686,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();
@@ -647,6 +700,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -667,6 +722,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -689,6 +746,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -697,8 +756,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();
@@ -712,6 +770,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -720,8 +780,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());
@@ -732,6 +791,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -752,6 +813,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -764,8 +827,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);
@@ -773,6 +835,8 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -792,6 +856,8 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -811,6 +877,8 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -819,11 +887,12 @@ public Builder removeWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) {
       return getWriteResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -832,14 +901,16 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
       if (writeResultsBuilder_ == null) {
-        return writeResults_.get(index);  } else {
+        return writeResults_.get(index);
+      } else {
         return writeResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -848,8 +919,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 {
@@ -857,6 +928,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -866,10 +939,12 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
     public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
-      return getWriteResultsFieldBuilder().addBuilder(
-          com.google.firestore.v1.WriteResult.getDefaultInstance());
+      return getWriteResultsFieldBuilder()
+          .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -878,12 +953,13 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
-        int index) {
-      return getWriteResultsFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.WriteResult.getDefaultInstance());
+    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) {
+      return getWriteResultsFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -892,20 +968,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_;
@@ -913,36 +992,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 commitTimeBuilder_ != null || 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. */ 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.
@@ -964,6 +1056,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.
@@ -971,8 +1065,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();
         onChanged();
@@ -983,6 +1076,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.
@@ -994,7 +1089,7 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
         if (commitTime_ != null) {
           commitTime_ =
-            com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial();
         } else {
           commitTime_ = value;
         }
@@ -1006,6 +1101,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.
@@ -1025,6 +1122,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.
@@ -1033,11 +1132,13 @@ public Builder clearCommitTime() {
      * .google.protobuf.Timestamp commit_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
-      
+
       onChanged();
       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.
@@ -1049,11 +1150,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.
@@ -1062,21 +1166,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);
     }
 
@@ -1086,12 +1193,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();
   }
@@ -1100,27 +1207,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;
@@ -1135,6 +1242,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 983f0cd940..76745e1248 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface CommitResponseOrBuilder extends
+public interface CommitResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.CommitResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -16,9 +34,10 @@ public interface CommitResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List 
-      getWriteResultsList();
+  java.util.List getWriteResultsList();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -29,6 +48,8 @@ public interface CommitResponseOrBuilder extends
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -39,6 +60,8 @@ public interface CommitResponseOrBuilder extends
    */
   int getWriteResultsCount();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -47,9 +70,11 @@ public interface CommitResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List 
+  java.util.List
       getWriteResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -58,30 +83,37 @@ public interface CommitResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-      int index);
+  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; + * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** + * + * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; + * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** + * + * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java
new file mode 100644
index 0000000000..4ab05e4409
--- /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\304\001\n\027com.google.firestore.v1B\013Co"
+          + "mmonProtoP\001Z
  * The request for [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument].
  * 
* * 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_ = ""; @@ -27,32 +45,35 @@ private CreateDocumentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDocumentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CreateDocumentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CreateDocumentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.CreateDocumentRequest.class, com.google.firestore.v1.CreateDocumentRequest.Builder.class); + com.google.firestore.v1.CreateDocumentRequest.class, + com.google.firestore.v1.CreateDocumentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource. For example:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -68,14 +90,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
@@ -83,16 +106,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,11 +125,14 @@ public java.lang.String getParent() { public static final int COLLECTION_ID_FIELD_NUMBER = 2; 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 @@ -116,29 +141,29 @@ 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 { @@ -149,12 +174,15 @@ public java.lang.String getCollectionId() { public static final int DOCUMENT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object documentId_; /** + * + * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; + * * @return The documentId. */ @java.lang.Override @@ -163,30 +191,30 @@ public java.lang.String getDocumentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); documentId_ = s; return s; } } /** + * + * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; + * * @return The bytes for documentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDocumentIdBytes() { + public com.google.protobuf.ByteString getDocumentIdBytes() { java.lang.Object ref = documentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); documentId_ = b; return b; } else { @@ -197,11 +225,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 @@ -209,11 +241,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 @@ -221,11 +257,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() { @@ -235,6 +274,8 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { public static final int MASK_FIELD_NUMBER = 5; private com.google.firestore.v1.DocumentMask mask_; /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -242,6 +283,7 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
    * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return Whether the mask field is set. */ @java.lang.Override @@ -249,6 +291,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -256,6 +300,7 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return The mask. */ @java.lang.Override @@ -263,6 +308,8 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -277,6 +324,7 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -288,8 +336,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_);
     }
@@ -324,12 +371,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;
@@ -339,28 +384,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;
@@ -392,130 +433,136 @@ 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].
    * 
* * 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(); @@ -541,9 +588,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 @@ -562,7 +609,8 @@ public com.google.firestore.v1.CreateDocumentRequest build() { @java.lang.Override public com.google.firestore.v1.CreateDocumentRequest buildPartial() { - com.google.firestore.v1.CreateDocumentRequest result = new com.google.firestore.v1.CreateDocumentRequest(this); + com.google.firestore.v1.CreateDocumentRequest result = + new com.google.firestore.v1.CreateDocumentRequest(this); result.parent_ = parent_; result.collectionId_ = collectionId_; result.documentId_ = documentId_; @@ -584,38 +632,39 @@ public com.google.firestore.v1.CreateDocumentRequest 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.v1.CreateDocumentRequest) { - return mergeFrom((com.google.firestore.v1.CreateDocumentRequest)other); + return mergeFrom((com.google.firestore.v1.CreateDocumentRequest) other); } else { super.mergeFrom(other); return this; @@ -668,41 +717,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - collectionId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - documentId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - input.readMessage( - getDocumentFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 42: { - input.readMessage( - getMaskFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + collectionId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + documentId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + input.readMessage(getDocumentFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 42: + { + input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -715,6 +766,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -722,13 +775,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; @@ -737,6 +790,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -744,15 +799,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 { @@ -760,6 +814,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -767,20 +823,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -788,15 +846,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -804,16 +865,16 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -821,18 +882,20 @@ 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; @@ -841,20 +904,21 @@ public java.lang.String getCollectionId() { } } /** + * + * *
      * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for collectionId. */ - public com.google.protobuf.ByteString - getCollectionIdBytes() { + public com.google.protobuf.ByteString getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); collectionId_ = b; return b; } else { @@ -862,54 +926,61 @@ 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) { + public Builder setCollectionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + collectionId_ = value; 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() { - + collectionId_ = getDefaultInstance().getCollectionId(); onChanged(); 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) { + public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + collectionId_ = value; onChanged(); return this; @@ -917,19 +988,21 @@ public Builder setCollectionIdBytes( private java.lang.Object documentId_ = ""; /** + * + * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; + * * @return The documentId. */ public java.lang.String getDocumentId() { java.lang.Object ref = documentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); documentId_ = s; return s; @@ -938,21 +1011,22 @@ public java.lang.String getDocumentId() { } } /** + * + * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; + * * @return The bytes for documentId. */ - public com.google.protobuf.ByteString - getDocumentIdBytes() { + public com.google.protobuf.ByteString getDocumentIdBytes() { java.lang.Object ref = documentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); documentId_ = b; return b; } else { @@ -960,57 +1034,64 @@ public java.lang.String getDocumentId() { } } /** + * + * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; + * * @param value The documentId to set. * @return This builder for chaining. */ - public Builder setDocumentId( - java.lang.String value) { + public Builder setDocumentId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + documentId_ = value; onChanged(); return this; } /** + * + * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; + * * @return This builder for chaining. */ public Builder clearDocumentId() { - + documentId_ = getDefaultInstance().getDocumentId(); onChanged(); return this; } /** + * + * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; + * * @param value The bytes for documentId to set. * @return This builder for chaining. */ - public Builder setDocumentIdBytes( - com.google.protobuf.ByteString value) { + public Builder setDocumentIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + documentId_ = value; onChanged(); return this; @@ -1018,39 +1099,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 documentBuilder_ != null || 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. */ 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) { @@ -1066,14 +1163,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(); onChanged(); @@ -1084,17 +1183,22 @@ 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 (document_ != null) { document_ = - com.google.firestore.v1.Document.newBuilder(document_).mergeFrom(value).buildPartial(); + com.google.firestore.v1.Document.newBuilder(document_) + .mergeFrom(value) + .buildPartial(); } else { document_ = value; } @@ -1106,11 +1210,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() { if (documentBuilder_ == null) { @@ -1124,48 +1231,61 @@ 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() { - + onChanged(); 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_; @@ -1173,8 +1293,13 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + maskBuilder_; /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1182,12 +1307,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 maskBuilder_ != null || mask_ != null; } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1195,6 +1323,7 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1205,6 +1334,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1227,6 +1358,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1235,8 +1368,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();
         onChanged();
@@ -1247,6 +1379,8 @@ public Builder setMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1259,7 +1393,9 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
         if (mask_ != null) {
           mask_ =
-            com.google.firestore.v1.DocumentMask.newBuilder(mask_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.DocumentMask.newBuilder(mask_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           mask_ = value;
         }
@@ -1271,6 +1407,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1291,6 +1429,8 @@ public Builder clearMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1300,11 +1440,13 @@ public Builder clearMask() {
      * .google.firestore.v1.DocumentMask mask = 5;
      */
     public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
-      
+
       onChanged();
       return getMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1317,11 +1459,12 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ?
-            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1331,21 +1474,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);
     }
 
@@ -1355,12 +1501,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();
   }
@@ -1369,27 +1515,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;
@@ -1404,6 +1550,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 956d7ef21e..cd1078c2b6 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,81 +47,104 @@ public interface CreateDocumentRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The collectionId. */ java.lang.String getCollectionId(); /** + * + * *
    * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for collectionId. */ - com.google.protobuf.ByteString - getCollectionIdBytes(); + com.google.protobuf.ByteString getCollectionIdBytes(); /** + * + * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; + * * @return The documentId. */ java.lang.String getDocumentId(); /** + * + * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; + * * @return The bytes for documentId. */ - com.google.protobuf.ByteString - getDocumentIdBytes(); + com.google.protobuf.ByteString getDocumentIdBytes(); /** + * + * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the document field is set. */ boolean hasDocument(); /** + * + * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The document. */ com.google.firestore.v1.Document getDocument(); /** + * + * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -108,10 +152,13 @@ public interface CreateDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return Whether the mask field is set. */ boolean hasMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -119,10 +166,13 @@ public interface CreateDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
index 3a1f8b2036..890ebf9ab4 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,49 +1,66 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/query.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A position in a query result set.
  * 
* * Protobuf type {@code google.firestore.v1.Cursor} */ -public final class Cursor extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Cursor extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Cursor) CursorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Cursor.newBuilder() to construct. private Cursor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Cursor() { values_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Cursor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_Cursor_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Cursor.class, com.google.firestore.v1.Cursor.Builder.class); } @@ -51,6 +68,8 @@ protected java.lang.Object newInstance( public static final int VALUES_FIELD_NUMBER = 1; private java.util.List values_; /** + * + * *
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -64,6 +83,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.
@@ -73,11 +94,12 @@ public java.util.List getValuesList() {
    * repeated .google.firestore.v1.Value values = 1;
    */
   @java.lang.Override
-  public java.util.List 
-      getValuesOrBuilderList() {
+  public java.util.List getValuesOrBuilderList() {
     return values_;
   }
   /**
+   *
+   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -91,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 +128,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.
@@ -113,20 +139,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_;
   /**
+   *
+   *
    * 
    * 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 @@ -135,6 +163,7 @@ public boolean getBefore() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,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 { for (int i = 0; i < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } @@ -164,12 +192,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; @@ -179,17 +205,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; } @@ -206,137 +230,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(); @@ -353,9 +380,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 @@ -394,38 +421,39 @@ public com.google.firestore.v1.Cursor 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.v1.Cursor) { - return mergeFrom((com.google.firestore.v1.Cursor)other); + return mergeFrom((com.google.firestore.v1.Cursor) other); } else { super.mergeFrom(other); return this; @@ -452,9 +480,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_); } @@ -489,30 +518,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(); + 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(); - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -522,21 +552,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.
@@ -553,6 +590,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.
@@ -569,6 +608,8 @@ public int getValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -585,6 +626,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.
@@ -593,8 +636,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();
@@ -608,6 +650,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.
@@ -616,8 +660,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());
@@ -628,6 +671,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.
@@ -650,6 +695,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.
@@ -658,8 +705,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();
@@ -673,6 +719,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.
@@ -681,8 +729,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());
@@ -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.
@@ -701,8 +750,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());
@@ -713,6 +761,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.
@@ -725,8 +775,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);
@@ -734,6 +783,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.
@@ -753,6 +804,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.
@@ -772,6 +825,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.
@@ -780,11 +835,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.
@@ -793,14 +849,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.
@@ -809,8 +867,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 {
@@ -818,6 +876,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.
@@ -827,10 +887,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.
@@ -839,12 +900,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.
@@ -853,33 +915,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 @@ -887,39 +954,45 @@ public boolean getBefore() { return before_; } /** + * + * *
      * If the position is just before or just after the given values, relative
      * to the sort order defined by the query.
      * 
* * bool before = 2; + * * @param value The before to set. * @return This builder for chaining. */ public Builder setBefore(boolean value) { - + before_ = value; onChanged(); return this; } /** + * + * *
      * If the position is just before or just after the given values, relative
      * to the sort order defined by the query.
      * 
* * bool before = 2; + * * @return This builder for chaining. */ public Builder clearBefore() { - + before_ = false; 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); } @@ -929,12 +1002,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(); } @@ -943,27 +1016,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; @@ -978,6 +1051,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 f8eadb55f3..0d7526a9d9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/query.proto package com.google.firestore.v1; -public interface CursorOrBuilder extends +public interface CursorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Cursor) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -16,9 +34,10 @@ public interface CursorOrBuilder extends
    *
    * repeated .google.firestore.v1.Value values = 1;
    */
-  java.util.List 
-      getValuesList();
+  java.util.List getValuesList();
   /**
+   *
+   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -29,6 +48,8 @@ public interface CursorOrBuilder extends
    */
   com.google.firestore.v1.Value getValues(int index);
   /**
+   *
+   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -39,6 +60,8 @@ public interface CursorOrBuilder extends
    */
   int getValuesCount();
   /**
+   *
+   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -47,9 +70,10 @@ public interface CursorOrBuilder extends
    *
    * repeated .google.firestore.v1.Value values = 1;
    */
-  java.util.List 
-      getValuesOrBuilderList();
+  java.util.List getValuesOrBuilderList();
   /**
+   *
+   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -58,16 +82,18 @@ public interface CursorOrBuilder extends
    *
    * repeated .google.firestore.v1.Value values = 1;
    */
-  com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(
-      int index);
+  com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If the position is just before or just after the given values, relative
    * to the sort order defined by the query.
    * 
* * bool before = 2; + * * @return The before. */ boolean getBefore(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java index 05856b297d..4d688b6f1b 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,62 +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; /** + * + * *
  * The request for [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument].
  * 
* * Protobuf type {@code google.firestore.v1.DeleteDocumentRequest} */ -public final class DeleteDocumentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDocumentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.DeleteDocumentRequest) DeleteDocumentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDocumentRequest.newBuilder() to construct. private DeleteDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDocumentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDocumentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.DeleteDocumentRequest.class, com.google.firestore.v1.DeleteDocumentRequest.Builder.class); + com.google.firestore.v1.DeleteDocumentRequest.class, + com.google.firestore.v1.DeleteDocumentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; 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 @@ -65,30 +87,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 { @@ -99,12 +121,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 @@ -112,19 +137,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.
@@ -138,6 +170,7 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -149,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_);
     }
@@ -170,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;
@@ -181,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;
@@ -217,130 +247,136 @@ 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].
    * 
* * 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(); @@ -356,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 @@ -377,7 +413,8 @@ public com.google.firestore.v1.DeleteDocumentRequest build() { @java.lang.Override public com.google.firestore.v1.DeleteDocumentRequest buildPartial() { - com.google.firestore.v1.DeleteDocumentRequest result = new com.google.firestore.v1.DeleteDocumentRequest(this); + com.google.firestore.v1.DeleteDocumentRequest result = + new com.google.firestore.v1.DeleteDocumentRequest(this); result.name_ = name_; if (currentDocumentBuilder_ == null) { result.currentDocument_ = currentDocument_; @@ -392,38 +429,39 @@ public com.google.firestore.v1.DeleteDocumentRequest 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.v1.DeleteDocumentRequest) { - return mergeFrom((com.google.firestore.v1.DeleteDocumentRequest)other); + return mergeFrom((com.google.firestore.v1.DeleteDocumentRequest) other); } else { super.mergeFrom(other); return this; @@ -465,24 +503,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getCurrentDocumentFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getCurrentDocumentFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -495,19 +534,21 @@ public Builder mergeFrom( 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; @@ -516,21 +557,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 { @@ -538,57 +580,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -596,36 +645,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 currentDocumentBuilder_ != null || 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. */ 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.
@@ -647,6 +709,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.
@@ -666,6 +730,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.
@@ -677,7 +743,9 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       if (currentDocumentBuilder_ == null) {
         if (currentDocument_ != null) {
           currentDocument_ =
-            com.google.firestore.v1.Precondition.newBuilder(currentDocument_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.Precondition.newBuilder(currentDocument_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           currentDocument_ = value;
         }
@@ -689,6 +757,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.
@@ -708,6 +778,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.
@@ -716,11 +788,13 @@ public Builder clearCurrentDocument() {
      * .google.firestore.v1.Precondition current_document = 2;
      */
     public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder() {
-      
+
       onChanged();
       return getCurrentDocumentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -732,11 +806,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.
@@ -745,21 +822,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);
     }
 
@@ -769,12 +849,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();
   }
@@ -783,27 +863,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;
@@ -818,6 +898,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 71daf63c5c..a51f7eec29 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A Firestore document.
  * Must not exceed 1 MiB - 4 bytes.
@@ -11,52 +28,52 @@
  *
  * Protobuf type {@code google.firestore.v1.Document}
  */
-public final class Document extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Document extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.Document)
     DocumentOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Document.newBuilder() to construct.
   private Document(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Document() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Document();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.DocumentProto
+        .internal_static_google_firestore_v1_Document_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 2:
         return internalGetFields();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_fieldAccessorTable
+    return com.google.firestore.v1.DocumentProto
+        .internal_static_google_firestore_v1_Document_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.firestore.v1.Document.class, com.google.firestore.v1.Document.Builder.class);
   }
@@ -64,12 +81,15 @@ protected com.google.protobuf.MapField internalGetMapField(
   public static final int NAME_FIELD_NUMBER = 1;
   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 @@ -78,30 +98,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 { @@ -110,24 +130,26 @@ 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()); } - 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_; } @@ -136,6 +158,8 @@ public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
    * The document's fields.
    * The map keys represent field names.
@@ -160,22 +184,22 @@ public int getFieldsCount() {
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-
   @java.lang.Override
-  public boolean containsFields(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsFields(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetFields().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getFieldsMap()} instead.
-   */
+  /** Use {@link #getFieldsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getFields() {
     return getFieldsMap();
   }
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -201,11 +225,12 @@ public java.util.Map getFields(
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
   @java.lang.Override
-
   public java.util.Map getFieldsMap() {
     return internalGetFields().getMap();
   }
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -231,16 +256,18 @@ public java.util.Map getFieldsM
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
   @java.lang.Override
-
   public com.google.firestore.v1.Value getFieldsOrDefault(
-      java.lang.String key,
-      com.google.firestore.v1.Value defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String key, com.google.firestore.v1.Value defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -266,10 +293,10 @@ public 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)) {
@@ -281,6 +308,8 @@ public com.google.firestore.v1.Value getFieldsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -289,6 +318,7 @@ public com.google.firestore.v1.Value getFieldsOrThrow(
    * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -296,6 +326,8 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -304,6 +336,7 @@ public boolean hasCreateTime() {
    * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return The createTime. */ @java.lang.Override @@ -311,6 +344,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -328,6 +363,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int UPDATE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp updateTime_;
   /**
+   *
+   *
    * 
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -336,6 +373,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -343,6 +381,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -351,6 +391,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ @java.lang.Override @@ -358,6 +399,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -373,6 +416,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -384,17 +428,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());
     }
@@ -413,23 +452,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;
@@ -439,26 +476,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;
@@ -490,97 +523,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.Document parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.Document parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Document parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.Document parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.firestore.v1.Document parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Document parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Document parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Document parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Document parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Document parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Document parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Document parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Document parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Document parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.Document prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A Firestore document.
    * Must not exceed 1 MiB - 4 bytes.
@@ -588,55 +627,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();
@@ -659,9 +695,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,38 +739,39 @@ public com.google.firestore.v1.Document 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.v1.Document) {
-        return mergeFrom((com.google.firestore.v1.Document)other);
+        return mergeFrom((com.google.firestore.v1.Document) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -747,8 +784,7 @@ public Builder mergeFrom(com.google.firestore.v1.Document other) {
         name_ = other.name_;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(
-          other.internalGetFields());
+      internalGetMutableFields().mergeFrom(other.internalGetFields());
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -781,39 +817,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              fields__ = input.readMessage(
-                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableFields().getMutableMap().put(
-                  fields__.getKey(), fields__.getValue());
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.protobuf.MapEntry
+                    fields__ =
+                        input.readMessage(
+                            FieldsDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableFields()
+                    .getMutableMap()
+                    .put(fields__.getKey(), fields__.getValue());
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -823,23 +863,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; @@ -848,21 +891,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 { @@ -870,78 +914,85 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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() { + 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() { - onChanged();; + internalGetMutableFields() { + onChanged(); + ; if (fields_ == null) { - fields_ = com.google.protobuf.MapField.newMapField( - FieldsDefaultEntryHolder.defaultEntry); + fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); } if (!fields_.isMutable()) { fields_ = fields_.copy(); @@ -953,6 +1004,8 @@ public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
      * The document's fields.
      * The map keys represent field names.
@@ -977,22 +1030,22 @@ public int getFieldsCount() {
      *
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
-
     @java.lang.Override
-    public boolean containsFields(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsFields(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetFields().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getFieldsMap()} instead.
-     */
+    /** Use {@link #getFieldsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getFields() {
       return getFieldsMap();
     }
     /**
+     *
+     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1018,11 +1071,12 @@ public java.util.Map getFields(
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
     @java.lang.Override
-
     public java.util.Map getFieldsMap() {
       return internalGetFields().getMap();
     }
     /**
+     *
+     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1048,16 +1102,18 @@ public java.util.Map getFieldsM
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
     @java.lang.Override
-
     public com.google.firestore.v1.Value getFieldsOrDefault(
-        java.lang.String key,
-        com.google.firestore.v1.Value defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.firestore.v1.Value defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1083,10 +1139,10 @@ public com.google.firestore.v1.Value getFieldsOrDefault(
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
     @java.lang.Override
-
-    public com.google.firestore.v1.Value getFieldsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetFields().getMap();
       if (!map.containsKey(key)) {
@@ -1096,11 +1152,12 @@ public com.google.firestore.v1.Value getFieldsOrThrow(
     }
 
     public Builder clearFields() {
-      internalGetMutableFields().getMutableMap()
-          .clear();
+      internalGetMutableFields().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1125,23 +1182,21 @@ 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() {
       return internalGetMutableFields().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1166,19 +1221,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableFields().getMutableMap()
-          .put(key, value);
+      internalGetMutableFields().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1203,18 +1259,21 @@ public Builder putFields(
      *
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
-
     public Builder putAllFields(
         java.util.Map values) {
-      internalGetMutableFields().getMutableMap()
-          .putAll(values);
+      internalGetMutableFields().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        createTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1223,12 +1282,15 @@ public Builder putAllFields(
      * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1237,16 +1299,21 @@ public boolean hasCreateTime() {
      * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1270,6 +1337,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1279,8 +1348,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();
         onChanged();
@@ -1291,6 +1359,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1304,7 +1374,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
         if (createTime_ != null) {
           createTime_ =
-            com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
         } else {
           createTime_ = value;
         }
@@ -1316,6 +1386,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1337,6 +1409,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1347,11 +1421,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1365,11 +1441,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
       if (createTimeBuilder_ != null) {
         return createTimeBuilder_.getMessageOrBuilder();
       } else {
-        return createTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
+        return createTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : createTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1380,14 +1459,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getCreateTimeFieldBuilder() {
       if (createTimeBuilder_ == null) {
-        createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getCreateTime(),
-                getParentForChildren(),
-                isClean());
+        createTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getCreateTime(), getParentForChildren(), isClean());
         createTime_ = null;
       }
       return createTimeBuilder_;
@@ -1395,8 +1477,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp updateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        updateTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1405,12 +1492,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1419,16 +1509,21 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1452,6 +1547,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1461,8 +1558,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();
         onChanged();
@@ -1473,6 +1569,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1486,7 +1584,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1498,6 +1596,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1519,6 +1619,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1529,11 +1631,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1547,11 +1651,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+        return updateTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : updateTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1562,21 +1669,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(),
-                getParentForChildren(),
-                isClean());
+        updateTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(), getParentForChildren(), isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1586,12 +1696,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.Document)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.Document)
   private static final com.google.firestore.v1.Document DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.Document();
   }
@@ -1600,27 +1710,27 @@ public static com.google.firestore.v1.Document getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Document parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Document parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1635,6 +1745,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 98c2fce240..9464f2194b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A [Document][google.firestore.v1.Document] has changed.
  * May be the result of multiple [writes][google.firestore.v1.Write], including deletes, that
@@ -14,15 +31,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();
@@ -30,38 +48,42 @@ private DocumentChange() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DocumentChange();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.WriteProto
+        .internal_static_google_firestore_v1_DocumentChange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
+    return com.google.firestore.v1.WriteProto
+        .internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DocumentChange.class, com.google.firestore.v1.DocumentChange.Builder.class);
+            com.google.firestore.v1.DocumentChange.class,
+            com.google.firestore.v1.DocumentChange.Builder.class);
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
   private com.google.firestore.v1.Document document_;
   /**
+   *
+   *
    * 
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; + * * @return Whether the document field is set. */ @java.lang.Override @@ -69,12 +91,15 @@ public boolean hasDocument() { return document_ != null; } /** + * + * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; + * * @return The document. */ @java.lang.Override @@ -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].
    * If `mask` is set, contains only fields that were updated or added.
@@ -97,84 +124,103 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
   public static final int TARGET_IDS_FIELD_NUMBER = 5;
   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; 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; @@ -186,8 +232,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()); @@ -216,34 +261,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; } @@ -255,7 +298,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); @@ -264,13 +307,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; } @@ -299,97 +339,104 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.DocumentChange parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.DocumentChange parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.DocumentChange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.DocumentChange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.DocumentChange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.DocumentChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.DocumentChange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.DocumentChange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.DocumentChange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.DocumentChange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.DocumentChange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.DocumentChange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.DocumentChange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.DocumentChange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * May be the result of multiple [writes][google.firestore.v1.Write], including deletes, that
@@ -400,33 +447,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();
@@ -444,9 +490,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
@@ -465,7 +511,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (documentBuilder_ == null) {
         result.document_ = document_;
@@ -490,38 +537,39 @@ public com.google.firestore.v1.DocumentChange 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.v1.DocumentChange) {
-        return mergeFrom((com.google.firestore.v1.DocumentChange)other);
+        return mergeFrom((com.google.firestore.v1.DocumentChange) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -579,51 +627,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getDocumentFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getDocumentFieldBuilder().getBuilder(), extensionRegistry);
 
-              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:
+                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) {
@@ -633,40 +685,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.firestore.v1.Document document_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_;
+            com.google.firestore.v1.Document,
+            com.google.firestore.v1.Document.Builder,
+            com.google.firestore.v1.DocumentOrBuilder>
+        documentBuilder_;
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
      * 
* * .google.firestore.v1.Document document = 1; + * * @return Whether the document field is set. */ public boolean hasDocument() { return documentBuilder_ != null || document_ != null; } /** + * + * *
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
      * 
* * .google.firestore.v1.Document document = 1; + * * @return The document. */ public com.google.firestore.v1.Document getDocument() { if (documentBuilder_ == null) { - return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; } else { return documentBuilder_.getMessage(); } } /** + * + * *
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -688,6 +754,8 @@ public Builder setDocument(com.google.firestore.v1.Document value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -695,8 +763,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();
         onChanged();
@@ -707,6 +774,8 @@ public Builder setDocument(
       return this;
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -718,7 +787,9 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) {
       if (documentBuilder_ == null) {
         if (document_ != null) {
           document_ =
-            com.google.firestore.v1.Document.newBuilder(document_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.Document.newBuilder(document_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           document_ = value;
         }
@@ -730,6 +801,8 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -749,6 +822,8 @@ public Builder clearDocument() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -757,11 +832,13 @@ public Builder clearDocument() {
      * .google.firestore.v1.Document document = 1;
      */
     public com.google.firestore.v1.Document.Builder getDocumentBuilder() {
-      
+
       onChanged();
       return getDocumentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -773,11 +850,14 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
       if (documentBuilder_ != null) {
         return documentBuilder_.getMessageOrBuilder();
       } else {
-        return document_ == null ?
-            com.google.firestore.v1.Document.getDefaultInstance() : document_;
+        return document_ == null
+            ? com.google.firestore.v1.Document.getDefaultInstance()
+            : document_;
       }
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -786,56 +866,69 @@ 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_ & 0x00000001) != 0)) {
         targetIds_ = mutableCopy(targetIds_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * 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_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(targetIds_) : targetIds_; + public java.util.List getTargetIdsList() { + return ((bitField0_ & 0x00000001) != 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. */ @@ -843,28 +936,33 @@ public int getTargetIds(int index) { return targetIds_.getInt(index); } /** + * + * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; + * * @param index The index to set the value at. * @param value The targetIds to set. * @return This builder for chaining. */ - public Builder setTargetIds( - int index, int value) { + public Builder setTargetIds(int index, int value) { ensureTargetIdsIsMutable(); targetIds_.setInt(index, value); onChanged(); return this; } /** + * + * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; + * * @param value The targetIds to add. * @return This builder for chaining. */ @@ -875,28 +973,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() { @@ -907,42 +1009,52 @@ public Builder clearTargetIds() { } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); + private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * 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_ & 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 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. */ @@ -950,28 +1062,33 @@ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } /** + * + * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; + * * @param index The index to set the value at. * @param value The removedTargetIds to set. * @return This builder for chaining. */ - public Builder setRemovedTargetIds( - int index, int value) { + public Builder setRemovedTargetIds(int index, int value) { ensureRemovedTargetIdsIsMutable(); removedTargetIds_.setInt(index, value); onChanged(); return this; } /** + * + * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; + * * @param value The removedTargetIds to add. * @return This builder for chaining. */ @@ -982,28 +1099,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() { @@ -1012,9 +1133,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); } @@ -1024,12 +1145,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(); } @@ -1038,27 +1159,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; @@ -1073,6 +1194,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 0a931ac080..faf5f3daba 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; -public interface DocumentChangeOrBuilder extends +public interface DocumentChangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentChange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; + * * @return Whether the document field is set. */ boolean hasDocument(); /** + * + * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; + * * @return The document. */ com.google.firestore.v1.Document getDocument(); /** + * + * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
@@ -38,58 +62,76 @@ public interface DocumentChangeOrBuilder extends
   com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder();
 
   /**
+   *
+   *
    * 
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; + * * @return A list containing the targetIds. */ java.util.List getTargetIdsList(); /** + * + * *
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; + * * @return The count of targetIds. */ int getTargetIdsCount(); /** + * + * *
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; + * * @param index The index of the element to return. * @return The targetIds at the given index. */ int getTargetIds(int index); /** + * + * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return A list containing the removedTargetIds. */ java.util.List getRemovedTargetIdsList(); /** + * + * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return The count of removedTargetIds. */ int getRemovedTargetIdsCount(); /** + * + * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java index 7ae2e13a1a..f880c1d4d6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; /** + * + * *
  * A [Document][google.firestore.v1.Document] has been deleted.
  * May be the result of multiple [writes][google.firestore.v1.Write], including updates, the
@@ -14,15 +31,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();
@@ -30,37 +48,41 @@ private DocumentDelete() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DocumentDelete();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.WriteProto
+        .internal_static_google_firestore_v1_DocumentDelete_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable
+    return com.google.firestore.v1.WriteProto
+        .internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DocumentDelete.class, com.google.firestore.v1.DocumentDelete.Builder.class);
+            com.google.firestore.v1.DocumentDelete.class,
+            com.google.firestore.v1.DocumentDelete.Builder.class);
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
   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,29 +91,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 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 { @@ -102,52 +124,64 @@ public java.lang.String getDocument() { public static final int REMOVED_TARGET_IDS_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList removedTargetIds_; /** + * + * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return A list containing the removedTargetIds. */ @java.lang.Override - public java.util.List - getRemovedTargetIdsList() { + public java.util.List getRemovedTargetIdsList() { return removedTargetIds_; } /** + * + * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** + * + * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } + private int removedTargetIdsMemoizedSerializedSize = -1; public static final int READ_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -155,12 +189,15 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ @java.lang.Override @@ -168,6 +205,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
@@ -181,6 +220,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -192,8 +232,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_);
@@ -221,20 +260,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;
     }
@@ -246,21 +284,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;
@@ -288,97 +323,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.DocumentDelete parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.DocumentDelete parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.DocumentDelete prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A [Document][google.firestore.v1.Document] has been deleted.
    * May be the result of multiple [writes][google.firestore.v1.Write], including updates, the
@@ -389,33 +431,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();
@@ -433,9 +474,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
@@ -454,7 +495,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.document_ = document_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -475,38 +517,39 @@ public com.google.firestore.v1.DocumentDelete 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.v1.DocumentDelete) {
-        return mergeFrom((com.google.firestore.v1.DocumentDelete)other);
+        return mergeFrom((com.google.firestore.v1.DocumentDelete) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -558,40 +601,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              document_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                document_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 34: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 34:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              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:
+                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) {
@@ -601,22 +647,25 @@ 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; @@ -625,20 +674,21 @@ public java.lang.String getDocument() { } } /** + * + * *
      * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
      * 
* * string document = 1; + * * @return The bytes for document. */ - public com.google.protobuf.ByteString - getDocumentBytes() { + public com.google.protobuf.ByteString getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); document_ = b; return b; } else { @@ -646,96 +696,113 @@ 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) { + public Builder setDocument(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + document_ = value; 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() { - + document_ = getDefaultInstance().getDocument(); onChanged(); 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) { + public Builder setDocumentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + document_ = value; onChanged(); return this; } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); + private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(removedTargetIds_) : removedTargetIds_; + public java.util.List getRemovedTargetIdsList() { + return ((bitField0_ & 0x00000001) != 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. */ @@ -743,28 +810,33 @@ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } /** + * + * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; + * * @param index The index to set the value at. * @param value The removedTargetIds to set. * @return This builder for chaining. */ - public Builder setRemovedTargetIds( - int index, int value) { + public Builder setRemovedTargetIds(int index, int value) { ensureRemovedTargetIdsIsMutable(); removedTargetIds_.setInt(index, value); onChanged(); return this; } /** + * + * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; + * * @param value The removedTargetIds to add. * @return This builder for chaining. */ @@ -775,28 +847,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() { @@ -808,26 +884,35 @@ public Builder clearRemovedTargetIds() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -838,6 +923,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -859,6 +946,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -866,8 +955,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();
         onChanged();
@@ -878,6 +966,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -889,7 +979,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -901,6 +991,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -920,6 +1012,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -928,11 +1022,13 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-      
+
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -944,11 +1040,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -957,21 +1054,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);
     }
 
@@ -981,12 +1081,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();
   }
@@ -995,27 +1095,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;
@@ -1030,6 +1130,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 de91f72f66..5a06fbc212 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,82 +1,120 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface DocumentDeleteOrBuilder extends
+public interface DocumentDeleteOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentDelete)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
    * 
* * string document = 1; + * * @return The document. */ java.lang.String getDocument(); /** + * + * *
    * The resource name of the [Document][google.firestore.v1.Document] that was deleted.
    * 
* * string document = 1; + * * @return The bytes for document. */ - com.google.protobuf.ByteString - getDocumentBytes(); + com.google.protobuf.ByteString getDocumentBytes(); /** + * + * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return A list containing the removedTargetIds. */ java.util.List getRemovedTargetIdsList(); /** + * + * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return The count of removedTargetIds. */ int getRemovedTargetIdsCount(); /** + * + * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ int getRemovedTargetIds(int index); /** + * + * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
similarity index 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 647ad08208..aebc7d2e0f 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
@@ -14,78 +31,88 @@
  *
  * Protobuf type {@code google.firestore.v1.DocumentMask}
  */
-public final class DocumentMask extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DocumentMask extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentMask)
     DocumentMaskOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DocumentMask.newBuilder() to construct.
   private DocumentMask(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DocumentMask() {
     fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DocumentMask();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.CommonProto
+        .internal_static_google_firestore_v1_DocumentMask_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
+    return com.google.firestore.v1.CommonProto
+        .internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DocumentMask.class, com.google.firestore.v1.DocumentMask.Builder.class);
+            com.google.firestore.v1.DocumentMask.class,
+            com.google.firestore.v1.DocumentMask.Builder.class);
   }
 
   public static final int FIELD_PATHS_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList fieldPaths_;
   /**
+   *
+   *
    * 
    * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
    * path syntax reference.
    * 
* * 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 syntax reference.
    * 
* * 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 syntax reference.
    * 
* * repeated string field_paths = 1; + * * @param index The index of the element to return. * @return The fieldPaths at the given index. */ @@ -93,21 +120,24 @@ 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 syntax reference.
    * 
* * 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; @@ -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 { for (int i = 0; i < fieldPaths_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPaths_.getRaw(i)); } @@ -149,15 +178,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; } @@ -178,97 +206,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
@@ -279,33 +313,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.DocumentMask}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentMask)
       com.google.firestore.v1.DocumentMaskOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.CommonProto
+          .internal_static_google_firestore_v1_DocumentMask_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
+      return com.google.firestore.v1.CommonProto
+          .internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DocumentMask.class, com.google.firestore.v1.DocumentMask.Builder.class);
+              com.google.firestore.v1.DocumentMask.class,
+              com.google.firestore.v1.DocumentMask.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DocumentMask.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -315,9 +348,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.CommonProto
+          .internal_static_google_firestore_v1_DocumentMask_descriptor;
     }
 
     @java.lang.Override
@@ -351,38 +384,39 @@ public com.google.firestore.v1.DocumentMask 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.v1.DocumentMask) {
-        return mergeFrom((com.google.firestore.v1.DocumentMask)other);
+        return mergeFrom((com.google.firestore.v1.DocumentMask) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -427,18 +461,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) {
@@ -448,47 +484,58 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList fieldPaths_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureFieldPathsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         fieldPaths_ = new com.google.protobuf.LazyStringArrayList(fieldPaths_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
      * path syntax reference.
      * 
* * repeated string field_paths = 1; + * * @return A list containing the fieldPaths. */ - public com.google.protobuf.ProtocolStringList - getFieldPathsList() { + public com.google.protobuf.ProtocolStringList getFieldPathsList() { return fieldPaths_.getUnmodifiableView(); } /** + * + * *
      * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
      * path syntax reference.
      * 
* * 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 syntax reference.
      * 
* * repeated string field_paths = 1; + * * @param index The index of the element to return. * @return The fieldPaths at the given index. */ @@ -496,85 +543,95 @@ 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 syntax reference.
      * 
* * 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 syntax reference.
      * 
* * 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) { + public Builder setFieldPaths(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFieldPathsIsMutable(); + throw new NullPointerException(); + } + ensureFieldPathsIsMutable(); fieldPaths_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
      * path syntax reference.
      * 
* * repeated string field_paths = 1; + * * @param value The fieldPaths to add. * @return This builder for chaining. */ - public Builder addFieldPaths( - java.lang.String value) { + public Builder addFieldPaths(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFieldPathsIsMutable(); + throw new NullPointerException(); + } + ensureFieldPathsIsMutable(); fieldPaths_.add(value); onChanged(); return this; } /** + * + * *
      * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
      * path syntax reference.
      * 
* * repeated string field_paths = 1; + * * @param values The fieldPaths to add. * @return This builder for chaining. */ - public Builder addAllFieldPaths( - java.lang.Iterable values) { + public Builder addAllFieldPaths(java.lang.Iterable values) { ensureFieldPathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fieldPaths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldPaths_); onChanged(); return this; } /** + * + * *
      * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
      * path syntax reference.
      * 
* * repeated string field_paths = 1; + * * @return This builder for chaining. */ public Builder clearFieldPaths() { @@ -584,29 +641,31 @@ public Builder clearFieldPaths() { return this; } /** + * + * *
      * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
      * path syntax reference.
      * 
* * 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) { + public Builder addFieldPathsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFieldPathsIsMutable(); fieldPaths_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +675,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(); } @@ -630,27 +689,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; @@ -665,6 +724,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 5c2cf0d314..0df1fc8f78 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,54 +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/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 syntax reference.
    * 
* * 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 syntax reference.
    * 
* * 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 syntax reference.
    * 
* * 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 syntax reference.
    * 
* * 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 9a6ffbcd52..5aac72d9a9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/document.proto package com.google.firestore.v1; -public interface DocumentOrBuilder extends +public interface DocumentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Document) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the document, for example
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the document, for example
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The document's fields.
    * The map keys represent field names.
@@ -56,6 +79,8 @@ public interface DocumentOrBuilder extends
    */
   int getFieldsCount();
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -80,15 +105,13 @@ public interface DocumentOrBuilder extends
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-  boolean containsFields(
-      java.lang.String key);
-  /**
-   * Use {@link #getFieldsMap()} instead.
-   */
+  boolean containsFields(java.lang.String key);
+  /** Use {@link #getFieldsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getFields();
+  java.util.Map getFields();
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -113,9 +136,10 @@ boolean containsFields(
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-  java.util.Map
-  getFieldsMap();
+  java.util.Map getFieldsMap();
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -142,11 +166,13 @@ boolean containsFields(
    */
 
   /* nullable */
-com.google.firestore.v1.Value getFieldsOrDefault(
+  com.google.firestore.v1.Value getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.firestore.v1.Value defaultValue);
+      com.google.firestore.v1.Value defaultValue);
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -171,11 +197,11 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-
-  com.google.firestore.v1.Value getFieldsOrThrow(
-      java.lang.String key);
+  com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -184,10 +210,13 @@ com.google.firestore.v1.Value getFieldsOrThrow(
    * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -196,10 +225,13 @@ com.google.firestore.v1.Value getFieldsOrThrow(
    * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -212,6 +244,8 @@ com.google.firestore.v1.Value getFieldsOrThrow(
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -220,10 +254,13 @@ com.google.firestore.v1.Value getFieldsOrThrow(
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -232,10 +269,13 @@ com.google.firestore.v1.Value getFieldsOrThrow(
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
new file mode 100644
index 0000000000..fa2fc03e63
--- /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\306\001\n\027com.google.firestore.v1B\rDocumen"
+          + "tProtoP\001Z
  * A [Document][google.firestore.v1.Document] has been removed from the view of the targets.
  * Sent if the document is no longer relevant to a target and is out of view.
@@ -15,15 +32,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();
@@ -31,37 +49,41 @@ private DocumentRemove() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DocumentRemove();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.WriteProto
+        .internal_static_google_firestore_v1_DocumentRemove_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable
+    return com.google.firestore.v1.WriteProto
+        .internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DocumentRemove.class, com.google.firestore.v1.DocumentRemove.Builder.class);
+            com.google.firestore.v1.DocumentRemove.class,
+            com.google.firestore.v1.DocumentRemove.Builder.class);
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
   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 @@ -70,29 +92,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 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,52 +125,64 @@ public java.lang.String getDocument() { public static final int REMOVED_TARGET_IDS_FIELD_NUMBER = 2; private com.google.protobuf.Internal.IntList removedTargetIds_; /** + * + * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; + * * @return A list containing the removedTargetIds. */ @java.lang.Override - public java.util.List - getRemovedTargetIdsList() { + public java.util.List getRemovedTargetIdsList() { return removedTargetIds_; } /** + * + * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; + * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** + * + * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } + private int removedTargetIdsMemoizedSerializedSize = -1; public static final int READ_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -156,12 +190,15 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ @java.lang.Override @@ -169,6 +206,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -182,6 +221,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -193,8 +233,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_);
@@ -224,20 +263,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;
@@ -247,21 +285,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;
@@ -289,97 +324,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.
    * Sent if the document is no longer relevant to a target and is out of view.
@@ -391,33 +433,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();
@@ -435,9 +476,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
@@ -456,7 +497,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.document_ = document_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -477,38 +519,39 @@ public com.google.firestore.v1.DocumentRemove 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.v1.DocumentRemove) {
-        return mergeFrom((com.google.firestore.v1.DocumentRemove)other);
+        return mergeFrom((com.google.firestore.v1.DocumentRemove) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -560,40 +603,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              document_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                document_ = input.readStringRequireUtf8();
 
-              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);
+                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);
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -603,22 +649,25 @@ 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; @@ -627,20 +676,21 @@ public java.lang.String getDocument() { } } /** + * + * *
      * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
      * 
* * string document = 1; + * * @return The bytes for document. */ - public com.google.protobuf.ByteString - getDocumentBytes() { + public com.google.protobuf.ByteString getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); document_ = b; return b; } else { @@ -648,96 +698,113 @@ 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) { + public Builder setDocument(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + document_ = value; 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() { - + document_ = getDefaultInstance().getDocument(); onChanged(); 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) { + public Builder setDocumentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + document_ = value; onChanged(); return this; } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); + private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(removedTargetIds_) : removedTargetIds_; + public java.util.List getRemovedTargetIdsList() { + return ((bitField0_ & 0x00000001) != 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. */ @@ -745,28 +812,33 @@ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } /** + * + * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; + * * @param index The index to set the value at. * @param value The removedTargetIds to set. * @return This builder for chaining. */ - public Builder setRemovedTargetIds( - int index, int value) { + public Builder setRemovedTargetIds(int index, int value) { ensureRemovedTargetIdsIsMutable(); removedTargetIds_.setInt(index, value); onChanged(); return this; } /** + * + * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; + * * @param value The removedTargetIds to add. * @return This builder for chaining. */ @@ -777,28 +849,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() { @@ -810,26 +886,35 @@ public Builder clearRemovedTargetIds() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -840,6 +925,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -861,6 +948,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -868,8 +957,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();
         onChanged();
@@ -880,6 +968,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -891,7 +981,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -903,6 +993,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -922,6 +1014,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -930,11 +1024,13 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-      
+
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -946,11 +1042,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -959,21 +1056,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);
     }
 
@@ -983,12 +1083,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();
   }
@@ -997,27 +1097,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;
@@ -1032,6 +1132,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 edc296f9f6..06137bfdd4 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,82 +1,120 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface DocumentRemoveOrBuilder extends
+public interface DocumentRemoveOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentRemove)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
    * 
* * string document = 1; + * * @return The document. */ java.lang.String getDocument(); /** + * + * *
    * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view.
    * 
* * string document = 1; + * * @return The bytes for document. */ - com.google.protobuf.ByteString - getDocumentBytes(); + com.google.protobuf.ByteString getDocumentBytes(); /** + * + * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; + * * @return A list containing the removedTargetIds. */ java.util.List getRemovedTargetIdsList(); /** + * + * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; + * * @return The count of removedTargetIds. */ int getRemovedTargetIdsCount(); /** + * + * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ int getRemovedTargetIds(int index); /** + * + * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
similarity index 80%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
index 195459d81c..d0c3465b31 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,84 +44,108 @@ private DocumentTransform() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DocumentTransform(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.DocumentTransform.class, com.google.firestore.v1.DocumentTransform.Builder.class); + com.google.firestore.v1.DocumentTransform.class, + com.google.firestore.v1.DocumentTransform.Builder.class); } - public interface FieldTransformOrBuilder extends + public interface FieldTransformOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentTransform.FieldTransform) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
      * reference.
      * 
* * 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 syntax
      * reference.
      * 
* * string field_path = 1; + * * @return The bytes for fieldPath. */ - com.google.protobuf.ByteString - getFieldPathBytes(); + com.google.protobuf.ByteString getFieldPathBytes(); /** + * + * *
      * Sets the field to the given server value.
      * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return Whether the setToServerValue field is set. */ boolean hasSetToServerValue(); /** + * + * *
      * Sets the field to the given server value.
      * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return The enum numeric value on the wire for setToServerValue. */ int getSetToServerValueValue(); /** + * + * *
      * Sets the field to the given server value.
      * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return The setToServerValue. */ com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue getSetToServerValue(); /** + * + * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -117,10 +159,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.Value increment = 3; + * * @return Whether the increment field is set. */ boolean hasIncrement(); /** + * + * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -134,10 +179,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.Value increment = 3; + * * @return The increment. */ com.google.firestore.v1.Value getIncrement(); /** + * + * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -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.
      * This must be an integer or a double value.
@@ -170,10 +220,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.Value maximum = 4; + * * @return Whether the maximum field is set. */ boolean hasMaximum(); /** + * + * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -189,10 +242,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.Value maximum = 4; + * * @return The maximum. */ com.google.firestore.v1.Value getMaximum(); /** + * + * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -212,6 +268,8 @@ public interface FieldTransformOrBuilder extends
     com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder();
 
     /**
+     *
+     *
      * 
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -227,10 +285,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.Value minimum = 5; + * * @return Whether the minimum field is set. */ boolean hasMinimum(); /** + * + * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -246,10 +307,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.Value minimum = 5; + * * @return The minimum. */ com.google.firestore.v1.Value getMinimum(); /** + * + * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -269,6 +333,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.
@@ -283,10 +349,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.
@@ -301,10 +370,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.
@@ -323,6 +395,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
@@ -335,10 +409,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
@@ -351,10 +428,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
@@ -370,63 +450,71 @@ public interface FieldTransformOrBuilder extends
      */
     com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder();
 
-    public com.google.firestore.v1.DocumentTransform.FieldTransform.TransformTypeCase getTransformTypeCase();
+    public com.google.firestore.v1.DocumentTransform.FieldTransform.TransformTypeCase
+        getTransformTypeCase();
   }
   /**
+   *
+   *
    * 
    * A transformation of a field of the document.
    * 
* * Protobuf type {@code google.firestore.v1.DocumentTransform.FieldTransform} */ - public static final class FieldTransform extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class FieldTransform extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentTransform.FieldTransform) FieldTransformOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldTransform.newBuilder() to construct. private FieldTransform(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FieldTransform() { fieldPath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FieldTransform(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.DocumentTransform.FieldTransform.class, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder.class); + com.google.firestore.v1.DocumentTransform.FieldTransform.class, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder.class); } /** + * + * *
      * A value that is calculated by the server.
      * 
* * Protobuf enum {@code google.firestore.v1.DocumentTransform.FieldTransform.ServerValue} */ - public enum ServerValue - implements com.google.protobuf.ProtocolMessageEnum { + public enum ServerValue implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified. This value must not be used.
        * 
@@ -435,6 +523,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
@@ -448,6 +538,8 @@ public enum ServerValue
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -456,6 +548,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
@@ -466,7 +560,6 @@ public enum ServerValue
        */
       public static final int REQUEST_TIME_VALUE = 1;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -491,48 +584,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;
@@ -551,8 +645,10 @@ private ServerValue(int value) {
 
     private int transformTypeCase_ = 0;
     private java.lang.Object transformType_;
+
     public enum TransformTypeCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       SET_TO_SERVER_VALUE(2),
       INCREMENT(3),
@@ -562,6 +658,7 @@ public enum TransformTypeCase
       REMOVE_ALL_FROM_ARRAY(7),
       TRANSFORMTYPE_NOT_SET(0);
       private final int value;
+
       private TransformTypeCase(int value) {
         this.value = value;
       }
@@ -577,36 +674,46 @@ 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;
     private volatile java.lang.Object fieldPath_;
     /**
+     *
+     *
      * 
      * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
      * reference.
      * 
* * string field_path = 1; + * * @return The fieldPath. */ @java.lang.Override @@ -615,30 +722,30 @@ 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 syntax
      * reference.
      * 
* * 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 { @@ -648,22 +755,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() { @@ -673,25 +790,37 @@ 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) { @SuppressWarnings("deprecation") - com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.valueOf( - (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.valueOf( + (java.lang.Integer) transformType_); + return result == null + ? com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.UNRECOGNIZED + : result; + } + return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue + .SERVER_VALUE_UNSPECIFIED; } public static final int INCREMENT_FIELD_NUMBER = 3; /** + * + * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -705,6 +834,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 @@ -712,6 +842,8 @@ public boolean hasIncrement() { return transformTypeCase_ == 3; } /** + * + * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -725,16 +857,19 @@ public boolean hasIncrement() {
      * 
* * .google.firestore.v1.Value increment = 3; + * * @return The increment. */ @java.lang.Override public com.google.firestore.v1.Value getIncrement() { if (transformTypeCase_ == 3) { - return (com.google.firestore.v1.Value) transformType_; + return (com.google.firestore.v1.Value) transformType_; } return com.google.firestore.v1.Value.getDefaultInstance(); } /** + * + * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -752,13 +887,15 @@ public com.google.firestore.v1.Value getIncrement() {
     @java.lang.Override
     public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
       if (transformTypeCase_ == 3) {
-         return (com.google.firestore.v1.Value) transformType_;
+        return (com.google.firestore.v1.Value) transformType_;
       }
       return com.google.firestore.v1.Value.getDefaultInstance();
     }
 
     public static final int MAXIMUM_FIELD_NUMBER = 4;
     /**
+     *
+     *
      * 
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -774,6 +911,7 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
      * 
* * .google.firestore.v1.Value maximum = 4; + * * @return Whether the maximum field is set. */ @java.lang.Override @@ -781,6 +919,8 @@ public boolean hasMaximum() { return transformTypeCase_ == 4; } /** + * + * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -796,16 +936,19 @@ public boolean hasMaximum() {
      * 
* * .google.firestore.v1.Value maximum = 4; + * * @return The maximum. */ @java.lang.Override public com.google.firestore.v1.Value getMaximum() { if (transformTypeCase_ == 4) { - return (com.google.firestore.v1.Value) transformType_; + return (com.google.firestore.v1.Value) transformType_; } return com.google.firestore.v1.Value.getDefaultInstance(); } /** + * + * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -825,13 +968,15 @@ public com.google.firestore.v1.Value getMaximum() {
     @java.lang.Override
     public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
       if (transformTypeCase_ == 4) {
-         return (com.google.firestore.v1.Value) transformType_;
+        return (com.google.firestore.v1.Value) transformType_;
       }
       return com.google.firestore.v1.Value.getDefaultInstance();
     }
 
     public static final int MINIMUM_FIELD_NUMBER = 5;
     /**
+     *
+     *
      * 
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -847,6 +992,7 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
      * 
* * .google.firestore.v1.Value minimum = 5; + * * @return Whether the minimum field is set. */ @java.lang.Override @@ -854,6 +1000,8 @@ public boolean hasMinimum() { return transformTypeCase_ == 5; } /** + * + * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -869,16 +1017,19 @@ public boolean hasMinimum() {
      * 
* * .google.firestore.v1.Value minimum = 5; + * * @return The minimum. */ @java.lang.Override public com.google.firestore.v1.Value getMinimum() { if (transformTypeCase_ == 5) { - return (com.google.firestore.v1.Value) transformType_; + return (com.google.firestore.v1.Value) transformType_; } return com.google.firestore.v1.Value.getDefaultInstance(); } /** + * + * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -898,13 +1049,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.
@@ -919,6 +1072,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 @@ -926,6 +1080,8 @@ public boolean hasAppendMissingElements() { return transformTypeCase_ == 6; } /** + * + * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -940,16 +1096,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.
@@ -968,13 +1127,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
@@ -987,6 +1148,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 @@ -994,6 +1156,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
@@ -1006,16 +1170,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
@@ -1032,12 +1199,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;
@@ -1049,8 +1217,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_);
       }
@@ -1085,28 +1252,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;
@@ -1116,40 +1289,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:
@@ -1201,87 +1368,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
@@ -1291,39 +1465,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(); @@ -1350,9 +1526,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 @@ -1371,7 +1547,8 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform build() { @java.lang.Override public com.google.firestore.v1.DocumentTransform.FieldTransform buildPartial() { - com.google.firestore.v1.DocumentTransform.FieldTransform result = new com.google.firestore.v1.DocumentTransform.FieldTransform(this); + com.google.firestore.v1.DocumentTransform.FieldTransform result = + new com.google.firestore.v1.DocumentTransform.FieldTransform(this); result.fieldPath_ = fieldPath_; if (transformTypeCase_ == 2) { result.transformType_ = transformType_; @@ -1420,38 +1597,41 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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; @@ -1459,39 +1639,47 @@ 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_; 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(); @@ -1519,58 +1707,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - fieldPath_ = input.readStringRequireUtf8(); - - 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(); + + 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) { @@ -1580,12 +1768,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() { @@ -1595,22 +1783,23 @@ public Builder clearTransformType() { return this; } - private java.lang.Object fieldPath_ = ""; /** + * + * *
        * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
        * reference.
        * 
* * 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; @@ -1619,21 +1808,22 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
        * reference.
        * 
* * 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 { @@ -1641,68 +1831,80 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
        * reference.
        * 
* * string field_path = 1; + * * @param value The fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPath( - java.lang.String value) { + public Builder setFieldPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fieldPath_ = value; onChanged(); return this; } /** + * + * *
        * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
        * reference.
        * 
* * string field_path = 1; + * * @return This builder for chaining. */ public Builder clearFieldPath() { - + fieldPath_ = getDefaultInstance().getFieldPath(); onChanged(); return this; } /** + * + * *
        * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax
        * reference.
        * 
* * 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) { + public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fieldPath_ = value; onChanged(); 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 Whether the setToServerValue field is set. */ @java.lang.Override @@ -1710,11 +1912,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 @@ -1725,11 +1932,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. */ @@ -1740,33 +1952,49 @@ 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) { @SuppressWarnings("deprecation") - com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.valueOf( - (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.valueOf( + (java.lang.Integer) transformType_); + return result == null + ? com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.UNRECOGNIZED + : result; } - return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.SERVER_VALUE_UNSPECIFIED; + return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue + .SERVER_VALUE_UNSPECIFIED; } /** + * + * *
        * Sets the field to the given server value.
        * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @param value The setToServerValue to set. * @return This builder for chaining. */ - public Builder setSetToServerValue(com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue value) { + public Builder setSetToServerValue( + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue value) { if (value == null) { throw new NullPointerException(); } @@ -1776,11 +2004,16 @@ public Builder setSetToServerValue(com.google.firestore.v1.DocumentTransform.Fie return this; } /** + * + * *
        * Sets the field to the given server value.
        * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return This builder for chaining. */ public Builder clearSetToServerValue() { @@ -1793,8 +2026,13 @@ public Builder clearSetToServerValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> incrementBuilder_; + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + incrementBuilder_; /** + * + * *
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1808,6 +2046,7 @@ public Builder clearSetToServerValue() {
        * 
* * .google.firestore.v1.Value increment = 3; + * * @return Whether the increment field is set. */ @java.lang.Override @@ -1815,6 +2054,8 @@ public boolean hasIncrement() { return transformTypeCase_ == 3; } /** + * + * *
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1828,6 +2069,7 @@ public boolean hasIncrement() {
        * 
* * .google.firestore.v1.Value increment = 3; + * * @return The increment. */ @java.lang.Override @@ -1845,6 +2087,8 @@ public com.google.firestore.v1.Value getIncrement() { } } /** + * + * *
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1873,6 +2117,8 @@ public Builder setIncrement(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1887,8 +2133,7 @@ public Builder setIncrement(com.google.firestore.v1.Value value) {
        *
        * .google.firestore.v1.Value increment = 3;
        */
-      public Builder setIncrement(
-          com.google.firestore.v1.Value.Builder builderForValue) {
+      public Builder setIncrement(com.google.firestore.v1.Value.Builder builderForValue) {
         if (incrementBuilder_ == null) {
           transformType_ = builderForValue.build();
           onChanged();
@@ -1899,6 +2144,8 @@ public Builder setIncrement(
         return this;
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1915,10 +2162,13 @@ public Builder setIncrement(
        */
       public Builder mergeIncrement(com.google.firestore.v1.Value value) {
         if (incrementBuilder_ == null) {
-          if (transformTypeCase_ == 3 &&
-              transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
-            transformType_ = com.google.firestore.v1.Value.newBuilder((com.google.firestore.v1.Value) transformType_)
-                .mergeFrom(value).buildPartial();
+          if (transformTypeCase_ == 3
+              && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
+            transformType_ =
+                com.google.firestore.v1.Value.newBuilder(
+                        (com.google.firestore.v1.Value) transformType_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             transformType_ = value;
           }
@@ -1934,6 +2184,8 @@ public Builder mergeIncrement(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1965,6 +2217,8 @@ public Builder clearIncrement() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1983,6 +2237,8 @@ public com.google.firestore.v1.Value.Builder getIncrementBuilder() {
         return getIncrementFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2009,6 +2265,8 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2024,27 +2282,38 @@ 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());
           transformType_ = null;
         }
         transformTypeCase_ = 3;
-        onChanged();;
+        onChanged();
+        ;
         return incrementBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> maximumBuilder_;
+              com.google.firestore.v1.Value,
+              com.google.firestore.v1.Value.Builder,
+              com.google.firestore.v1.ValueOrBuilder>
+          maximumBuilder_;
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2060,6 +2329,7 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
        * 
* * .google.firestore.v1.Value maximum = 4; + * * @return Whether the maximum field is set. */ @java.lang.Override @@ -2067,6 +2337,8 @@ public boolean hasMaximum() { return transformTypeCase_ == 4; } /** + * + * *
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2082,6 +2354,7 @@ public boolean hasMaximum() {
        * 
* * .google.firestore.v1.Value maximum = 4; + * * @return The maximum. */ @java.lang.Override @@ -2099,6 +2372,8 @@ public com.google.firestore.v1.Value getMaximum() { } } /** + * + * *
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2129,6 +2404,8 @@ public Builder setMaximum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2145,8 +2422,7 @@ public Builder setMaximum(com.google.firestore.v1.Value value) {
        *
        * .google.firestore.v1.Value maximum = 4;
        */
-      public Builder setMaximum(
-          com.google.firestore.v1.Value.Builder builderForValue) {
+      public Builder setMaximum(com.google.firestore.v1.Value.Builder builderForValue) {
         if (maximumBuilder_ == null) {
           transformType_ = builderForValue.build();
           onChanged();
@@ -2157,6 +2433,8 @@ public Builder setMaximum(
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2175,10 +2453,13 @@ public Builder setMaximum(
        */
       public Builder mergeMaximum(com.google.firestore.v1.Value value) {
         if (maximumBuilder_ == null) {
-          if (transformTypeCase_ == 4 &&
-              transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
-            transformType_ = com.google.firestore.v1.Value.newBuilder((com.google.firestore.v1.Value) transformType_)
-                .mergeFrom(value).buildPartial();
+          if (transformTypeCase_ == 4
+              && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
+            transformType_ =
+                com.google.firestore.v1.Value.newBuilder(
+                        (com.google.firestore.v1.Value) transformType_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2194,6 +2475,8 @@ public Builder mergeMaximum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2227,6 +2510,8 @@ public Builder clearMaximum() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2247,6 +2532,8 @@ public com.google.firestore.v1.Value.Builder getMaximumBuilder() {
         return getMaximumFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2275,6 +2562,8 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2292,27 +2581,38 @@ 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());
           transformType_ = null;
         }
         transformTypeCase_ = 4;
-        onChanged();;
+        onChanged();
+        ;
         return maximumBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> minimumBuilder_;
+              com.google.firestore.v1.Value,
+              com.google.firestore.v1.Value.Builder,
+              com.google.firestore.v1.ValueOrBuilder>
+          minimumBuilder_;
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2328,6 +2628,7 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
        * 
* * .google.firestore.v1.Value minimum = 5; + * * @return Whether the minimum field is set. */ @java.lang.Override @@ -2335,6 +2636,8 @@ public boolean hasMinimum() { return transformTypeCase_ == 5; } /** + * + * *
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2350,6 +2653,7 @@ public boolean hasMinimum() {
        * 
* * .google.firestore.v1.Value minimum = 5; + * * @return The minimum. */ @java.lang.Override @@ -2367,6 +2671,8 @@ public com.google.firestore.v1.Value getMinimum() { } } /** + * + * *
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2397,6 +2703,8 @@ public Builder setMinimum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2413,8 +2721,7 @@ public Builder setMinimum(com.google.firestore.v1.Value value) {
        *
        * .google.firestore.v1.Value minimum = 5;
        */
-      public Builder setMinimum(
-          com.google.firestore.v1.Value.Builder builderForValue) {
+      public Builder setMinimum(com.google.firestore.v1.Value.Builder builderForValue) {
         if (minimumBuilder_ == null) {
           transformType_ = builderForValue.build();
           onChanged();
@@ -2425,6 +2732,8 @@ public Builder setMinimum(
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2443,10 +2752,13 @@ public Builder setMinimum(
        */
       public Builder mergeMinimum(com.google.firestore.v1.Value value) {
         if (minimumBuilder_ == null) {
-          if (transformTypeCase_ == 5 &&
-              transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
-            transformType_ = com.google.firestore.v1.Value.newBuilder((com.google.firestore.v1.Value) transformType_)
-                .mergeFrom(value).buildPartial();
+          if (transformTypeCase_ == 5
+              && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
+            transformType_ =
+                com.google.firestore.v1.Value.newBuilder(
+                        (com.google.firestore.v1.Value) transformType_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2462,6 +2774,8 @@ public Builder mergeMinimum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2495,6 +2809,8 @@ public Builder clearMinimum() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2515,6 +2831,8 @@ public com.google.firestore.v1.Value.Builder getMinimumBuilder() {
         return getMinimumFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2543,6 +2861,8 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2560,27 +2880,38 @@ 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());
           transformType_ = null;
         }
         transformTypeCase_ = 5;
-        onChanged();;
+        onChanged();
+        ;
         return minimumBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> appendMissingElementsBuilder_;
+              com.google.firestore.v1.ArrayValue,
+              com.google.firestore.v1.ArrayValue.Builder,
+              com.google.firestore.v1.ArrayValueOrBuilder>
+          appendMissingElementsBuilder_;
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2595,6 +2926,7 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
        * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; + * * @return Whether the appendMissingElements field is set. */ @java.lang.Override @@ -2602,6 +2934,8 @@ public boolean hasAppendMissingElements() { return transformTypeCase_ == 6; } /** + * + * *
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2616,6 +2950,7 @@ public boolean hasAppendMissingElements() {
        * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; + * * @return The appendMissingElements. */ @java.lang.Override @@ -2633,6 +2968,8 @@ public com.google.firestore.v1.ArrayValue getAppendMissingElements() { } } /** + * + * *
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2662,6 +2999,8 @@ public Builder setAppendMissingElements(com.google.firestore.v1.ArrayValue value
         return this;
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2689,6 +3028,8 @@ public Builder setAppendMissingElements(
         return this;
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2706,10 +3047,13 @@ public Builder setAppendMissingElements(
        */
       public Builder mergeAppendMissingElements(com.google.firestore.v1.ArrayValue value) {
         if (appendMissingElementsBuilder_ == null) {
-          if (transformTypeCase_ == 6 &&
-              transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
-            transformType_ = com.google.firestore.v1.ArrayValue.newBuilder((com.google.firestore.v1.ArrayValue) transformType_)
-                .mergeFrom(value).buildPartial();
+          if (transformTypeCase_ == 6
+              && transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
+            transformType_ =
+                com.google.firestore.v1.ArrayValue.newBuilder(
+                        (com.google.firestore.v1.ArrayValue) transformType_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2725,6 +3069,8 @@ public Builder mergeAppendMissingElements(com.google.firestore.v1.ArrayValue val
         return this;
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2757,6 +3103,8 @@ public Builder clearAppendMissingElements() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2776,6 +3124,8 @@ public com.google.firestore.v1.ArrayValue.Builder getAppendMissingElementsBuilde
         return getAppendMissingElementsFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2803,6 +3153,8 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
         }
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2819,27 +3171,38 @@ 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());
           transformType_ = null;
         }
         transformTypeCase_ = 6;
-        onChanged();;
+        onChanged();
+        ;
         return appendMissingElementsBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> removeAllFromArrayBuilder_;
+              com.google.firestore.v1.ArrayValue,
+              com.google.firestore.v1.ArrayValue.Builder,
+              com.google.firestore.v1.ArrayValueOrBuilder>
+          removeAllFromArrayBuilder_;
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -2852,6 +3215,7 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
        * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + * * @return Whether the removeAllFromArray field is set. */ @java.lang.Override @@ -2859,6 +3223,8 @@ public boolean hasRemoveAllFromArray() { return transformTypeCase_ == 7; } /** + * + * *
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -2871,6 +3237,7 @@ public boolean hasRemoveAllFromArray() {
        * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + * * @return The removeAllFromArray. */ @java.lang.Override @@ -2888,6 +3255,8 @@ public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() { } } /** + * + * *
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -2915,6 +3284,8 @@ public Builder setRemoveAllFromArray(com.google.firestore.v1.ArrayValue value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -2940,6 +3311,8 @@ public Builder setRemoveAllFromArray(
         return this;
       }
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -2955,10 +3328,13 @@ public Builder setRemoveAllFromArray(
        */
       public Builder mergeRemoveAllFromArray(com.google.firestore.v1.ArrayValue value) {
         if (removeAllFromArrayBuilder_ == null) {
-          if (transformTypeCase_ == 7 &&
-              transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
-            transformType_ = com.google.firestore.v1.ArrayValue.newBuilder((com.google.firestore.v1.ArrayValue) transformType_)
-                .mergeFrom(value).buildPartial();
+          if (transformTypeCase_ == 7
+              && transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
+            transformType_ =
+                com.google.firestore.v1.ArrayValue.newBuilder(
+                        (com.google.firestore.v1.ArrayValue) transformType_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2974,6 +3350,8 @@ public Builder mergeRemoveAllFromArray(com.google.firestore.v1.ArrayValue value)
         return this;
       }
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3004,6 +3382,8 @@ public Builder clearRemoveAllFromArray() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3021,6 +3401,8 @@ public com.google.firestore.v1.ArrayValue.Builder getRemoveAllFromArrayBuilder()
         return getRemoveAllFromArrayFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3046,6 +3428,8 @@ public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilde
         }
       }
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3060,23 +3444,30 @@ 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());
           transformType_ = null;
         }
         transformTypeCase_ = 7;
-        onChanged();;
+        onChanged();
+        ;
         return removeAllFromArrayBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3089,12 +3480,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentTransform.FieldTransform)
     }
 
     // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentTransform.FieldTransform)
     private static final com.google.firestore.v1.DocumentTransform.FieldTransform DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentTransform.FieldTransform();
     }
@@ -3103,27 +3494,28 @@ public static com.google.firestore.v1.DocumentTransform.FieldTransform getDefaul
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public FieldTransform parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public FieldTransform parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3138,17 +3530,19 @@ 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;
   private volatile java.lang.Object document_;
   /**
+   *
+   *
    * 
    * The name of the document to transform.
    * 
* * string document = 1; + * * @return The document. */ @java.lang.Override @@ -3157,29 +3551,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 { @@ -3190,74 +3584,91 @@ public java.lang.String getDocument() { public static final int FIELD_TRANSFORMS_FIELD_NUMBER = 2; 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; @@ -3269,8 +3680,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_); } @@ -3290,8 +3700,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; @@ -3301,17 +3710,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; } @@ -3334,130 +3742,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(); @@ -3474,9 +3888,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 @@ -3495,7 +3909,8 @@ 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); int from_bitField0_ = bitField0_; result.document_ = document_; if (fieldTransformsBuilder_ == null) { @@ -3515,38 +3930,39 @@ public com.google.firestore.v1.DocumentTransform 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.v1.DocumentTransform) { - return mergeFrom((com.google.firestore.v1.DocumentTransform)other); + return mergeFrom((com.google.firestore.v1.DocumentTransform) other); } else { super.mergeFrom(other); return this; @@ -3577,9 +3993,10 @@ public Builder mergeFrom(com.google.firestore.v1.DocumentTransform other) { fieldTransformsBuilder_ = null; fieldTransforms_ = other.fieldTransforms_; bitField0_ = (bitField0_ & ~0x00000001); - fieldTransformsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldTransformsFieldBuilder() : null; + fieldTransformsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldTransformsFieldBuilder() + : null; } else { fieldTransformsBuilder_.addAllMessages(other.fieldTransforms_); } @@ -3611,30 +4028,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - document_ = input.readStringRequireUtf8(); + case 10: + { + document_ = input.readStringRequireUtf8(); - 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: + 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) { @@ -3644,22 +4064,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; @@ -3668,20 +4091,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 { @@ -3689,81 +4113,98 @@ 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) { + public Builder setDocument(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + document_ = value; onChanged(); return this; } /** + * + * *
      * The name of the document to transform.
      * 
* * string document = 1; + * * @return This builder for chaining. */ public Builder clearDocument() { - + document_ = getDefaultInstance().getDocument(); onChanged(); 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) { + public Builder setDocumentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + document_ = value; onChanged(); 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_ & 0x00000001) != 0)) { - fieldTransforms_ = new java.util.ArrayList(fieldTransforms_); + fieldTransforms_ = + new java.util.ArrayList( + fieldTransforms_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -3771,13 +4212,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) { @@ -3787,13 +4231,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) { @@ -3803,13 +4250,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) { @@ -3826,16 +4276,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()); @@ -3846,15 +4300,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(); @@ -3868,13 +4326,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) { @@ -3891,13 +4352,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) { @@ -3911,16 +4375,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()); @@ -3931,20 +4399,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); @@ -3952,13 +4423,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) { @@ -3971,13 +4445,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) { @@ -3990,45 +4467,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 { @@ -4036,51 +4524,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_ & 0x00000001) != 0), getParentForChildren(), @@ -4089,9 +4595,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); } @@ -4101,12 +4607,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(); } @@ -4115,27 +4621,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; @@ -4150,6 +4656,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 67% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java index ebe9e7c767..9df43cf2e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; /** + * + * *
  * A digest of all the documents that match a given target.
  * 
* * Protobuf type {@code google.firestore.v1.ExistenceFilter} */ -public final class ExistenceFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExistenceFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ExistenceFilter) ExistenceFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExistenceFilter.newBuilder() to construct. private ExistenceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExistenceFilter() { - } + + private ExistenceFilter() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExistenceFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ExistenceFilter.class, com.google.firestore.v1.ExistenceFilter.Builder.class); + com.google.firestore.v1.ExistenceFilter.class, + com.google.firestore.v1.ExistenceFilter.Builder.class); } public static final int TARGET_ID_FIELD_NUMBER = 1; private int targetId_; /** + * + * *
    * The target ID to which this filter applies.
    * 
* * int32 target_id = 1; + * * @return The targetId. */ @java.lang.Override @@ -65,6 +86,8 @@ public int getTargetId() { public static final int COUNT_FIELD_NUMBER = 2; private int count_; /** + * + * *
    * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
    * If different from the count of documents in the client that match, the
@@ -72,6 +95,7 @@ public int getTargetId() {
    * 
* * int32 count = 2; + * * @return The count. */ @java.lang.Override @@ -80,6 +104,7 @@ public int getCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -91,8 +116,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (targetId_ != 0) { output.writeInt32(1, targetId_); } @@ -109,12 +133,10 @@ public int getSerializedSize() { size = 0; if (targetId_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, targetId_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, targetId_); } if (count_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, count_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, count_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,17 +146,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.ExistenceFilter)) { return super.equals(obj); } com.google.firestore.v1.ExistenceFilter other = (com.google.firestore.v1.ExistenceFilter) obj; - if (getTargetId() - != other.getTargetId()) return false; - if (getCount() - != other.getCount()) return false; + if (getTargetId() != other.getTargetId()) return false; + if (getCount() != other.getCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,130 +175,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.ExistenceFilter parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.ExistenceFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ExistenceFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ExistenceFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.ExistenceFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.ExistenceFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.ExistenceFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.ExistenceFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A digest of all the documents that match a given target.
    * 
* * Protobuf type {@code google.firestore.v1.ExistenceFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.ExistenceFilter) com.google.firestore.v1.ExistenceFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ExistenceFilter.class, com.google.firestore.v1.ExistenceFilter.Builder.class); + com.google.firestore.v1.ExistenceFilter.class, + com.google.firestore.v1.ExistenceFilter.Builder.class); } // Construct using com.google.firestore.v1.ExistenceFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -290,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_descriptor; } @java.lang.Override @@ -311,7 +337,8 @@ public com.google.firestore.v1.ExistenceFilter build() { @java.lang.Override public com.google.firestore.v1.ExistenceFilter buildPartial() { - com.google.firestore.v1.ExistenceFilter result = new com.google.firestore.v1.ExistenceFilter(this); + com.google.firestore.v1.ExistenceFilter result = + new com.google.firestore.v1.ExistenceFilter(this); result.targetId_ = targetId_; result.count_ = count_; onBuilt(); @@ -322,38 +349,39 @@ public com.google.firestore.v1.ExistenceFilter 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.v1.ExistenceFilter) { - return mergeFrom((com.google.firestore.v1.ExistenceFilter)other); + return mergeFrom((com.google.firestore.v1.ExistenceFilter) other); } else { super.mergeFrom(other); return this; @@ -394,22 +422,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - targetId_ = input.readInt32(); - - break; - } // case 8 - case 16: { - count_ = input.readInt32(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + targetId_ = input.readInt32(); + + break; + } // case 8 + case 16: + { + count_ = input.readInt32(); + + 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) { @@ -420,13 +451,16 @@ public Builder mergeFrom( return this; } - private int targetId_ ; + private int targetId_; /** + * + * *
      * The target ID to which this filter applies.
      * 
* * int32 target_id = 1; + * * @return The targetId. */ @java.lang.Override @@ -434,37 +468,45 @@ public int getTargetId() { return targetId_; } /** + * + * *
      * The target ID to which this filter applies.
      * 
* * int32 target_id = 1; + * * @param value The targetId to set. * @return This builder for chaining. */ public Builder setTargetId(int value) { - + targetId_ = value; onChanged(); return this; } /** + * + * *
      * The target ID to which this filter applies.
      * 
* * int32 target_id = 1; + * * @return This builder for chaining. */ public Builder clearTargetId() { - + targetId_ = 0; onChanged(); return this; } - private int count_ ; + private int count_; /** + * + * *
      * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
      * If different from the count of documents in the client that match, the
@@ -472,6 +514,7 @@ public Builder clearTargetId() {
      * 
* * int32 count = 2; + * * @return The count. */ @java.lang.Override @@ -479,6 +522,8 @@ public int getCount() { return count_; } /** + * + * *
      * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
      * If different from the count of documents in the client that match, the
@@ -486,16 +531,19 @@ public int getCount() {
      * 
* * int32 count = 2; + * * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { - + count_ = value; onChanged(); return this; } /** + * + * *
      * The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id].
      * If different from the count of documents in the client that match, the
@@ -503,17 +551,18 @@ public Builder setCount(int value) {
      * 
* * int32 count = 2; + * * @return This builder for chaining. */ public Builder clearCount() { - + count_ = 0; 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); } @@ -523,12 +572,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(); } @@ -537,27 +586,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; @@ -572,6 +621,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 54% 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 6a5d3505cc..6d0ce82393 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].
    * If different from the count of documents in the client that match, the
@@ -25,6 +46,7 @@ public interface ExistenceFilterOrBuilder extends
    * 
* * int32 count = 2; + * * @return The count. */ int getCount(); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java new file mode 100644 index 0000000000..8ba63ab0e9 --- /dev/null +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java @@ -0,0 +1,777 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public final class FirestoreProto { + private FirestoreProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_GetDocumentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListDocumentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CreateDocumentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BeginTransactionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BeginTransactionResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CommitRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CommitResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RollbackRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunQueryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunQueryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_PartitionQueryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_PartitionQueryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_TargetChange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_TargetChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchWriteRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchWriteResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n#google/firestore/v1/firestore.proto\022\023g" + + "oogle.firestore.v1\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032\037googl" + + "e/api/field_behavior.proto\032,google/fires" + + "tore/v1/aggregation_result.proto\032 google" + + "/firestore/v1/common.proto\032\"google/fires" + + "tore/v1/document.proto\032\037google/firestore" + + "/v1/query.proto\032\037google/firestore/v1/wri" + + "te.proto\032\033google/protobuf/empty.proto\032\037g" + + "oogle/protobuf/timestamp.proto\032\027google/r" + + "pc/status.proto\"\270\001\n\022GetDocumentRequest\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\002\022/\n\004mask\030\002 \001(\0132!.google" + + ".firestore.v1.DocumentMask\022\025\n\013transactio" + + "n\030\003 \001(\014H\000\022/\n\tread_time\030\005 \001(\0132\032.google.pr" + + "otobuf.TimestampH\000B\026\n\024consistency_select" + + "or\"\247\002\n\024ListDocumentsRequest\022\023\n\006parent\030\001 " + + "\001(\tB\003\340A\002\022\032\n\rcollection_id\030\002 \001(\tB\003\340A\002\022\021\n\t" + + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n\010o" + + "rder_by\030\006 \001(\t\022/\n\004mask\030\007 \001(\0132!.google.fir" + + "estore.v1.DocumentMask\022\025\n\013transaction\030\010 " + + "\001(\014H\000\022/\n\tread_time\030\n \001(\0132\032.google.protob" + + "uf.TimestampH\000\022\024\n\014show_missing\030\014 \001(\010B\026\n\024" + + "consistency_selector\"b\n\025ListDocumentsRes" + + "ponse\0220\n\tdocuments\030\001 \003(\0132\035.google.firest" + + "ore.v1.Document\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\304\001\n\025CreateDocumentRequest\022\023\n\006parent\030\001 \001" + + "(\tB\003\340A\002\022\032\n\rcollection_id\030\002 \001(\tB\003\340A\002\022\023\n\013d" + + "ocument_id\030\003 \001(\t\0224\n\010document\030\004 \001(\0132\035.goo" + + "gle.firestore.v1.DocumentB\003\340A\002\022/\n\004mask\030\005" + + " \001(\0132!.google.firestore.v1.DocumentMask\"" + + "\363\001\n\025UpdateDocumentRequest\0224\n\010document\030\001 " + + "\001(\0132\035.google.firestore.v1.DocumentB\003\340A\002\022" + + "6\n\013update_mask\030\002 \001(\0132!.google.firestore." + + "v1.DocumentMask\022/\n\004mask\030\003 \001(\0132!.google.f" + + "irestore.v1.DocumentMask\022;\n\020current_docu" + + "ment\030\004 \001(\0132!.google.firestore.v1.Precond" + + "ition\"g\n\025DeleteDocumentRequest\022\021\n\004name\030\001" + + " \001(\tB\003\340A\002\022;\n\020current_document\030\002 \001(\0132!.go" + + "ogle.firestore.v1.Precondition\"\231\002\n\030Batch" + + "GetDocumentsRequest\022\025\n\010database\030\001 \001(\tB\003\340" + + "A\002\022\021\n\tdocuments\030\002 \003(\t\022/\n\004mask\030\003 \001(\0132!.go" + + "ogle.firestore.v1.DocumentMask\022\025\n\013transa" + + "ction\030\004 \001(\014H\000\022B\n\017new_transaction\030\005 \001(\0132\'" + + ".google.firestore.v1.TransactionOptionsH" + + "\000\022/\n\tread_time\030\007 \001(\0132\032.google.protobuf.T" + + "imestampH\000B\026\n\024consistency_selector\"\254\001\n\031B" + + "atchGetDocumentsResponse\022.\n\005found\030\001 \001(\0132" + + "\035.google.firestore.v1.DocumentH\000\022\021\n\007miss" + + "ing\030\002 \001(\tH\000\022\023\n\013transaction\030\003 \001(\014\022-\n\tread" + + "_time\030\004 \001(\0132\032.google.protobuf.TimestampB" + + "\010\n\006result\"j\n\027BeginTransactionRequest\022\025\n\010" + + "database\030\001 \001(\tB\003\340A\002\0228\n\007options\030\002 \001(\0132\'.g" + + "oogle.firestore.v1.TransactionOptions\"/\n" + + "\030BeginTransactionResponse\022\023\n\013transaction" + + "\030\001 \001(\014\"g\n\rCommitRequest\022\025\n\010database\030\001 \001(" + + "\tB\003\340A\002\022*\n\006writes\030\002 \003(\0132\032.google.firestor" + + "e.v1.Write\022\023\n\013transaction\030\003 \001(\014\"z\n\016Commi" + + "tResponse\0227\n\rwrite_results\030\001 \003(\0132 .googl" + + "e.firestore.v1.WriteResult\022/\n\013commit_tim" + + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\"B\n\017R" + + "ollbackRequest\022\025\n\010database\030\001 \001(\tB\003\340A\002\022\030\n" + + "\013transaction\030\002 \001(\014B\003\340A\002\"\232\002\n\017RunQueryRequ" + + "est\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022@\n\020structured_q" + + "uery\030\002 \001(\0132$.google.firestore.v1.Structu" + + "redQueryH\000\022\025\n\013transaction\030\005 \001(\014H\001\022B\n\017new" + + "_transaction\030\006 \001(\0132\'.google.firestore.v1" + + ".TransactionOptionsH\001\022/\n\tread_time\030\007 \001(\013" + + "2\032.google.protobuf.TimestampH\001B\014\n\nquery_" + + "typeB\026\n\024consistency_selector\"\311\001\n\020RunQuer" + + "yResponse\022\023\n\013transaction\030\002 \001(\014\022/\n\010docume" + + "nt\030\001 \001(\0132\035.google.firestore.v1.Document\022" + + "-\n\tread_time\030\003 \001(\0132\032.google.protobuf.Tim" + + "estamp\022\027\n\017skipped_results\030\004 \001(\005\022\016\n\004done\030" + + "\006 \001(\010H\000B\027\n\025continuation_selector\"\274\002\n\032Run" + + "AggregationQueryRequest\022\023\n\006parent\030\001 \001(\tB" + + "\003\340A\002\022W\n\034structured_aggregation_query\030\002 \001" + + "(\0132/.google.firestore.v1.StructuredAggre" + + "gationQueryH\000\022\025\n\013transaction\030\004 \001(\014H\001\022B\n\017" + + "new_transaction\030\005 \001(\0132\'.google.firestore" + + ".v1.TransactionOptionsH\001\022/\n\tread_time\030\006 " + + "\001(\0132\032.google.protobuf.TimestampH\001B\014\n\nque" + + "ry_typeB\026\n\024consistency_selector\"\231\001\n\033RunA" + + "ggregationQueryResponse\0226\n\006result\030\001 \001(\0132" + + "&.google.firestore.v1.AggregationResult\022" + + "\023\n\013transaction\030\002 \001(\014\022-\n\tread_time\030\003 \001(\0132" + + "\032.google.protobuf.Timestamp\"\205\002\n\025Partitio" + + "nQueryRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022@\n\020st" + + "ructured_query\030\002 \001(\0132$.google.firestore." + + "v1.StructuredQueryH\000\022\027\n\017partition_count\030" + + "\003 \001(\003\022\022\n\npage_token\030\004 \001(\t\022\021\n\tpage_size\030\005" + + " \001(\005\022/\n\tread_time\030\006 \001(\0132\032.google.protobu" + + "f.TimestampH\001B\014\n\nquery_typeB\026\n\024consisten" + + "cy_selector\"b\n\026PartitionQueryResponse\022/\n" + + "\npartitions\030\001 \003(\0132\033.google.firestore.v1." + + "Cursor\022\027\n\017next_page_token\030\002 \001(\t\"\350\001\n\014Writ" + + "eRequest\022\025\n\010database\030\001 \001(\tB\003\340A\002\022\021\n\tstrea" + + "m_id\030\002 \001(\t\022*\n\006writes\030\003 \003(\0132\032.google.fire" + + "store.v1.Write\022\024\n\014stream_token\030\004 \001(\014\022=\n\006" + + "labels\030\005 \003(\0132-.google.firestore.v1.Write" + + "Request.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\242\001\n\rWriteResp" + + "onse\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.fi" + + "restore.v1.WriteResult\022/\n\013commit_time\030\004 " + + "\001(\0132\032.google.protobuf.Timestamp\"\362\001\n\rList" + + "enRequest\022\025\n\010database\030\001 \001(\tB\003\340A\002\0221\n\nadd_" + + "target\030\002 \001(\0132\033.google.firestore.v1.Targe" + + "tH\000\022\027\n\rremove_target\030\003 \001(\005H\000\022>\n\006labels\030\004" + + " \003(\0132..google.firestore.v1.ListenRequest" + + ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001B\017\n\rtarget_change\"\325\002\n" + + "\016ListenResponse\022:\n\rtarget_change\030\002 \001(\0132!" + + ".google.firestore.v1.TargetChangeH\000\022>\n\017d" + + "ocument_change\030\003 \001(\0132#.google.firestore." + + "v1.DocumentChangeH\000\022>\n\017document_delete\030\004" + + " \001(\0132#.google.firestore.v1.DocumentDelet" + + "eH\000\022>\n\017document_remove\030\006 \001(\0132#.google.fi" + + "restore.v1.DocumentRemoveH\000\0226\n\006filter\030\005 " + + "\001(\0132$.google.firestore.v1.ExistenceFilte" + + "rH\000B\017\n\rresponse_type\"\241\003\n\006Target\0228\n\005query" + + "\030\002 \001(\0132\'.google.firestore.v1.Target.Quer" + + "yTargetH\000\022@\n\tdocuments\030\003 \001(\0132+.google.fi" + + "restore.v1.Target.DocumentsTargetH\000\022\026\n\014r" + + "esume_token\030\004 \001(\014H\001\022/\n\tread_time\030\013 \001(\0132\032" + + ".google.protobuf.TimestampH\001\022\021\n\ttarget_i" + + "d\030\005 \001(\005\022\014\n\004once\030\006 \001(\010\032$\n\017DocumentsTarget" + + "\022\021\n\tdocuments\030\002 \003(\t\032m\n\013QueryTarget\022\016\n\006pa" + + "rent\030\001 \001(\t\022@\n\020structured_query\030\002 \001(\0132$.g" + + "oogle.firestore.v1.StructuredQueryH\000B\014\n\n" + + "query_typeB\r\n\013target_typeB\r\n\013resume_type" + + "\"\252\002\n\014TargetChange\022N\n\022target_change_type\030" + + "\001 \001(\01622.google.firestore.v1.TargetChange" + + ".TargetChangeType\022\022\n\ntarget_ids\030\002 \003(\005\022!\n" + + "\005cause\030\003 \001(\0132\022.google.rpc.Status\022\024\n\014resu" + + "me_token\030\004 \001(\014\022-\n\tread_time\030\006 \001(\0132\032.goog" + + "le.protobuf.Timestamp\"N\n\020TargetChangeTyp" + + "e\022\r\n\tNO_CHANGE\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\022\013\n" + + "\007CURRENT\020\003\022\t\n\005RESET\020\004\"\237\001\n\030ListCollection" + + "IdsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_" + + "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/\n\tread_t" + + "ime\030\004 \001(\0132\032.google.protobuf.TimestampH\000B" + + "\026\n\024consistency_selector\"L\n\031ListCollectio" + + "nIdsResponse\022\026\n\016collection_ids\030\001 \003(\t\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\311\001\n\021BatchWriteRequ" + + "est\022\025\n\010database\030\001 \001(\tB\003\340A\002\022*\n\006writes\030\002 \003" + + "(\0132\032.google.firestore.v1.Write\022B\n\006labels" + + "\030\003 \003(\01322.google.firestore.v1.BatchWriteR" + + "equest.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"q\n\022BatchWriteR" + + "esponse\0227\n\rwrite_results\030\001 \003(\0132 .google." + + "firestore.v1.WriteResult\022\"\n\006status\030\002 \003(\013" + + "2\022.google.rpc.Status2\332\031\n\tFirestore\022\217\001\n\013G" + + "etDocument\022\'.google.firestore.v1.GetDocu" + + "mentRequest\032\035.google.firestore.v1.Docume" + + "nt\"8\202\323\344\223\0022\0220/v1/{name=projects/*/databas" + + "es/*/documents/*/**}\022\365\001\n\rListDocuments\022)" + + ".google.firestore.v1.ListDocumentsReques" + + "t\032*.google.firestore.v1.ListDocumentsRes" + + "ponse\"\214\001\202\323\344\223\002\205\001\022B/v1/{parent=projects/*/" + + "databases/*/documents/*/**}/{collection_" + + "id}Z?\022=/v1/{parent=projects/*/databases/" + + "*/documents}/{collection_id}\022\277\001\n\016UpdateD" + + "ocument\022*.google.firestore.v1.UpdateDocu" + + "mentRequest\032\035.google.firestore.v1.Docume" + + "nt\"b\202\323\344\223\002E29/v1/{document.name=projects/" + + "*/databases/*/documents/*/**}:\010document\332" + + "A\024document,update_mask\022\225\001\n\016DeleteDocumen" + + "t\022*.google.firestore.v1.DeleteDocumentRe" + + "quest\032\026.google.protobuf.Empty\"?\202\323\344\223\0022*0/" + + "v1/{name=projects/*/databases/*/document" + + "s/*/**}\332A\004name\022\271\001\n\021BatchGetDocuments\022-.g" + + "oogle.firestore.v1.BatchGetDocumentsRequ" + + "est\032..google.firestore.v1.BatchGetDocume" + + "ntsResponse\"C\202\323\344\223\002=\"8/v1/{database=proje" + + "cts/*/databases/*}/documents:batchGet:\001*" + + "0\001\022\307\001\n\020BeginTransaction\022,.google.firesto" + + "re.v1.BeginTransactionRequest\032-.google.f" + + "irestore.v1.BeginTransactionResponse\"V\202\323" + + "\344\223\002E\"@/v1/{database=projects/*/databases" + + "/*}/documents:beginTransaction:\001*\332A\010data" + + "base\022\246\001\n\006Commit\022\".google.firestore.v1.Co" + + "mmitRequest\032#.google.firestore.v1.Commit" + + "Response\"S\202\323\344\223\002;\"6/v1/{database=projects" + + "/*/databases/*}/documents:commit:\001*\332A\017da" + + "tabase,writes\022\244\001\n\010Rollback\022$.google.fire" + + "store.v1.RollbackRequest\032\026.google.protob" + + "uf.Empty\"Z\202\323\344\223\002=\"8/v1/{database=projects" + + "/*/databases/*}/documents:rollback:\001*\332A\024" + + "database,transaction\022\337\001\n\010RunQuery\022$.goog" + + "le.firestore.v1.RunQueryRequest\032%.google" + + ".firestore.v1.RunQueryResponse\"\203\001\202\323\344\223\002}\"" + + "6/v1/{parent=projects/*/databases/*/docu" + + "ments}:runQuery:\001*Z@\";/v1/{parent=projec" + + "ts/*/databases/*/documents/*/**}:runQuer" + + "y:\001*0\001\022\227\002\n\023RunAggregationQuery\022/.google." + + "firestore.v1.RunAggregationQueryRequest\032" + + "0.google.firestore.v1.RunAggregationQuer" + + "yResponse\"\232\001\202\323\344\223\002\223\001\"A/v1/{parent=project" + + "s/*/databases/*/documents}:runAggregatio" + + "nQuery:\001*ZK\"F/v1/{parent=projects/*/data" + + "bases/*/documents/*/**}:runAggregationQu" + + "ery:\001*0\001\022\374\001\n\016PartitionQuery\022*.google.fir" + + "estore.v1.PartitionQueryRequest\032+.google" + + ".firestore.v1.PartitionQueryResponse\"\220\001\202" + + "\323\344\223\002\211\001\" * The request for [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument]. *
* * Protobuf type {@code google.firestore.v1.GetDocumentRequest} */ -public final class GetDocumentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDocumentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.GetDocumentRequest) GetDocumentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDocumentRequest.newBuilder() to construct. private GetDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDocumentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDocumentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_GetDocumentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.GetDocumentRequest.class, com.google.firestore.v1.GetDocumentRequest.Builder.class); + com.google.firestore.v1.GetDocumentRequest.class, + com.google.firestore.v1.GetDocumentRequest.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; + public enum ConsistencySelectorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(3), READ_TIME(5), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; + private ConsistencySelectorCase(int value) { this.value = value; } @@ -72,32 +94,38 @@ 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; 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 @@ -106,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 { @@ -140,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.
    * If the document has a field that is not present in this mask, that field
@@ -147,6 +177,7 @@ public java.lang.String getName() {
    * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return Whether the mask field is set. */ @java.lang.Override @@ -154,6 +185,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -161,6 +194,7 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return The mask. */ @java.lang.Override @@ -168,6 +202,8 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -183,11 +219,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 @@ -195,11 +234,14 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 3; } /** + * + * *
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; + * * @return The transaction. */ @java.lang.Override @@ -212,12 +254,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 @@ -225,22 +270,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.
@@ -251,12 +301,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;
@@ -268,8 +319,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_);
     }
@@ -277,8 +327,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_);
@@ -296,17 +345,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;
@@ -316,29 +365,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:
@@ -377,130 +423,136 @@ 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].
    * 
* * 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(); @@ -521,9 +573,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 @@ -542,7 +594,8 @@ public com.google.firestore.v1.GetDocumentRequest build() { @java.lang.Override public com.google.firestore.v1.GetDocumentRequest buildPartial() { - com.google.firestore.v1.GetDocumentRequest result = new com.google.firestore.v1.GetDocumentRequest(this); + com.google.firestore.v1.GetDocumentRequest result = + new com.google.firestore.v1.GetDocumentRequest(this); result.name_ = name_; if (maskBuilder_ == null) { result.mask_ = mask_; @@ -568,38 +621,39 @@ public com.google.firestore.v1.GetDocumentRequest 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.v1.GetDocumentRequest) { - return mergeFrom((com.google.firestore.v1.GetDocumentRequest)other); + return mergeFrom((com.google.firestore.v1.GetDocumentRequest) other); } else { super.mergeFrom(other); return this; @@ -616,17 +670,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(); @@ -654,36 +711,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); + case 10: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry); - 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: + 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) { @@ -693,12 +751,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() { @@ -708,22 +766,23 @@ public Builder clearConsistencySelector() { return this; } - 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; @@ -732,21 +791,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 { @@ -754,57 +814,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -812,8 +879,13 @@ public Builder setNameBytes( private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + maskBuilder_; /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -821,12 +893,15 @@ public Builder setNameBytes(
      * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return Whether the mask field is set. */ public boolean hasMask() { return maskBuilder_ != null || mask_ != null; } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -834,6 +909,7 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -844,6 +920,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -866,6 +944,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -874,8 +954,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();
         onChanged();
@@ -886,6 +965,8 @@ public Builder setMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -898,7 +979,9 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
         if (mask_ != null) {
           mask_ =
-            com.google.firestore.v1.DocumentMask.newBuilder(mask_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.DocumentMask.newBuilder(mask_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           mask_ = value;
         }
@@ -910,6 +993,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -930,6 +1015,8 @@ public Builder clearMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -939,11 +1026,13 @@ public Builder clearMask() {
      * .google.firestore.v1.DocumentMask mask = 2;
      */
     public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
-      
+
       onChanged();
       return getMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -956,11 +1045,12 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ?
-            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -970,36 +1060,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() { @@ -1009,29 +1108,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(); - } - consistencySelectorCase_ = 3; + 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() { @@ -1044,14 +1149,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 @@ -1059,12 +1170,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 @@ -1082,6 +1196,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.
@@ -1103,6 +1219,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.
@@ -1110,8 +1228,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();
@@ -1122,6 +1239,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1131,10 +1250,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;
         }
@@ -1150,6 +1272,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.
@@ -1174,6 +1298,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1185,6 +1311,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.
@@ -1204,6 +1332,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.
@@ -1212,26 +1342,32 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 5;
-      onChanged();;
+      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);
     }
 
@@ -1241,12 +1377,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();
   }
@@ -1255,27 +1391,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;
@@ -1290,6 +1426,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.GetDocumentRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
index df242cec9f..83a820a3f3 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
@@ -1,35 +1,58 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface GetDocumentRequestOrBuilder extends
+public interface GetDocumentRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.GetDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The resource name of the Document to get. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the Document to get. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -37,10 +60,13 @@ public interface GetDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return Whether the mask field is set. */ boolean hasMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -48,10 +74,13 @@ public interface GetDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -63,45 +92,59 @@ public interface GetDocumentRequestOrBuilder extends
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
@@ -111,5 +154,6 @@ public interface GetDocumentRequestOrBuilder extends
    */
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-  public com.google.firestore.v1.GetDocumentRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  public com.google.firestore.v1.GetDocumentRequest.ConsistencySelectorCase
+      getConsistencySelectorCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
index 1ce6d2e245..309aa14c3c 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,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.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
  * 
* * 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_ = ""; @@ -26,37 +44,41 @@ private ListCollectionIdsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCollectionIdsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListCollectionIdsRequest.class, com.google.firestore.v1.ListCollectionIdsRequest.Builder.class); + com.google.firestore.v1.ListCollectionIdsRequest.class, + com.google.firestore.v1.ListCollectionIdsRequest.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; + public enum ConsistencySelectorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_TIME(4), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; + private ConsistencySelectorCase(int value) { this.value = value; } @@ -72,25 +94,29 @@ 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -99,6 +125,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -107,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}`.
@@ -123,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 { @@ -143,11 +170,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -158,12 +188,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -172,30 +205,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 { @@ -205,12 +238,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 @@ -218,22 +254,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.
@@ -244,12 +285,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;
@@ -261,8 +303,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_);
     }
@@ -288,15 +329,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;
@@ -306,24 +347,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:
@@ -358,130 +396,136 @@ 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].
    * 
* * 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 +544,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_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,7 +565,8 @@ public com.google.firestore.v1.ListCollectionIdsRequest build() { @java.lang.Override public com.google.firestore.v1.ListCollectionIdsRequest buildPartial() { - com.google.firestore.v1.ListCollectionIdsRequest result = new com.google.firestore.v1.ListCollectionIdsRequest(this); + com.google.firestore.v1.ListCollectionIdsRequest result = + new com.google.firestore.v1.ListCollectionIdsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -541,38 +586,39 @@ public com.google.firestore.v1.ListCollectionIdsRequest 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.v1.ListCollectionIdsRequest) { - return mergeFrom((com.google.firestore.v1.ListCollectionIdsRequest)other); + return mergeFrom((com.google.firestore.v1.ListCollectionIdsRequest) other); } else { super.mergeFrom(other); return this; @@ -580,7 +626,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_; onChanged(); @@ -593,13 +640,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(); @@ -627,34 +676,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); - 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: + 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) { @@ -664,12 +716,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() { @@ -679,9 +731,10 @@ public Builder clearConsistencySelector() { return this; } - private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -690,13 +743,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; @@ -705,6 +758,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -713,15 +768,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 { @@ -729,6 +783,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -737,20 +793,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -759,15 +817,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -776,28 +837,31 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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 @@ -805,30 +869,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -836,19 +906,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; @@ -857,21 +929,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 { @@ -879,71 +952,84 @@ 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } 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 @@ -951,12 +1037,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 @@ -974,6 +1063,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -995,6 +1086,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.
@@ -1002,8 +1095,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();
@@ -1014,6 +1106,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1023,10 +1117,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;
         }
@@ -1042,6 +1139,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.
@@ -1066,6 +1165,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1077,6 +1178,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.
@@ -1096,6 +1199,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1104,26 +1209,32 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 4;
-      onChanged();;
+      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);
     }
 
@@ -1133,12 +1244,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();
   }
@@ -1147,27 +1258,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;
@@ -1182,6 +1293,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 1262f1e47f..7a09c09957 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface ListCollectionIdsRequestOrBuilder extends
+public interface ListCollectionIdsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListCollectionIdsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -16,10 +34,13 @@ public interface ListCollectionIdsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -28,64 +49,80 @@ public interface ListCollectionIdsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token. Must be a value from
    * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token. Must be a value from
    * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -95,5 +132,6 @@ public interface ListCollectionIdsRequestOrBuilder extends
    */
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-  public com.google.firestore.v1.ListCollectionIdsRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  public com.google.firestore.v1.ListCollectionIdsRequest.ConsistencySelectorCase
+      getConsistencySelectorCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
index 500acac4cb..a477f15e9f 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,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 from [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
  * 
* * Protobuf type {@code google.firestore.v1.ListCollectionIdsResponse} */ -public final class ListCollectionIdsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCollectionIdsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ListCollectionIdsResponse) ListCollectionIdsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCollectionIdsResponse.newBuilder() to construct. private ListCollectionIdsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCollectionIdsResponse() { collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; nextPageToken_ = ""; @@ -26,60 +44,69 @@ private ListCollectionIdsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCollectionIdsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListCollectionIdsResponse.class, com.google.firestore.v1.ListCollectionIdsResponse.Builder.class); + com.google.firestore.v1.ListCollectionIdsResponse.class, + com.google.firestore.v1.ListCollectionIdsResponse.Builder.class); } public static final int COLLECTION_IDS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList collectionIds_; /** + * + * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_; } /** + * + * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -87,27 +114,32 @@ 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; 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 +148,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 +179,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,8 +191,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 +226,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,129 +259,135 @@ 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].
    * 
* * 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(); @@ -362,9 +399,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; } @java.lang.Override @@ -383,7 +420,8 @@ public com.google.firestore.v1.ListCollectionIdsResponse build() { @java.lang.Override public com.google.firestore.v1.ListCollectionIdsResponse buildPartial() { - com.google.firestore.v1.ListCollectionIdsResponse result = new com.google.firestore.v1.ListCollectionIdsResponse(this); + com.google.firestore.v1.ListCollectionIdsResponse result = + new com.google.firestore.v1.ListCollectionIdsResponse(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { collectionIds_ = collectionIds_.getUnmodifiableView(); @@ -399,38 +437,39 @@ public com.google.firestore.v1.ListCollectionIdsResponse 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.v1.ListCollectionIdsResponse) { - return mergeFrom((com.google.firestore.v1.ListCollectionIdsResponse)other); + return mergeFrom((com.google.firestore.v1.ListCollectionIdsResponse) other); } else { super.mergeFrom(other); return this; @@ -438,7 +477,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_; @@ -479,23 +519,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(); - - 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(); + + 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) { @@ -505,44 +548,55 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList collectionIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -550,80 +604,90 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds( - int index, java.lang.String value) { + public Builder setCollectionIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds( - java.lang.String value) { + public Builder addCollectionIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCollectionIdsIsMutable(); + throw new NullPointerException(); + } + ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds( - java.lang.Iterable values) { + public Builder addAllCollectionIds(java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); onChanged(); return this; } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -633,20 +697,22 @@ public Builder clearCollectionIds() { return this; } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes( - com.google.protobuf.ByteString value) { + public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); @@ -655,18 +721,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; @@ -675,20 +743,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 { @@ -696,61 +765,68 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -760,12 +836,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(); } @@ -774,27 +850,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; @@ -809,6 +885,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 75% 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 e5e24e92ff..32e1661f33 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,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.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
  * 
* * 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_ = ""; @@ -28,38 +46,42 @@ private ListDocumentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDocumentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListDocumentsRequest.class, com.google.firestore.v1.ListDocumentsRequest.Builder.class); + com.google.firestore.v1.ListDocumentsRequest.class, + com.google.firestore.v1.ListDocumentsRequest.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; + public enum ConsistencySelectorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(8), READ_TIME(10), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; + private ConsistencySelectorCase(int value) { this.value = value; } @@ -75,26 +97,31 @@ 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -105,6 +132,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -113,14 +141,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 +160,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -151,12 +179,15 @@ public java.lang.String getParent() { public static final int COLLECTION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object collectionId_; /** + * + * *
    * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
    * or `messages`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The collectionId. */ @java.lang.Override @@ -165,30 +196,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`
    * or `messages`.
    * 
* * 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 { @@ -199,11 +230,14 @@ public java.lang.String getCollectionId() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of documents to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -214,11 +248,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * The `next_page_token` value returned from a previous List request, if any.
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -227,29 +264,29 @@ 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 List request, if any.
    * 
* * 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 { @@ -260,11 +297,14 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 6; private volatile java.lang.Object orderBy_; /** + * + * *
    * The order to sort results by. For example: `priority desc, name`.
    * 
* * string order_by = 6; + * * @return The orderBy. */ @java.lang.Override @@ -273,29 +313,29 @@ 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; } } /** + * + * *
    * The order to sort results by. For example: `priority desc, name`.
    * 
* * string order_by = 6; + * * @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 { @@ -306,6 +346,8 @@ public java.lang.String getOrderBy() { public static final int MASK_FIELD_NUMBER = 7; private com.google.firestore.v1.DocumentMask mask_; /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
@@ -313,6 +355,7 @@ public java.lang.String getOrderBy() {
    * 
* * .google.firestore.v1.DocumentMask mask = 7; + * * @return Whether the mask field is set. */ @java.lang.Override @@ -320,6 +363,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
@@ -327,6 +372,7 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 7; + * * @return The mask. */ @java.lang.Override @@ -334,6 +380,8 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
@@ -349,11 +397,14 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
 
   public static final int TRANSACTION_FIELD_NUMBER = 8;
   /**
+   *
+   *
    * 
    * Reads documents in a transaction.
    * 
* * bytes transaction = 8; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -361,11 +412,14 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 8; } /** + * + * *
    * Reads documents in a transaction.
    * 
* * bytes transaction = 8; + * * @return The transaction. */ @java.lang.Override @@ -378,12 +432,15 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 10; /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -391,22 +448,27 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 10; } /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 10) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -417,7 +479,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();
   }
@@ -425,6 +487,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int SHOW_MISSING_FIELD_NUMBER = 12;
   private boolean showMissing_;
   /**
+   *
+   *
    * 
    * If the list should show missing documents. A missing document is a
    * document that does not exist but has sub-documents. These documents will
@@ -435,6 +499,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * bool show_missing = 12; + * * @return The showMissing. */ @java.lang.Override @@ -443,6 +508,7 @@ public boolean getShowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -454,8 +520,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_); } @@ -475,8 +540,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_); @@ -500,8 +564,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_); @@ -510,21 +573,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; @@ -534,39 +596,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: @@ -597,8 +651,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; @@ -616,130 +669,136 @@ 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].
    * 
* * 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(); @@ -770,9 +829,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 @@ -791,7 +850,8 @@ public com.google.firestore.v1.ListDocumentsRequest build() { @java.lang.Override public com.google.firestore.v1.ListDocumentsRequest buildPartial() { - com.google.firestore.v1.ListDocumentsRequest result = new com.google.firestore.v1.ListDocumentsRequest(this); + com.google.firestore.v1.ListDocumentsRequest result = + new com.google.firestore.v1.ListDocumentsRequest(this); result.parent_ = parent_; result.collectionId_ = collectionId_; result.pageSize_ = pageSize_; @@ -822,38 +882,39 @@ public com.google.firestore.v1.ListDocumentsRequest 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.v1.ListDocumentsRequest) { - return mergeFrom((com.google.firestore.v1.ListDocumentsRequest)other); + return mergeFrom((com.google.firestore.v1.ListDocumentsRequest) other); } else { super.mergeFrom(other); return this; @@ -888,17 +949,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(); @@ -926,61 +990,67 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - collectionId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); - - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 50: { - orderBy_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - input.readMessage( - getMaskFieldBuilder().getBuilder(), - extensionRegistry); - - 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(); - - break; - } // case 96 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + collectionId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 50: + { + orderBy_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry); + + 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(); + + 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) { @@ -990,12 +1060,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() { @@ -1005,9 +1075,10 @@ public Builder clearConsistencySelector() { return this; } - private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1018,13 +1089,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; @@ -1033,6 +1104,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1043,15 +1116,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 { @@ -1059,6 +1131,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1069,20 +1143,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1093,15 +1169,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1112,16 +1191,16 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1129,19 +1208,21 @@ public Builder setParentBytes( private java.lang.Object collectionId_ = ""; /** + * + * *
      * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
      * or `messages`.
      * 
* * 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; @@ -1150,21 +1231,22 @@ public java.lang.String getCollectionId() { } } /** + * + * *
      * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
      * or `messages`.
      * 
* * 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 { @@ -1172,69 +1254,79 @@ public java.lang.String getCollectionId() { } } /** + * + * *
      * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
      * or `messages`.
      * 
* * 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) { + public Builder setCollectionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + collectionId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
      * or `messages`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCollectionId() { - + collectionId_ = getDefaultInstance().getCollectionId(); onChanged(); return this; } /** + * + * *
      * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
      * or `messages`.
      * 
* * 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) { + public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + collectionId_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of documents to return.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1242,30 +1334,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of documents to return.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of documents to return.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1273,18 +1371,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `next_page_token` value returned from a previous List request, if any.
      * 
* * 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; @@ -1293,20 +1393,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `next_page_token` value returned from a previous List request, if any.
      * 
* * 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 { @@ -1314,54 +1415,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `next_page_token` value returned from a previous List request, if any.
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The `next_page_token` value returned from a previous List request, if any.
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The `next_page_token` value returned from a previous List request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1369,18 +1477,20 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * The order to sort results by. For example: `priority desc, name`.
      * 
* * string order_by = 6; + * * @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; @@ -1389,20 +1499,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The order to sort results by. For example: `priority desc, name`.
      * 
* * string order_by = 6; + * * @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 { @@ -1410,54 +1521,61 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The order to sort results by. For example: `priority desc, name`.
      * 
* * string order_by = 6; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * The order to sort results by. For example: `priority desc, name`.
      * 
* * string order_by = 6; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * The order to sort results by. For example: `priority desc, name`.
      * 
* * string order_by = 6; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1465,8 +1583,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_; /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1474,12 +1597,15 @@ public Builder setOrderByBytes(
      * 
* * .google.firestore.v1.DocumentMask mask = 7; + * * @return Whether the mask field is set. */ public boolean hasMask() { return maskBuilder_ != null || mask_ != null; } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1487,6 +1613,7 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 7; + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1497,6 +1624,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1519,6 +1648,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1527,8 +1658,7 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 7;
      */
-    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();
         onChanged();
@@ -1539,6 +1669,8 @@ public Builder setMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1551,7 +1683,9 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
         if (mask_ != null) {
           mask_ =
-            com.google.firestore.v1.DocumentMask.newBuilder(mask_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.DocumentMask.newBuilder(mask_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           mask_ = value;
         }
@@ -1563,6 +1697,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1583,6 +1719,8 @@ public Builder clearMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1592,11 +1730,13 @@ public Builder clearMask() {
      * .google.firestore.v1.DocumentMask mask = 7;
      */
     public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
-      
+
       onChanged();
       return getMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1609,11 +1749,12 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ?
-            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
@@ -1623,36 +1764,45 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 7;
      */
     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 = 8; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 8; } /** + * + * *
      * Reads documents in a transaction.
      * 
* * bytes transaction = 8; + * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1662,29 +1812,35 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * Reads documents in a 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(); - } - consistencySelectorCase_ = 8; + throw new NullPointerException(); + } + consistencySelectorCase_ = 8; consistencySelector_ = value; onChanged(); return this; } /** + * + * *
      * Reads documents in a transaction.
      * 
* * bytes transaction = 8; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1697,14 +1853,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 documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1712,12 +1874,15 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 10; } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return The readTime. */ @java.lang.Override @@ -1735,6 +1900,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1756,6 +1923,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.
@@ -1763,8 +1932,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();
@@ -1775,6 +1943,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1784,10 +1954,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;
         }
@@ -1803,6 +1976,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.
@@ -1827,6 +2002,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1838,6 +2015,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.
@@ -1857,6 +2036,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1865,26 +2046,34 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 10;
-      onChanged();;
+      onChanged();
+      ;
       return readTimeBuilder_;
     }
 
-    private boolean showMissing_ ;
+    private boolean showMissing_;
     /**
+     *
+     *
      * 
      * If the list should show missing documents. A missing document is a
      * document that does not exist but has sub-documents. These documents will
@@ -1895,6 +2084,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * 
* * bool show_missing = 12; + * * @return The showMissing. */ @java.lang.Override @@ -1902,6 +2092,8 @@ public boolean getShowMissing() { return showMissing_; } /** + * + * *
      * If the list should show missing documents. A missing document is a
      * document that does not exist but has sub-documents. These documents will
@@ -1912,16 +2104,19 @@ public boolean getShowMissing() {
      * 
* * bool show_missing = 12; + * * @param value The showMissing to set. * @return This builder for chaining. */ public Builder setShowMissing(boolean value) { - + showMissing_ = value; onChanged(); return this; } /** + * + * *
      * If the list should show missing documents. A missing document is a
      * document that does not exist but has sub-documents. These documents will
@@ -1932,17 +2127,18 @@ public Builder setShowMissing(boolean value) {
      * 
* * bool show_missing = 12; + * * @return This builder for chaining. */ public Builder clearShowMissing() { - + showMissing_ = false; 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); } @@ -1952,12 +2148,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(); } @@ -1966,27 +2162,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; @@ -2001,6 +2197,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 83% 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 057a4eb4cd..159db8632f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface ListDocumentsRequestOrBuilder extends +public interface ListDocumentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListDocumentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -18,10 +36,13 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -32,84 +53,104 @@ 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(); /** + * + * *
    * Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
    * or `messages`.
    * 
* * 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`
    * or `messages`.
    * 
* * 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 maximum number of documents to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The `next_page_token` value returned from a previous List request, if any.
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The `next_page_token` value returned from a previous List request, if any.
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The order to sort results by. For example: `priority desc, name`.
    * 
* * string order_by = 6; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * The order to sort results by. For example: `priority desc, name`.
    * 
* * string order_by = 6; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
@@ -117,10 +158,13 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 7; + * * @return Whether the mask field is set. */ boolean hasMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
@@ -128,10 +172,13 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 7; + * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
@@ -143,45 +190,59 @@ public interface ListDocumentsRequestOrBuilder extends
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Reads documents in a transaction.
    * 
* * bytes transaction = 8; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Reads documents in a transaction.
    * 
* * bytes transaction = 8; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; + * * @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 = 10; + * * @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.
@@ -192,6 +253,8 @@ public interface ListDocumentsRequestOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * If the list should show missing documents. A missing document is a
    * document that does not exist but has sub-documents. These documents will
@@ -202,9 +265,11 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * bool show_missing = 12; + * * @return The showMissing. */ boolean getShowMissing(); - public com.google.firestore.v1.ListDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase(); + public com.google.firestore.v1.ListDocumentsRequest.ConsistencySelectorCase + getConsistencySelectorCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java similarity index 71% 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 4b57c0707a..74894189cf 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,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.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
  * 
* * 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_ = ""; @@ -26,32 +44,35 @@ private ListDocumentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDocumentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListDocumentsResponse.class, com.google.firestore.v1.ListDocumentsResponse.Builder.class); + com.google.firestore.v1.ListDocumentsResponse.class, + com.google.firestore.v1.ListDocumentsResponse.Builder.class); } public static final int DOCUMENTS_FIELD_NUMBER = 1; private java.util.List documents_; /** + * + * *
    * The Documents found.
    * 
@@ -63,6 +84,8 @@ public java.util.List getDocumentsList() { return documents_; } /** + * + * *
    * The Documents found.
    * 
@@ -70,11 +93,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.
    * 
@@ -86,6 +111,8 @@ public int getDocumentsCount() { return documents_.size(); } /** + * + * *
    * The Documents found.
    * 
@@ -97,6 +124,8 @@ public com.google.firestore.v1.Document getDocuments(int index) { return documents_.get(index); } /** + * + * *
    * The Documents found.
    * 
@@ -104,19 +133,21 @@ public com.google.firestore.v1.Document getDocuments(int index) { * repeated .google.firestore.v1.Document documents = 1; */ @java.lang.Override - public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder( - int index) { + public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index) { return documents_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The next page token.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +156,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; } } /** + * + * *
    * The next page token.
    * 
* * 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 { @@ -156,6 +187,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,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 { for (int i = 0; i < documents_.size(); i++) { output.writeMessage(1, documents_.get(i)); } @@ -185,8 +216,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_); @@ -199,17 +229,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; } @@ -232,130 +261,136 @@ 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].
    * 
* * 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(); @@ -372,9 +407,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 @@ -393,7 +428,8 @@ 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); int from_bitField0_ = bitField0_; if (documentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -413,38 +449,39 @@ public com.google.firestore.v1.ListDocumentsResponse 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.v1.ListDocumentsResponse) { - return mergeFrom((com.google.firestore.v1.ListDocumentsResponse)other); + return mergeFrom((com.google.firestore.v1.ListDocumentsResponse) other); } else { super.mergeFrom(other); return this; @@ -471,9 +508,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_); } @@ -509,30 +547,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(); + 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(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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,21 +581,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.
      * 
@@ -571,6 +617,8 @@ public java.util.List getDocumentsList() { } } /** + * + * *
      * The Documents found.
      * 
@@ -585,6 +633,8 @@ public int getDocumentsCount() { } } /** + * + * *
      * The Documents found.
      * 
@@ -599,14 +649,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(); @@ -620,6 +671,8 @@ public Builder setDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -638,6 +691,8 @@ public Builder setDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -658,14 +713,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(); @@ -679,14 +735,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()); @@ -697,6 +754,8 @@ public Builder addDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -715,6 +774,8 @@ public Builder addDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -725,8 +786,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); @@ -734,6 +794,8 @@ public Builder addAllDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -751,6 +813,8 @@ public Builder clearDocuments() { return this; } /** + * + * *
      * The Documents found.
      * 
@@ -768,39 +832,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 { @@ -808,6 +877,8 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder( } } /** + * + * *
      * The Documents found.
      * 
@@ -815,42 +886,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_; @@ -858,18 +934,20 @@ public com.google.firestore.v1.Document.Builder addDocumentsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The next page token.
      * 
* * 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; @@ -878,20 +956,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The next page token.
      * 
* * 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 { @@ -899,61 +978,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The next page token.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next page token.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The next page token.
      * 
* * 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -963,12 +1049,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(); } @@ -977,27 +1063,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; @@ -1012,6 +1098,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 62% 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 d5f8a47540..b32ba462ce 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,41 +54,48 @@ 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); /** + * + * *
    * The next page token.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The next page token.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java index 30c2d39935..124d785369 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java @@ -1,74 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen]
  * 
* * Protobuf type {@code google.firestore.v1.ListenRequest} */ -public final class ListenRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListenRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ListenRequest) ListenRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListenRequest.newBuilder() to construct. private ListenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListenRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListenRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListenRequest.class, com.google.firestore.v1.ListenRequest.Builder.class); + com.google.firestore.v1.ListenRequest.class, + com.google.firestore.v1.ListenRequest.Builder.class); } private int targetChangeCase_ = 0; private java.lang.Object targetChange_; + public enum TargetChangeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ADD_TARGET(2), REMOVE_TARGET(3), TARGETCHANGE_NOT_SET(0); private final int value; + private TargetChangeCase(int value) { this.value = value; } @@ -84,32 +105,38 @@ 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; 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 @@ -118,30 +145,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 { @@ -151,11 +178,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 @@ -163,21 +193,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.
    * 
@@ -187,18 +222,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 @@ -206,11 +244,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 @@ -222,24 +263,23 @@ 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, + ""); } - 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_; } @@ -248,28 +288,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this target change.
    * 
* * 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,11 +319,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels associated with this target change.
    * 
@@ -289,16 +332,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels associated with this target change.
    * 
@@ -306,12 +349,11 @@ public 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(); } @@ -319,6 +361,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,8 +373,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_); } @@ -339,15 +381,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); } @@ -361,23 +398,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; @@ -387,26 +425,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: @@ -445,152 +479,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(); @@ -606,9 +643,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 @@ -627,7 +664,8 @@ public com.google.firestore.v1.ListenRequest build() { @java.lang.Override public com.google.firestore.v1.ListenRequest buildPartial() { - com.google.firestore.v1.ListenRequest result = new com.google.firestore.v1.ListenRequest(this); + com.google.firestore.v1.ListenRequest result = + new com.google.firestore.v1.ListenRequest(this); int from_bitField0_ = bitField0_; result.database_ = database_; if (targetChangeCase_ == 2) { @@ -651,38 +689,39 @@ public com.google.firestore.v1.ListenRequest 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.v1.ListenRequest) { - return mergeFrom((com.google.firestore.v1.ListenRequest)other); + return mergeFrom((com.google.firestore.v1.ListenRequest) other); } else { super.mergeFrom(other); return this; @@ -695,20 +734,22 @@ public Builder mergeFrom(com.google.firestore.v1.ListenRequest other) { database_ = other.database_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); 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(); @@ -736,37 +777,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - - 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()); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = input.readStringRequireUtf8(); + + 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()); + 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) { @@ -776,12 +822,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() { @@ -795,19 +841,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; @@ -816,21 +864,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 { @@ -838,70 +887,83 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; } 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 @@ -909,11 +971,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 @@ -931,6 +996,8 @@ public com.google.firestore.v1.Target getAddTarget() { } } /** + * + * *
      * A target to add to this stream.
      * 
@@ -951,14 +1018,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(); @@ -969,6 +1037,8 @@ public Builder setAddTarget( return this; } /** + * + * *
      * A target to add to this stream.
      * 
@@ -977,10 +1047,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; } @@ -996,6 +1069,8 @@ public Builder mergeAddTarget(com.google.firestore.v1.Target value) { return this; } /** + * + * *
      * A target to add to this stream.
      * 
@@ -1019,6 +1094,8 @@ public Builder clearAddTarget() { return this; } /** + * + * *
      * A target to add to this stream.
      * 
@@ -1029,6 +1106,8 @@ public com.google.firestore.v1.Target.Builder getAddTargetBuilder() { return getAddTargetFieldBuilder().getBuilder(); } /** + * + * *
      * A target to add to this stream.
      * 
@@ -1047,6 +1126,8 @@ public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { } } /** + * + * *
      * A target to add to this stream.
      * 
@@ -1054,41 +1135,51 @@ 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; - onChanged();; + onChanged(); + ; return addTargetBuilder_; } /** + * + * *
      * 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() { @@ -1098,11 +1189,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. */ @@ -1113,11 +1207,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() { @@ -1129,22 +1226,21 @@ 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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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,28 +1252,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this target change.
      * 
* * 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.
      * 
@@ -1185,11 +1283,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this target change.
      * 
@@ -1197,16 +1296,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, 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.
      * 
@@ -1214,12 +1314,11 @@ public 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(); } @@ -1227,69 +1326,66 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - 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() { 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); 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); 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 +1395,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 +1409,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 +1444,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 c06de1bfb6..5044980afc 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.
    * 
@@ -116,20 +154,20 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels associated with this target change.
    * 
* * map<string, string> labels = 4; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); public com.google.firestore.v1.ListenRequest.TargetChangeCase getTargetChangeCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java index 3e8120ecd9..50006f5736 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java @@ -1,56 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].
  * 
* * Protobuf type {@code google.firestore.v1.ListenResponse} */ -public final class ListenResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListenResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ListenResponse) ListenResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListenResponse.newBuilder() to construct. private ListenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListenResponse() { - } + + private ListenResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListenResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListenResponse.class, com.google.firestore.v1.ListenResponse.Builder.class); + com.google.firestore.v1.ListenResponse.class, + com.google.firestore.v1.ListenResponse.Builder.class); } private int responseTypeCase_ = 0; private java.lang.Object responseType_; + public enum ResponseTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TARGET_CHANGE(2), DOCUMENT_CHANGE(3), @@ -59,6 +79,7 @@ public enum ResponseTypeCase FILTER(5), RESPONSETYPE_NOT_SET(0); private final int value; + private ResponseTypeCase(int value) { this.value = value; } @@ -74,33 +95,42 @@ public static ResponseTypeCase valueOf(int value) { public static ResponseTypeCase forNumber(int value) { switch (value) { - case 2: return TARGET_CHANGE; - case 3: return DOCUMENT_CHANGE; - case 4: return DOCUMENT_DELETE; - case 6: return DOCUMENT_REMOVE; - case 5: return FILTER; - case 0: return RESPONSETYPE_NOT_SET; - default: return null; + case 2: + return TARGET_CHANGE; + case 3: + return DOCUMENT_CHANGE; + case 4: + return DOCUMENT_DELETE; + case 6: + return DOCUMENT_REMOVE; + case 5: + return FILTER; + case 0: + return RESPONSETYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResponseTypeCase - getResponseTypeCase() { - return ResponseTypeCase.forNumber( - responseTypeCase_); + public ResponseTypeCase getResponseTypeCase() { + return ResponseTypeCase.forNumber(responseTypeCase_); } public static final int TARGET_CHANGE_FIELD_NUMBER = 2; /** + * + * *
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; + * * @return Whether the targetChange field is set. */ @java.lang.Override @@ -108,21 +138,26 @@ public boolean hasTargetChange() { return responseTypeCase_ == 2; } /** + * + * *
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; + * * @return The targetChange. */ @java.lang.Override public com.google.firestore.v1.TargetChange getTargetChange() { if (responseTypeCase_ == 2) { - return (com.google.firestore.v1.TargetChange) responseType_; + return (com.google.firestore.v1.TargetChange) responseType_; } return com.google.firestore.v1.TargetChange.getDefaultInstance(); } /** + * + * *
    * Targets have changed.
    * 
@@ -132,18 +167,21 @@ public com.google.firestore.v1.TargetChange getTargetChange() { @java.lang.Override public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() { if (responseTypeCase_ == 2) { - return (com.google.firestore.v1.TargetChange) responseType_; + return (com.google.firestore.v1.TargetChange) responseType_; } return com.google.firestore.v1.TargetChange.getDefaultInstance(); } public static final int DOCUMENT_CHANGE_FIELD_NUMBER = 3; /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; + * * @return Whether the documentChange field is set. */ @java.lang.Override @@ -151,21 +189,26 @@ public boolean hasDocumentChange() { return responseTypeCase_ == 3; } /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; + * * @return The documentChange. */ @java.lang.Override public com.google.firestore.v1.DocumentChange getDocumentChange() { if (responseTypeCase_ == 3) { - return (com.google.firestore.v1.DocumentChange) responseType_; + return (com.google.firestore.v1.DocumentChange) responseType_; } return com.google.firestore.v1.DocumentChange.getDefaultInstance(); } /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
@@ -175,18 +218,21 @@ public com.google.firestore.v1.DocumentChange getDocumentChange() { @java.lang.Override public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilder() { if (responseTypeCase_ == 3) { - return (com.google.firestore.v1.DocumentChange) responseType_; + return (com.google.firestore.v1.DocumentChange) responseType_; } return com.google.firestore.v1.DocumentChange.getDefaultInstance(); } public static final int DOCUMENT_DELETE_FIELD_NUMBER = 4; /** + * + * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; + * * @return Whether the documentDelete field is set. */ @java.lang.Override @@ -194,21 +240,26 @@ public boolean hasDocumentDelete() { return responseTypeCase_ == 4; } /** + * + * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; + * * @return The documentDelete. */ @java.lang.Override public com.google.firestore.v1.DocumentDelete getDocumentDelete() { if (responseTypeCase_ == 4) { - return (com.google.firestore.v1.DocumentDelete) responseType_; + return (com.google.firestore.v1.DocumentDelete) responseType_; } return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); } /** + * + * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
@@ -218,19 +269,22 @@ public com.google.firestore.v1.DocumentDelete getDocumentDelete() { @java.lang.Override public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilder() { if (responseTypeCase_ == 4) { - return (com.google.firestore.v1.DocumentDelete) responseType_; + return (com.google.firestore.v1.DocumentDelete) responseType_; } return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); } public static final int DOCUMENT_REMOVE_FIELD_NUMBER = 6; /** + * + * *
    * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
    * relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; + * * @return Whether the documentRemove field is set. */ @java.lang.Override @@ -238,22 +292,27 @@ public boolean hasDocumentRemove() { return responseTypeCase_ == 6; } /** + * + * *
    * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
    * relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; + * * @return The documentRemove. */ @java.lang.Override public com.google.firestore.v1.DocumentRemove getDocumentRemove() { if (responseTypeCase_ == 6) { - return (com.google.firestore.v1.DocumentRemove) responseType_; + return (com.google.firestore.v1.DocumentRemove) responseType_; } return com.google.firestore.v1.DocumentRemove.getDefaultInstance(); } /** + * + * *
    * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
    * relevant to that target).
@@ -264,13 +323,15 @@ public com.google.firestore.v1.DocumentRemove getDocumentRemove() {
   @java.lang.Override
   public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilder() {
     if (responseTypeCase_ == 6) {
-       return (com.google.firestore.v1.DocumentRemove) responseType_;
+      return (com.google.firestore.v1.DocumentRemove) responseType_;
     }
     return com.google.firestore.v1.DocumentRemove.getDefaultInstance();
   }
 
   public static final int FILTER_FIELD_NUMBER = 5;
   /**
+   *
+   *
    * 
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -279,6 +340,7 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -286,6 +348,8 @@ public boolean hasFilter() { return responseTypeCase_ == 5; } /** + * + * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -294,16 +358,19 @@ public boolean hasFilter() {
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return The filter. */ @java.lang.Override public com.google.firestore.v1.ExistenceFilter getFilter() { if (responseTypeCase_ == 5) { - return (com.google.firestore.v1.ExistenceFilter) responseType_; + return (com.google.firestore.v1.ExistenceFilter) responseType_; } return com.google.firestore.v1.ExistenceFilter.getDefaultInstance(); } /** + * + * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -316,12 +383,13 @@ public com.google.firestore.v1.ExistenceFilter getFilter() {
   @java.lang.Override
   public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
     if (responseTypeCase_ == 5) {
-       return (com.google.firestore.v1.ExistenceFilter) responseType_;
+      return (com.google.firestore.v1.ExistenceFilter) responseType_;
     }
     return com.google.firestore.v1.ExistenceFilter.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -333,8 +401,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (responseTypeCase_ == 2) {
       output.writeMessage(2, (com.google.firestore.v1.TargetChange) responseType_);
     }
@@ -360,24 +427,29 @@ public int getSerializedSize() {
 
     size = 0;
     if (responseTypeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.firestore.v1.TargetChange) responseType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.firestore.v1.TargetChange) responseType_);
     }
     if (responseTypeCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.firestore.v1.DocumentChange) responseType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.firestore.v1.DocumentChange) responseType_);
     }
     if (responseTypeCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.firestore.v1.DocumentDelete) responseType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.firestore.v1.DocumentDelete) responseType_);
     }
     if (responseTypeCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.firestore.v1.ExistenceFilter) responseType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.firestore.v1.ExistenceFilter) responseType_);
     }
     if (responseTypeCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.firestore.v1.DocumentRemove) responseType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.firestore.v1.DocumentRemove) responseType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -387,7 +459,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.ListenResponse)) {
       return super.equals(obj);
@@ -397,24 +469,19 @@ public boolean equals(final java.lang.Object obj) {
     if (!getResponseTypeCase().equals(other.getResponseTypeCase())) return false;
     switch (responseTypeCase_) {
       case 2:
-        if (!getTargetChange()
-            .equals(other.getTargetChange())) return false;
+        if (!getTargetChange().equals(other.getTargetChange())) return false;
         break;
       case 3:
-        if (!getDocumentChange()
-            .equals(other.getDocumentChange())) return false;
+        if (!getDocumentChange().equals(other.getDocumentChange())) return false;
         break;
       case 4:
-        if (!getDocumentDelete()
-            .equals(other.getDocumentDelete())) return false;
+        if (!getDocumentDelete().equals(other.getDocumentDelete())) return false;
         break;
       case 6:
-        if (!getDocumentRemove()
-            .equals(other.getDocumentRemove())) return false;
+        if (!getDocumentRemove().equals(other.getDocumentRemove())) return false;
         break;
       case 5:
-        if (!getFilter()
-            .equals(other.getFilter())) return false;
+        if (!getFilter().equals(other.getFilter())) return false;
         break;
       case 0:
       default:
@@ -459,130 +526,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.ListenResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.ListenResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.ListenResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.ListenResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.ListenResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].
    * 
* * Protobuf type {@code google.firestore.v1.ListenResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListenResponse) com.google.firestore.v1.ListenResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListenResponse.class, com.google.firestore.v1.ListenResponse.Builder.class); + com.google.firestore.v1.ListenResponse.class, + com.google.firestore.v1.ListenResponse.Builder.class); } // Construct using com.google.firestore.v1.ListenResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -607,9 +680,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 @@ -628,7 +701,8 @@ public com.google.firestore.v1.ListenResponse build() { @java.lang.Override public com.google.firestore.v1.ListenResponse buildPartial() { - com.google.firestore.v1.ListenResponse result = new com.google.firestore.v1.ListenResponse(this); + com.google.firestore.v1.ListenResponse result = + new com.google.firestore.v1.ListenResponse(this); if (responseTypeCase_ == 2) { if (targetChangeBuilder_ == null) { result.responseType_ = responseType_; @@ -673,38 +747,39 @@ public com.google.firestore.v1.ListenResponse 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.v1.ListenResponse) { - return mergeFrom((com.google.firestore.v1.ListenResponse)other); + return mergeFrom((com.google.firestore.v1.ListenResponse) other); } else { super.mergeFrom(other); return this; @@ -714,29 +789,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(); @@ -764,47 +845,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) { @@ -814,12 +891,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,15 +906,20 @@ public Builder clearResponseType() { return this; } - 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 @@ -845,11 +927,14 @@ public boolean hasTargetChange() { return responseTypeCase_ == 2; } /** + * + * *
      * Targets have changed.
      * 
* * .google.firestore.v1.TargetChange target_change = 2; + * * @return The targetChange. */ @java.lang.Override @@ -867,6 +952,8 @@ public com.google.firestore.v1.TargetChange getTargetChange() { } } /** + * + * *
      * Targets have changed.
      * 
@@ -887,14 +974,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(); @@ -905,6 +993,8 @@ public Builder setTargetChange( return this; } /** + * + * *
      * Targets have changed.
      * 
@@ -913,10 +1003,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; } @@ -932,6 +1025,8 @@ public Builder mergeTargetChange(com.google.firestore.v1.TargetChange value) { return this; } /** + * + * *
      * Targets have changed.
      * 
@@ -955,6 +1050,8 @@ public Builder clearTargetChange() { return this; } /** + * + * *
      * Targets have changed.
      * 
@@ -965,6 +1062,8 @@ public com.google.firestore.v1.TargetChange.Builder getTargetChangeBuilder() { return getTargetChangeFieldBuilder().getBuilder(); } /** + * + * *
      * Targets have changed.
      * 
@@ -983,6 +1082,8 @@ public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() } } /** + * + * *
      * Targets have changed.
      * 
@@ -990,32 +1091,44 @@ 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()); responseType_ = null; } responseTypeCase_ = 2; - onChanged();; + onChanged(); + ; return targetChangeBuilder_; } 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 @@ -1023,11 +1136,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 @@ -1045,6 +1161,8 @@ public com.google.firestore.v1.DocumentChange getDocumentChange() { } } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1065,6 +1183,8 @@ public Builder setDocumentChange(com.google.firestore.v1.DocumentChange value) { return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1083,6 +1203,8 @@ public Builder setDocumentChange( return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1091,10 +1213,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; } @@ -1110,6 +1235,8 @@ public Builder mergeDocumentChange(com.google.firestore.v1.DocumentChange value) return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1133,6 +1260,8 @@ public Builder clearDocumentChange() { return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1143,6 +1272,8 @@ public com.google.firestore.v1.DocumentChange.Builder getDocumentChangeBuilder() return getDocumentChangeFieldBuilder().getBuilder(); } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1161,6 +1292,8 @@ public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilde } } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1168,32 +1301,44 @@ 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()); responseType_ = null; } responseTypeCase_ = 3; - onChanged();; + onChanged(); + ; return documentChangeBuilder_; } 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 @@ -1201,11 +1346,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 @@ -1223,6 +1371,8 @@ public com.google.firestore.v1.DocumentDelete getDocumentDelete() { } } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1243,6 +1393,8 @@ public Builder setDocumentDelete(com.google.firestore.v1.DocumentDelete value) { return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1261,6 +1413,8 @@ public Builder setDocumentDelete( return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1269,10 +1423,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; } @@ -1288,6 +1445,8 @@ public Builder mergeDocumentDelete(com.google.firestore.v1.DocumentDelete value) return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1311,6 +1470,8 @@ public Builder clearDocumentDelete() { return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1321,6 +1482,8 @@ public com.google.firestore.v1.DocumentDelete.Builder getDocumentDeleteBuilder() return getDocumentDeleteFieldBuilder().getBuilder(); } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1339,6 +1502,8 @@ public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilde } } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1346,33 +1511,45 @@ 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()); responseType_ = null; } responseTypeCase_ = 4; - onChanged();; + onChanged(); + ; return documentDeleteBuilder_; } 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 @@ -1380,12 +1557,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 @@ -1403,6 +1583,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).
@@ -1424,6 +1606,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).
@@ -1443,6 +1627,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).
@@ -1452,10 +1638,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;
         }
@@ -1471,6 +1660,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).
@@ -1495,6 +1686,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).
@@ -1506,6 +1699,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).
@@ -1525,6 +1720,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).
@@ -1533,27 +1730,38 @@ 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());
         responseType_ = null;
       }
       responseTypeCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return documentRemoveBuilder_;
     }
 
     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.
@@ -1562,6 +1770,7 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
      * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -1569,6 +1778,8 @@ public boolean hasFilter() { return responseTypeCase_ == 5; } /** + * + * *
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1577,6 +1788,7 @@ public boolean hasFilter() {
      * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return The filter. */ @java.lang.Override @@ -1594,6 +1806,8 @@ public com.google.firestore.v1.ExistenceFilter getFilter() { } } /** + * + * *
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1617,6 +1831,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.
@@ -1626,8 +1842,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();
@@ -1638,6 +1853,8 @@ public Builder setFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1649,10 +1866,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;
         }
@@ -1668,6 +1888,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.
@@ -1694,6 +1916,8 @@ public Builder clearFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1707,6 +1931,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.
@@ -1728,6 +1954,8 @@ public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1738,26 +1966,32 @@ 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());
         responseType_ = null;
       }
       responseTypeCase_ = 5;
-      onChanged();;
+      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);
     }
 
@@ -1767,12 +2001,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();
   }
@@ -1781,27 +2015,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;
@@ -1816,6 +2050,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.ListenResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
index 85e8f88608..304d14507c 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface ListenResponseOrBuilder extends
+public interface ListenResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListenResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; + * * @return Whether the targetChange field is set. */ boolean hasTargetChange(); /** + * + * *
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; + * * @return The targetChange. */ com.google.firestore.v1.TargetChange getTargetChange(); /** + * + * *
    * Targets have changed.
    * 
@@ -35,24 +59,32 @@ public interface ListenResponseOrBuilder extends com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; + * * @return Whether the documentChange field is set. */ boolean hasDocumentChange(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; + * * @return The documentChange. */ com.google.firestore.v1.DocumentChange getDocumentChange(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
@@ -62,24 +94,32 @@ public interface ListenResponseOrBuilder extends com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilder(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; + * * @return Whether the documentDelete field is set. */ boolean hasDocumentDelete(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; + * * @return The documentDelete. */ com.google.firestore.v1.DocumentDelete getDocumentDelete(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
@@ -89,26 +129,34 @@ public interface ListenResponseOrBuilder extends com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilder(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
    * relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; + * * @return Whether the documentRemove field is set. */ boolean hasDocumentRemove(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
    * relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; + * * @return The documentRemove. */ com.google.firestore.v1.DocumentRemove getDocumentRemove(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer
    * relevant to that target).
@@ -119,6 +167,8 @@ public interface ListenResponseOrBuilder extends
   com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilder();
 
   /**
+   *
+   *
    * 
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -127,10 +177,13 @@ public interface ListenResponseOrBuilder extends
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return Whether the filter field is set. */ boolean hasFilter(); /** + * + * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -139,10 +192,13 @@ public interface ListenResponseOrBuilder extends
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return The filter. */ com.google.firestore.v1.ExistenceFilter getFilter(); /** + * + * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
similarity index 63%
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 740b918351..5853216996 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,83 +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/document.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A map value.
  * 
* * Protobuf type {@code google.firestore.v1.MapValue} */ -public final class MapValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MapValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.MapValue) MapValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MapValue.newBuilder() to construct. private MapValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MapValue() { - } + + private MapValue() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MapValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetFields(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_fieldAccessorTable + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.MapValue.class, com.google.firestore.v1.MapValue.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; + private static final class FieldsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, com.google.firestore.v1.Value> defaultEntry = + static final com.google.protobuf.MapEntry + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.firestore.v1.Value.getDefaultInstance()); - } - private com.google.protobuf.MapField< - java.lang.String, com.google.firestore.v1.Value> fields_; + .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()); + } + + 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_; } @@ -86,6 +104,8 @@ public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -96,22 +116,22 @@ public int getFieldsCount() {
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
-
   @java.lang.Override
-  public boolean containsFields(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsFields(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetFields().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getFieldsMap()} instead.
-   */
+  /** Use {@link #getFieldsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getFields() {
     return getFieldsMap();
   }
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -123,11 +143,12 @@ public java.util.Map getFields(
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
   @java.lang.Override
-
   public java.util.Map getFieldsMap() {
     return internalGetFields().getMap();
   }
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -139,16 +160,18 @@ public java.util.Map getFieldsM
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
   @java.lang.Override
-
   public com.google.firestore.v1.Value getFieldsOrDefault(
-      java.lang.String key,
-      com.google.firestore.v1.Value defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String key, com.google.firestore.v1.Value defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -160,10 +183,10 @@ public 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)) {
@@ -173,6 +196,7 @@ public com.google.firestore.v1.Value getFieldsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -184,14 +208,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);
   }
 
@@ -201,15 +220,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;
@@ -219,15 +238,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;
   }
@@ -248,152 +266,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 +423,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 @@ -435,38 +456,39 @@ public com.google.firestore.v1.MapValue 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.v1.MapValue) { - return mergeFrom((com.google.firestore.v1.MapValue)other); + return mergeFrom((com.google.firestore.v1.MapValue) other); } else { super.mergeFrom(other); return this; @@ -475,8 +497,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()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -503,20 +524,25 @@ 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()); - 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()); + 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) { @@ -526,24 +552,25 @@ 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() { + 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() { - onChanged();; + internalGetMutableFields() { + onChanged(); + ; 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(); @@ -555,6 +582,8 @@ public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -565,22 +594,22 @@ public int getFieldsCount() {
      *
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
-
     @java.lang.Override
-    public boolean containsFields(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsFields(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetFields().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getFieldsMap()} instead.
-     */
+    /** Use {@link #getFieldsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getFields() {
       return getFieldsMap();
     }
     /**
+     *
+     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -592,11 +621,12 @@ public java.util.Map getFields(
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
     @java.lang.Override
-
     public java.util.Map getFieldsMap() {
       return internalGetFields().getMap();
     }
     /**
+     *
+     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -608,16 +638,18 @@ public java.util.Map getFieldsM
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
     @java.lang.Override
-
     public com.google.firestore.v1.Value getFieldsOrDefault(
-        java.lang.String key,
-        com.google.firestore.v1.Value defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.firestore.v1.Value defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -629,10 +661,10 @@ public 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)) {
@@ -642,11 +674,12 @@ public com.google.firestore.v1.Value getFieldsOrThrow(
     }
 
     public Builder clearFields() {
-      internalGetMutableFields().getMutableMap()
-          .clear();
+      internalGetMutableFields().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -657,23 +690,21 @@ 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() {
       return internalGetMutableFields().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -684,19 +715,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableFields().getMutableMap()
-          .put(key, value);
+      internalGetMutableFields().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -707,16 +739,14 @@ public Builder putFields(
      *
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
-
     public Builder putAllFields(
         java.util.Map values) {
-      internalGetMutableFields().getMutableMap()
-          .putAll(values);
+      internalGetMutableFields().getMutableMap().putAll(values);
       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);
     }
 
@@ -726,12 +756,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();
   }
@@ -740,27 +770,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;
@@ -775,6 +805,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 a5e4aee170..dd07c298cc 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
-public interface MapValueOrBuilder extends
+public interface MapValueOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.MapValue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -20,6 +38,8 @@ public interface MapValueOrBuilder extends
    */
   int getFieldsCount();
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -30,15 +50,13 @@ public interface MapValueOrBuilder extends
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
-  boolean containsFields(
-      java.lang.String key);
-  /**
-   * Use {@link #getFieldsMap()} instead.
-   */
+  boolean containsFields(java.lang.String key);
+  /** Use {@link #getFieldsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getFields();
+  java.util.Map getFields();
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -49,9 +67,10 @@ boolean containsFields(
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
-  java.util.Map
-  getFieldsMap();
+  java.util.Map getFieldsMap();
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -64,11 +83,13 @@ boolean containsFields(
    */
 
   /* nullable */
-com.google.firestore.v1.Value getFieldsOrDefault(
+  com.google.firestore.v1.Value getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.firestore.v1.Value defaultValue);
+      com.google.firestore.v1.Value defaultValue);
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -79,7 +100,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 2523d3b6ba..5a197f6b72 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,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.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
  * 
* * 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_ = ""; @@ -26,37 +44,41 @@ private PartitionQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PartitionQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_PartitionQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.PartitionQueryRequest.class, com.google.firestore.v1.PartitionQueryRequest.Builder.class); + com.google.firestore.v1.PartitionQueryRequest.class, + com.google.firestore.v1.PartitionQueryRequest.Builder.class); } private int queryTypeCase_ = 0; private java.lang.Object queryType_; + public enum QueryTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(2), QUERYTYPE_NOT_SET(0); private final int value; + private QueryTypeCase(int value) { this.value = value; } @@ -72,30 +94,35 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 2: return STRUCTURED_QUERY; - case 0: return QUERYTYPE_NOT_SET; - default: return null; + case 2: + return STRUCTURED_QUERY; + case 0: + return QUERYTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public QueryTypeCase - getQueryTypeCase() { - return QueryTypeCase.forNumber( - queryTypeCase_); + public QueryTypeCase getQueryTypeCase() { + return QueryTypeCase.forNumber(queryTypeCase_); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; + public enum ConsistencySelectorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_TIME(6), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; + private ConsistencySelectorCase(int value) { this.value = value; } @@ -111,25 +138,29 @@ 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -138,6 +169,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -146,14 +178,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`.
@@ -162,16 +195,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 { @@ -181,6 +213,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
@@ -189,6 +223,7 @@ public java.lang.String getParent() {
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -196,6 +231,8 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -204,16 +241,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
@@ -226,7 +266,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();
   }
@@ -234,6 +274,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
   public static final int PARTITION_COUNT_FIELD_NUMBER = 3;
   private long partitionCount_;
   /**
+   *
+   *
    * 
    * The desired maximum number of partition points.
    * The partitions may be returned across multiple pages of results.
@@ -245,6 +287,7 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
    * 
* * int64 partition_count = 3; + * * @return The partitionCount. */ @java.lang.Override @@ -255,6 +298,8 @@ public long getPartitionCount() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; 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.
@@ -269,6 +314,7 @@ public long getPartitionCount() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -277,14 +323,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.
@@ -299,16 +346,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 { @@ -319,6 +365,8 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** + * + * *
    * The maximum number of partitions to return in this call, subject to
    * `partition_count`.
@@ -329,6 +377,7 @@ public java.lang.String getPageToken() {
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -338,12 +387,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 @@ -351,22 +403,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.
@@ -377,12 +434,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;
@@ -394,8 +452,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_);
     }
@@ -427,23 +484,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;
@@ -453,26 +510,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:
@@ -480,8 +533,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:
@@ -500,8 +552,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;
@@ -527,130 +578,136 @@ 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].
    * 
* * 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(); @@ -676,9 +733,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 @@ -697,7 +754,8 @@ public com.google.firestore.v1.PartitionQueryRequest build() { @java.lang.Override public com.google.firestore.v1.PartitionQueryRequest buildPartial() { - com.google.firestore.v1.PartitionQueryRequest result = new com.google.firestore.v1.PartitionQueryRequest(this); + com.google.firestore.v1.PartitionQueryRequest result = + new com.google.firestore.v1.PartitionQueryRequest(this); result.parent_ = parent_; if (queryTypeCase_ == 2) { if (structuredQueryBuilder_ == null) { @@ -726,38 +784,39 @@ public com.google.firestore.v1.PartitionQueryRequest 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.v1.PartitionQueryRequest) { - return mergeFrom((com.google.firestore.v1.PartitionQueryRequest)other); + return mergeFrom((com.google.firestore.v1.PartitionQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -781,22 +840,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(); @@ -824,46 +887,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getStructuredQueryFieldBuilder().getBuilder(), - extensionRegistry); - queryTypeCase_ = 2; - break; - } // case 18 - case 24: { - partitionCount_ = input.readInt64(); - - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 40: { - pageSize_ = input.readInt32(); - - 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(); + + break; + } // case 10 + case 18: + { + input.readMessage(getStructuredQueryFieldBuilder().getBuilder(), extensionRegistry); + queryTypeCase_ = 2; + break; + } // case 18 + case 24: + { + partitionCount_ = input.readInt64(); + + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 40: + { + pageSize_ = input.readInt32(); + + 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) { @@ -873,12 +939,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() { @@ -890,10 +956,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() { @@ -903,9 +968,10 @@ public Builder clearConsistencySelector() { return this; } - private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -914,13 +980,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; @@ -929,6 +995,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -937,15 +1005,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 { @@ -953,6 +1020,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -961,20 +1030,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -983,15 +1054,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -1000,24 +1074,29 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } 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
@@ -1026,6 +1105,7 @@ public Builder setParentBytes(
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -1033,6 +1113,8 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1041,6 +1123,7 @@ public boolean hasStructuredQuery() {
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override @@ -1058,6 +1141,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1081,6 +1166,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
@@ -1102,6 +1189,8 @@ public Builder setStructuredQuery(
       return this;
     }
     /**
+     *
+     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1113,10 +1202,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;
         }
@@ -1132,6 +1224,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
@@ -1158,6 +1252,8 @@ public Builder clearStructuredQuery() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1171,6 +1267,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
@@ -1192,6 +1290,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1202,26 +1302,34 @@ 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());
         queryType_ = null;
       }
       queryTypeCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       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.
@@ -1233,6 +1341,7 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
      * 
* * int64 partition_count = 3; + * * @return The partitionCount. */ @java.lang.Override @@ -1240,6 +1349,8 @@ public long getPartitionCount() { return partitionCount_; } /** + * + * *
      * The desired maximum number of partition points.
      * The partitions may be returned across multiple pages of results.
@@ -1251,16 +1362,19 @@ public long getPartitionCount() {
      * 
* * int64 partition_count = 3; + * * @param value The partitionCount to set. * @return This builder for chaining. */ public Builder setPartitionCount(long value) { - + partitionCount_ = value; onChanged(); return this; } /** + * + * *
      * The desired maximum number of partition points.
      * The partitions may be returned across multiple pages of results.
@@ -1272,10 +1386,11 @@ public Builder setPartitionCount(long value) {
      * 
* * int64 partition_count = 3; + * * @return This builder for chaining. */ public Builder clearPartitionCount() { - + partitionCount_ = 0L; onChanged(); return this; @@ -1283,6 +1398,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.
@@ -1297,13 +1414,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; @@ -1312,6 +1429,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.
@@ -1326,15 +1445,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 { @@ -1342,6 +1460,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,20 +1476,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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.
@@ -1384,15 +1506,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); 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.
@@ -1407,23 +1532,25 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1434,6 +1561,7 @@ public Builder setPageTokenBytes(
      * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -1441,6 +1569,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1451,16 +1581,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 5; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1471,24 +1604,31 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 5; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } 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 @@ -1496,12 +1636,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 @@ -1519,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.
@@ -1540,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.
@@ -1547,8 +1694,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();
@@ -1559,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.
@@ -1568,10 +1716,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;
         }
@@ -1587,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.
@@ -1611,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.
@@ -1622,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.
@@ -1641,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.
@@ -1649,26 +1808,32 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 6;
-      onChanged();;
+      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);
     }
 
@@ -1678,12 +1843,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();
   }
@@ -1692,27 +1857,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;
@@ -1727,6 +1892,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 b9a154e114..bbd49e9aec 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface PartitionQueryRequestOrBuilder extends
+public interface PartitionQueryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.PartitionQueryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -16,10 +34,13 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -28,12 +49,14 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -42,10 +65,13 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** + * + * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -54,10 +80,13 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** + * + * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -70,6 +99,8 @@ public interface PartitionQueryRequestOrBuilder extends
   com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder();
 
   /**
+   *
+   *
    * 
    * The desired maximum number of partition points.
    * The partitions may be returned across multiple pages of results.
@@ -81,11 +112,14 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * int64 partition_count = 3; + * * @return The partitionCount. */ long getPartitionCount(); /** + * + * *
    * The `next_page_token` value returned from a previous call to
    * PartitionQuery that may be used to get an additional set of results.
@@ -100,10 +134,13 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The `next_page_token` value returned from a previous call to
    * PartitionQuery that may be used to get an additional set of results.
@@ -118,12 +155,14 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of partitions to return in this call, subject to
    * `partition_count`.
@@ -134,31 +173,40 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -170,5 +218,6 @@ public interface PartitionQueryRequestOrBuilder extends
 
   public com.google.firestore.v1.PartitionQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  public com.google.firestore.v1.PartitionQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  public com.google.firestore.v1.PartitionQueryRequest.ConsistencySelectorCase
+      getConsistencySelectorCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
similarity index 81%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
index 545f71b3b0..93d6ff0891 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,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.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
  * 
* * 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_ = ""; @@ -26,32 +44,35 @@ private PartitionQueryResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PartitionQueryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_PartitionQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.PartitionQueryResponse.class, com.google.firestore.v1.PartitionQueryResponse.Builder.class); + com.google.firestore.v1.PartitionQueryResponse.class, + com.google.firestore.v1.PartitionQueryResponse.Builder.class); } public static final int PARTITIONS_FIELD_NUMBER = 1; private java.util.List partitions_; /** + * + * *
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -76,6 +97,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
@@ -96,11 +119,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
@@ -125,6 +150,8 @@ public int getPartitionsCount() {
     return partitions_.size();
   }
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -149,6 +176,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
@@ -169,14 +198,15 @@ public com.google.firestore.v1.Cursor getPartitions(int index) {
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
-      int index) {
+  public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index) {
     return partitions_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   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.
@@ -184,6 +214,7 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -192,14 +223,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.
@@ -207,16 +239,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 { @@ -225,6 +256,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +268,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)); } @@ -254,8 +285,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_); @@ -268,17 +298,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; } @@ -301,130 +330,136 @@ 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].
    * 
* * 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(); @@ -441,9 +476,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 @@ -462,7 +497,8 @@ 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); int from_bitField0_ = bitField0_; if (partitionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -482,38 +518,39 @@ public com.google.firestore.v1.PartitionQueryResponse 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.v1.PartitionQueryResponse) { - return mergeFrom((com.google.firestore.v1.PartitionQueryResponse)other); + return mergeFrom((com.google.firestore.v1.PartitionQueryResponse) other); } else { super.mergeFrom(other); return this; @@ -540,9 +577,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_); } @@ -578,30 +616,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(); + 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(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -611,21 +650,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
@@ -653,6 +699,8 @@ public java.util.List getPartitionsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -680,6 +728,8 @@ public int getPartitionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -707,6 +757,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
@@ -726,8 +778,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();
@@ -741,6 +792,8 @@ public Builder setPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -772,6 +825,8 @@ public Builder setPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -805,6 +860,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
@@ -824,8 +881,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();
@@ -839,6 +895,8 @@ public Builder addPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -858,8 +916,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());
@@ -870,6 +927,8 @@ public Builder addPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -901,6 +960,8 @@ public Builder addPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -924,8 +985,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);
@@ -933,6 +993,8 @@ public Builder addAllPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -963,6 +1025,8 @@ public Builder clearPartitions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -993,6 +1057,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
@@ -1012,11 +1078,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
@@ -1036,14 +1103,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
@@ -1063,8 +1132,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 {
@@ -1072,6 +1141,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
@@ -1092,10 +1163,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
@@ -1115,12 +1188,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
@@ -1140,20 +1214,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_;
@@ -1161,6 +1237,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.
@@ -1168,13 +1246,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; @@ -1183,6 +1261,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.
@@ -1190,15 +1270,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 { @@ -1206,6 +1285,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.
@@ -1213,20 +1294,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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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.
@@ -1234,15 +1317,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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.
@@ -1250,23 +1336,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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1276,12 +1362,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(); } @@ -1290,27 +1376,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; @@ -1325,6 +1411,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 640fc20418..f92ce225a2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface PartitionQueryResponseOrBuilder extends +public interface PartitionQueryResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.PartitionQueryResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -27,9 +45,10 @@ public interface PartitionQueryResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
-  java.util.List 
-      getPartitionsList();
+  java.util.List getPartitionsList();
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -51,6 +70,8 @@ public interface PartitionQueryResponseOrBuilder extends
    */
   com.google.firestore.v1.Cursor getPartitions(int index);
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -72,6 +93,8 @@ public interface PartitionQueryResponseOrBuilder extends
    */
   int getPartitionsCount();
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -91,9 +114,10 @@ public interface PartitionQueryResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
-  java.util.List 
-      getPartitionsOrBuilderList();
+  java.util.List getPartitionsOrBuilderList();
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -113,10 +137,11 @@ public interface PartitionQueryResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
-  com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
-      int index);
+  com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A page token that may be used to request an additional set of results, up
    * to the number specified by `partition_count` in the PartitionQuery request.
@@ -124,10 +149,13 @@ com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A page token that may be used to request an additional set of results, up
    * to the number specified by `partition_count` in the PartitionQuery request.
@@ -135,8 +163,8 @@ com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java index d8a62d8500..060b2426f7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java @@ -1,61 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; /** + * + * *
  * A precondition on a document, used for conditional operations.
  * 
* * Protobuf type {@code google.firestore.v1.Precondition} */ -public final class Precondition extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Precondition extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Precondition) PreconditionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Precondition.newBuilder() to construct. private Precondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Precondition() { - } + + private Precondition() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Precondition(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Precondition.class, com.google.firestore.v1.Precondition.Builder.class); + com.google.firestore.v1.Precondition.class, + com.google.firestore.v1.Precondition.Builder.class); } private int conditionTypeCase_ = 0; private java.lang.Object conditionType_; + public enum ConditionTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXISTS(1), UPDATE_TIME(2), CONDITIONTYPE_NOT_SET(0); private final int value; + private ConditionTypeCase(int value) { this.value = value; } @@ -71,31 +92,37 @@ public static ConditionTypeCase valueOf(int value) { public static ConditionTypeCase forNumber(int value) { switch (value) { - case 1: return EXISTS; - case 2: return UPDATE_TIME; - case 0: return CONDITIONTYPE_NOT_SET; - default: return null; + case 1: + return EXISTS; + case 2: + return UPDATE_TIME; + case 0: + return CONDITIONTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ConditionTypeCase - getConditionTypeCase() { - return ConditionTypeCase.forNumber( - conditionTypeCase_); + public ConditionTypeCase getConditionTypeCase() { + return ConditionTypeCase.forNumber(conditionTypeCase_); } public static final int EXISTS_FIELD_NUMBER = 1; /** + * + * *
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; + * * @return Whether the exists field is set. */ @java.lang.Override @@ -103,12 +130,15 @@ public boolean hasExists() { return conditionTypeCase_ == 1; } /** + * + * *
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; + * * @return The exists. */ @java.lang.Override @@ -121,12 +151,15 @@ public boolean getExists() { public static final int UPDATE_TIME_FIELD_NUMBER = 2; /** + * + * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -134,22 +167,27 @@ public boolean hasUpdateTime() { return conditionTypeCase_ == 2; } /** + * + * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return The updateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdateTime() { if (conditionTypeCase_ == 2) { - return (com.google.protobuf.Timestamp) conditionType_; + return (com.google.protobuf.Timestamp) conditionType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
@@ -160,12 +198,13 @@ public com.google.protobuf.Timestamp getUpdateTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
     if (conditionTypeCase_ == 2) {
-       return (com.google.protobuf.Timestamp) conditionType_;
+      return (com.google.protobuf.Timestamp) conditionType_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -177,11 +216,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (conditionTypeCase_ == 1) {
-      output.writeBool(
-          1, (boolean)((java.lang.Boolean) conditionType_));
+      output.writeBool(1, (boolean) ((java.lang.Boolean) conditionType_));
     }
     if (conditionTypeCase_ == 2) {
       output.writeMessage(2, (com.google.protobuf.Timestamp) conditionType_);
@@ -196,13 +233,14 @@ public int getSerializedSize() {
 
     size = 0;
     if (conditionTypeCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(
-            1, (boolean)((java.lang.Boolean) conditionType_));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeBoolSize(
+              1, (boolean) ((java.lang.Boolean) conditionType_));
     }
     if (conditionTypeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.protobuf.Timestamp) conditionType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.protobuf.Timestamp) conditionType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -212,7 +250,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.Precondition)) {
       return super.equals(obj);
@@ -222,12 +260,10 @@ public boolean equals(final java.lang.Object obj) {
     if (!getConditionTypeCase().equals(other.getConditionTypeCase())) return false;
     switch (conditionTypeCase_) {
       case 1:
-        if (getExists()
-            != other.getExists()) return false;
+        if (getExists() != other.getExists()) return false;
         break;
       case 2:
-        if (!getUpdateTime()
-            .equals(other.getUpdateTime())) return false;
+        if (!getUpdateTime().equals(other.getUpdateTime())) return false;
         break;
       case 0:
       default:
@@ -246,8 +282,7 @@ public int hashCode() {
     switch (conditionTypeCase_) {
       case 1:
         hash = (37 * hash) + EXISTS_FIELD_NUMBER;
-        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-            getExists());
+        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExists());
         break;
       case 2:
         hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER;
@@ -261,130 +296,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.Precondition parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.Precondition parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.Precondition parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.firestore.v1.Precondition parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Precondition parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Precondition parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.Precondition prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A precondition on a document, used for conditional operations.
    * 
* * Protobuf type {@code google.firestore.v1.Precondition} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Precondition) com.google.firestore.v1.PreconditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Precondition.class, com.google.firestore.v1.Precondition.Builder.class); + com.google.firestore.v1.Precondition.class, + com.google.firestore.v1.Precondition.Builder.class); } // Construct using com.google.firestore.v1.Precondition.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -397,9 +437,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 @@ -438,38 +478,39 @@ public com.google.firestore.v1.Precondition 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.v1.Precondition) { - return mergeFrom((com.google.firestore.v1.Precondition)other); + return mergeFrom((com.google.firestore.v1.Precondition) other); } else { super.mergeFrom(other); return this; @@ -479,17 +520,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(); @@ -517,24 +561,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) { @@ -544,12 +589,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() { @@ -559,26 +604,31 @@ public Builder clearConditionType() { 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 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() { @@ -588,12 +638,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. */ @@ -604,12 +657,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() { @@ -622,14 +678,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 @@ -637,12 +699,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 @@ -660,6 +725,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.
@@ -681,6 +748,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.
@@ -688,8 +757,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();
@@ -700,6 +768,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.
@@ -709,10 +779,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;
         }
@@ -728,6 +801,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.
@@ -752,6 +827,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.
@@ -763,6 +840,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.
@@ -782,6 +861,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.
@@ -790,26 +871,30 @@ 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();;
+      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);
     }
 
@@ -819,12 +904,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();
   }
@@ -833,27 +918,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;
@@ -868,6 +953,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 af3014ef1a..7926afa179 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..e46a253966
--- /dev/null
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java
@@ -0,0 +1,289 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License 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\"\266\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\311\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\"-\n\010Operator"
+          + "\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001\032\230\003\n\013"
+          + "FieldFilter\022B\n\005field\030\001 \001(\01323.google.fire"
+          + "store.v1.StructuredQuery.FieldReference\022"
+          + "E\n\002op\030\002 \001(\01629.google.firestore.v1.Struct"
+          + "uredQuery.FieldFilter.Operator\022)\n\005value\030"
+          + "\003 \001(\0132\032.google.firestore.v1.Value\"\322\001\n\010Op"
+          + "erator\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\014GREAT"
+          + "ER_THAN\020\003\022\031\n\025GREATER_THAN_OR_EQUAL\020\004\022\t\n\005"
+          + "EQUAL\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\006NO"
+          + "T_IN\020\n\032\212\002\n\013UnaryFilter\022E\n\002op\030\001 \001(\01629.goo"
+          + "gle.firestore.v1.StructuredQuery.UnaryFi"
+          + "lter.Operator\022D\n\005field\030\002 \001(\01323.google.fi"
+          + "restore.v1.StructuredQuery.FieldReferenc"
+          + "eH\000\"^\n\010Operator\022\030\n\024OPERATOR_UNSPECIFIED\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_type\032\216\001\n\005"
+          + "Order\022B\n\005field\030\001 \001(\01323.google.firestore."
+          + "v1.StructuredQuery.FieldReference\022A\n\tdir"
+          + "ection\030\002 \001(\0162..google.firestore.v1.Struc"
+          + "turedQuery.Direction\032$\n\016FieldReference\022\022"
+          + "\n\nfield_path\030\002 \001(\t\032Q\n\nProjection\022C\n\006fiel"
+          + "ds\030\002 \003(\01323.google.firestore.v1.Structure"
+          + "dQuery.FieldReference\"E\n\tDirection\022\031\n\025DI"
+          + "RECTION_UNSPECIFIED\020\000\022\r\n\tASCENDING\020\001\022\016\n\n"
+          + "DESCENDING\020\002\"\202\003\n\032StructuredAggregationQu"
+          + "ery\022@\n\020structured_query\030\001 \001(\0132$.google.f"
+          + "irestore.v1.StructuredQueryH\000\022V\n\014aggrega"
+          + "tions\030\003 \003(\0132;.google.firestore.v1.Struct"
+          + "uredAggregationQuery.AggregationB\003\340A\001\032\273\001"
+          + "\n\013Aggregation\022R\n\005count\030\001 \001(\0132A.google.fi"
+          + "restore.v1.StructuredAggregationQuery.Ag"
+          + "gregation.CountH\000\022\022\n\005alias\030\007 \001(\tB\003\340A\001\0328\n"
+          + "\005Count\022/\n\005up_to\030\001 \001(\0132\033.google.protobuf."
+          + "Int64ValueB\003\340A\001B\n\n\010operatorB\014\n\nquery_typ"
+          + "e\"D\n\006Cursor\022*\n\006values\030\001 \003(\0132\032.google.fir"
+          + "estore.v1.Value\022\016\n\006before\030\002 \001(\010B\303\001\n\027com."
+          + "google.firestore.v1B\nQueryProtoP\001Z
  * 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,38 +44,42 @@ private RollbackRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RollbackRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RollbackRequest.class, com.google.firestore.v1.RollbackRequest.Builder.class); + com.google.firestore.v1.RollbackRequest.class, + com.google.firestore.v1.RollbackRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; 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 @@ -66,30 +88,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -100,11 +122,14 @@ public java.lang.String getDatabase() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.protobuf.ByteString transaction_; /** + * + * *
    * Required. The transaction to roll back.
    * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The transaction. */ @java.lang.Override @@ -113,6 +138,7 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -124,8 +150,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -145,8 +170,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; @@ -156,17 +180,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; } @@ -187,130 +209,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.RollbackRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.RollbackRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.RollbackRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.RollbackRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.RollbackRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.RollbackRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.RollbackRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.RollbackRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.RollbackRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.RollbackRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.RollbackRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.RollbackRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.RollbackRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.RollbackRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.RollbackRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [Firestore.Rollback][google.firestore.v1.Firestore.Rollback].
    * 
* * Protobuf type {@code google.firestore.v1.RollbackRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.RollbackRequest) com.google.firestore.v1.RollbackRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RollbackRequest.class, com.google.firestore.v1.RollbackRequest.Builder.class); + com.google.firestore.v1.RollbackRequest.class, + com.google.firestore.v1.RollbackRequest.Builder.class); } // Construct using com.google.firestore.v1.RollbackRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +350,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_descriptor; } @java.lang.Override @@ -343,7 +371,8 @@ public com.google.firestore.v1.RollbackRequest build() { @java.lang.Override public com.google.firestore.v1.RollbackRequest buildPartial() { - com.google.firestore.v1.RollbackRequest result = new com.google.firestore.v1.RollbackRequest(this); + com.google.firestore.v1.RollbackRequest result = + new com.google.firestore.v1.RollbackRequest(this); result.database_ = database_; result.transaction_ = transaction_; onBuilt(); @@ -354,38 +383,39 @@ public com.google.firestore.v1.RollbackRequest 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.v1.RollbackRequest) { - return mergeFrom((com.google.firestore.v1.RollbackRequest)other); + return mergeFrom((com.google.firestore.v1.RollbackRequest) other); } else { super.mergeFrom(other); return this; @@ -427,22 +457,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - transaction_ = input.readBytes(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + transaction_ = input.readBytes(); + + 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) { @@ -455,19 +488,21 @@ public Builder mergeFrom( 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; @@ -476,21 +511,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 { @@ -498,57 +534,64 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; 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() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -556,11 +599,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 @@ -568,40 +614,46 @@ 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(); - } - + throw new NullPointerException(); + } + transaction_ = value; 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() { - + transaction_ = getDefaultInstance().getTransaction(); 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); } @@ -611,12 +663,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(); } @@ -625,27 +677,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; @@ -660,6 +712,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 860c399abe..6d8365c9e8 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,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The request for [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
  * 
* * Protobuf type {@code google.firestore.v1.RunAggregationQueryRequest} */ -public final class RunAggregationQueryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunAggregationQueryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.RunAggregationQueryRequest) RunAggregationQueryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunAggregationQueryRequest.newBuilder() to construct. private RunAggregationQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunAggregationQueryRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunAggregationQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RunAggregationQueryRequest.class, com.google.firestore.v1.RunAggregationQueryRequest.Builder.class); + com.google.firestore.v1.RunAggregationQueryRequest.class, + com.google.firestore.v1.RunAggregationQueryRequest.Builder.class); } private int queryTypeCase_ = 0; private java.lang.Object queryType_; + public enum QueryTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_AGGREGATION_QUERY(2), QUERYTYPE_NOT_SET(0); private final int value; + private QueryTypeCase(int value) { this.value = value; } @@ -71,32 +93,37 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 2: return STRUCTURED_AGGREGATION_QUERY; - case 0: return QUERYTYPE_NOT_SET; - default: return null; + case 2: + return STRUCTURED_AGGREGATION_QUERY; + case 0: + return QUERYTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public QueryTypeCase - getQueryTypeCase() { - return QueryTypeCase.forNumber( - queryTypeCase_); + public QueryTypeCase getQueryTypeCase() { + return QueryTypeCase.forNumber(queryTypeCase_); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; + public enum ConsistencySelectorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(4), NEW_TRANSACTION(5), READ_TIME(6), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; + private ConsistencySelectorCase(int value) { this.value = value; } @@ -112,27 +139,33 @@ 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -143,6 +176,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -151,14 +185,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
@@ -169,16 +204,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 { @@ -188,11 +222,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 @@ -200,21 +237,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.
    * 
@@ -222,21 +264,25 @@ public com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregati * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructuredAggregationQueryOrBuilder() { + public com.google.firestore.v1.StructuredAggregationQueryOrBuilder + getStructuredAggregationQueryOrBuilder() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; + return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; } return com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance(); } public static final int TRANSACTION_FIELD_NUMBER = 4; /** + * + * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -244,12 +290,15 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** + * + * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; + * * @return The transaction. */ @java.lang.Override @@ -262,6 +311,8 @@ public com.google.protobuf.ByteString getTransaction() { public static final int NEW_TRANSACTION_FIELD_NUMBER = 5; /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -269,6 +320,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -276,6 +328,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -283,16 +337,19 @@ public boolean hasNewTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return The newTransaction. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions getNewTransaction() { if (consistencySelectorCase_ == 5) { - return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; } return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); } /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -304,13 +361,15 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() {
   @java.lang.Override
   public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
     if (consistencySelectorCase_ == 5) {
-       return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+      return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
     }
     return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * Executes the query at the given timestamp.
    * Requires:
@@ -318,6 +377,7 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -325,6 +385,8 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** + * + * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -332,16 +394,19 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 6) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -353,12 +418,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;
@@ -370,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(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -379,8 +444,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_);
@@ -401,21 +465,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;
@@ -425,20 +492,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:
@@ -446,16 +513,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:
@@ -503,129 +567,135 @@ 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].
    * 
* * 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(); @@ -648,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_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 @@ -669,7 +739,8 @@ public com.google.firestore.v1.RunAggregationQueryRequest build() { @java.lang.Override public com.google.firestore.v1.RunAggregationQueryRequest buildPartial() { - com.google.firestore.v1.RunAggregationQueryRequest result = new com.google.firestore.v1.RunAggregationQueryRequest(this); + com.google.firestore.v1.RunAggregationQueryRequest result = + new com.google.firestore.v1.RunAggregationQueryRequest(this); result.parent_ = parent_; if (queryTypeCase_ == 2) { if (structuredAggregationQueryBuilder_ == null) { @@ -705,38 +776,39 @@ public com.google.firestore.v1.RunAggregationQueryRequest 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.v1.RunAggregationQueryRequest) { - return mergeFrom((com.google.firestore.v1.RunAggregationQueryRequest)other); + return mergeFrom((com.google.firestore.v1.RunAggregationQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -744,36 +816,43 @@ 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_; 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(); @@ -801,43 +880,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - 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: + 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) { @@ -847,12 +927,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() { @@ -864,10 +944,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() { @@ -877,9 +956,10 @@ public Builder clearConsistencySelector() { return this; } - private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -890,13 +970,13 @@ public Builder clearConsistencySelector() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -905,6 +985,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -915,15 +997,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -931,6 +1012,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -941,20 +1024,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -965,15 +1050,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -984,29 +1072,36 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } 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 @@ -1014,11 +1109,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 @@ -1036,13 +1135,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(); @@ -1056,11 +1159,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) { @@ -1074,18 +1180,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; } @@ -1101,11 +1215,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) { @@ -1124,24 +1241,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 { @@ -1152,50 +1277,65 @@ 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()); queryType_ = null; } queryTypeCase_ = 2; - onChanged();; + onChanged(); + ; return structuredAggregationQueryBuilder_; } /** + * + * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** + * + * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; + * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1205,31 +1345,37 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - consistencySelectorCase_ = 4; + throw new NullPointerException(); + } + consistencySelectorCase_ = 4; consistencySelector_ = value; onChanged(); return this; } /** + * + * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1242,8 +1388,13 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> newTransactionBuilder_; + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder> + newTransactionBuilder_; /** + * + * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1251,6 +1402,7 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1258,6 +1410,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1265,6 +1419,7 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return The newTransaction. */ @java.lang.Override @@ -1282,6 +1437,8 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** + * + * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1304,6 +1461,8 @@ public Builder setNewTransaction(com.google.firestore.v1.TransactionOptions valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1324,6 +1483,8 @@ public Builder setNewTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1334,10 +1495,14 @@ public Builder setNewTransaction(
      */
     public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions value) {
       if (newTransactionBuilder_ == null) {
-        if (consistencySelectorCase_ == 5 &&
-            consistencySelector_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
-          consistencySelector_ = com.google.firestore.v1.TransactionOptions.newBuilder((com.google.firestore.v1.TransactionOptions) consistencySelector_)
-              .mergeFrom(value).buildPartial();
+        if (consistencySelectorCase_ == 5
+            && consistencySelector_
+                != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
+          consistencySelector_ =
+              com.google.firestore.v1.TransactionOptions.newBuilder(
+                      (com.google.firestore.v1.TransactionOptions) consistencySelector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1353,6 +1518,8 @@ public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions va
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1378,6 +1545,8 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1390,6 +1559,8 @@ public com.google.firestore.v1.TransactionOptions.Builder getNewTransactionBuild
       return getNewTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1410,6 +1581,8 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1419,27 +1592,38 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return newTransactionBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        readTimeBuilder_;
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1447,6 +1631,7 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1454,6 +1639,8 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** + * + * *
      * Executes the query at the given timestamp.
      * Requires:
@@ -1461,6 +1648,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ @java.lang.Override @@ -1478,6 +1666,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Executes the query at the given timestamp.
      * Requires:
@@ -1500,6 +1690,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1508,8 +1700,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 6;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1520,6 +1711,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1530,10 +1723,13 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 6 &&
-            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
-              .mergeFrom(value).buildPartial();
+        if (consistencySelectorCase_ == 6
+            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ =
+              com.google.protobuf.Timestamp.newBuilder(
+                      (com.google.protobuf.Timestamp) consistencySelector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1549,6 +1745,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1574,6 +1772,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1586,6 +1786,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1606,6 +1808,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1615,26 +1819,32 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1644,12 +1854,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.RunAggregationQueryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.RunAggregationQueryRequest)
   private static final com.google.firestore.v1.RunAggregationQueryRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.RunAggregationQueryRequest();
   }
@@ -1658,27 +1868,27 @@ public static com.google.firestore.v1.RunAggregationQueryRequest getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RunAggregationQueryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RunAggregationQueryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1693,6 +1903,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 e5f0943a87..ff91dc2fa5 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface RunAggregationQueryRequestOrBuilder extends
+public interface RunAggregationQueryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunAggregationQueryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -18,10 +36,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -32,60 +53,77 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * * @return Whether the structuredAggregationQuery field is set. */ boolean hasStructuredAggregationQuery(); /** + * + * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * * @return The structuredAggregationQuery. */ com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregationQuery(); /** + * + * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ - com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructuredAggregationQueryOrBuilder(); + com.google.firestore.v1.StructuredAggregationQueryOrBuilder + getStructuredAggregationQueryOrBuilder(); /** + * + * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -93,10 +131,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -104,10 +145,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return The newTransaction. */ com.google.firestore.v1.TransactionOptions getNewTransaction(); /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -119,6 +163,8 @@ public interface RunAggregationQueryRequestOrBuilder extends
   com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Executes the query at the given timestamp.
    * Requires:
@@ -126,10 +172,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -137,10 +186,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -153,5 +205,6 @@ public interface RunAggregationQueryRequestOrBuilder extends
 
   public com.google.firestore.v1.RunAggregationQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  public com.google.firestore.v1.RunAggregationQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  public com.google.firestore.v1.RunAggregationQueryRequest.ConsistencySelectorCase
+      getConsistencySelectorCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
similarity index 70%
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 4dcd6cff50..85041a6f70 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,62 +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;
 
 /**
+ *
+ *
  * 
  * The response for [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
  * 
* * Protobuf type {@code google.firestore.v1.RunAggregationQueryResponse} */ -public final class RunAggregationQueryResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunAggregationQueryResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.RunAggregationQueryResponse) RunAggregationQueryResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunAggregationQueryResponse.newBuilder() to construct. private RunAggregationQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunAggregationQueryResponse() { transaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunAggregationQueryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RunAggregationQueryResponse.class, com.google.firestore.v1.RunAggregationQueryResponse.Builder.class); + com.google.firestore.v1.RunAggregationQueryResponse.class, + com.google.firestore.v1.RunAggregationQueryResponse.Builder.class); } public static final int RESULT_FIELD_NUMBER = 1; private com.google.firestore.v1.AggregationResult result_; /** + * + * *
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return Whether the result field is set. */ @java.lang.Override @@ -64,19 +86,26 @@ public boolean hasResult() { return result_ != null; } /** + * + * *
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return The result. */ @java.lang.Override public com.google.firestore.v1.AggregationResult getResult() { - return result_ == null ? com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_; + return result_ == null + ? com.google.firestore.v1.AggregationResult.getDefaultInstance() + : result_; } /** + * + * *
    * A single aggregation result.
    * Not present when reporting partial progress.
@@ -92,6 +121,8 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
   public static final int TRANSACTION_FIELD_NUMBER = 2;
   private com.google.protobuf.ByteString transaction_;
   /**
+   *
+   *
    * 
    * The transaction that was started as part of this request.
    * Only present on the first response when the request requested to start
@@ -99,6 +130,7 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
    * 
* * bytes transaction = 2; + * * @return The transaction. */ @java.lang.Override @@ -109,11 +141,14 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * The time at which the aggregate value is valid for.
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -121,11 +156,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The time at which the aggregate value is valid for.
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ @java.lang.Override @@ -133,6 +171,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The time at which the aggregate value is valid for.
    * 
@@ -145,6 +185,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +197,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()); } @@ -177,16 +217,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; @@ -196,24 +233,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; @@ -242,129 +277,135 @@ 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].
    * 
* * 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(); @@ -386,9 +427,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 @@ -407,7 +448,8 @@ public com.google.firestore.v1.RunAggregationQueryResponse build() { @java.lang.Override public com.google.firestore.v1.RunAggregationQueryResponse buildPartial() { - com.google.firestore.v1.RunAggregationQueryResponse result = new com.google.firestore.v1.RunAggregationQueryResponse(this); + com.google.firestore.v1.RunAggregationQueryResponse result = + new com.google.firestore.v1.RunAggregationQueryResponse(this); if (resultBuilder_ == null) { result.result_ = result_; } else { @@ -427,38 +469,39 @@ public com.google.firestore.v1.RunAggregationQueryResponse 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.v1.RunAggregationQueryResponse) { - return mergeFrom((com.google.firestore.v1.RunAggregationQueryResponse)other); + return mergeFrom((com.google.firestore.v1.RunAggregationQueryResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +509,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()); } @@ -502,31 +546,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getResultFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getResultFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - transaction_ = input.readBytes(); + break; + } // case 10 + case 18: + { + transaction_ = input.readBytes(); - break; - } // case 18 - case 26: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -539,36 +583,49 @@ public Builder mergeFrom( private com.google.firestore.v1.AggregationResult result_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.AggregationResult, com.google.firestore.v1.AggregationResult.Builder, com.google.firestore.v1.AggregationResultOrBuilder> resultBuilder_; + com.google.firestore.v1.AggregationResult, + com.google.firestore.v1.AggregationResult.Builder, + com.google.firestore.v1.AggregationResultOrBuilder> + resultBuilder_; /** + * + * *
      * A single aggregation result.
      * Not present when reporting partial progress.
      * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return Whether the result field is set. */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** + * + * *
      * A single aggregation result.
      * Not present when reporting partial progress.
      * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return The result. */ public com.google.firestore.v1.AggregationResult getResult() { if (resultBuilder_ == null) { - return result_ == null ? com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_; + return result_ == null + ? com.google.firestore.v1.AggregationResult.getDefaultInstance() + : result_; } else { return resultBuilder_.getMessage(); } } /** + * + * *
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -590,6 +647,8 @@ public Builder setResult(com.google.firestore.v1.AggregationResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -597,8 +656,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();
         onChanged();
@@ -609,6 +667,8 @@ public Builder setResult(
       return this;
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -620,7 +680,9 @@ public Builder mergeResult(com.google.firestore.v1.AggregationResult value) {
       if (resultBuilder_ == null) {
         if (result_ != null) {
           result_ =
-            com.google.firestore.v1.AggregationResult.newBuilder(result_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.AggregationResult.newBuilder(result_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           result_ = value;
         }
@@ -632,6 +694,8 @@ public Builder mergeResult(com.google.firestore.v1.AggregationResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -651,6 +715,8 @@ public Builder clearResult() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -659,11 +725,13 @@ public Builder clearResult() {
      * .google.firestore.v1.AggregationResult result = 1;
      */
     public com.google.firestore.v1.AggregationResult.Builder getResultBuilder() {
-      
+
       onChanged();
       return getResultFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -675,11 +743,14 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
       if (resultBuilder_ != null) {
         return resultBuilder_.getMessageOrBuilder();
       } else {
-        return result_ == null ?
-            com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_;
+        return result_ == null
+            ? com.google.firestore.v1.AggregationResult.getDefaultInstance()
+            : result_;
       }
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -688,14 +759,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_;
@@ -703,6 +777,8 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * The transaction that was started as part of this request.
      * Only present on the first response when the request requested to start
@@ -710,6 +786,7 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
      * 
* * bytes transaction = 2; + * * @return The transaction. */ @java.lang.Override @@ -717,6 +794,8 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** + * + * *
      * The transaction that was started as part of this request.
      * Only present on the first response when the request requested to start
@@ -724,19 +803,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(); - } - + throw new NullPointerException(); + } + transaction_ = value; onChanged(); return this; } /** + * + * *
      * The transaction that was started as part of this request.
      * Only present on the first response when the request requested to start
@@ -744,10 +826,11 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 2; + * * @return This builder for chaining. */ public Builder clearTransaction() { - + transaction_ = getDefaultInstance().getTransaction(); onChanged(); return this; @@ -755,24 +838,33 @@ public Builder clearTransaction() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * The time at which the aggregate value is valid for.
      * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * The time at which the aggregate value is valid for.
      * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -783,6 +875,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The time at which the aggregate value is valid for.
      * 
@@ -803,14 +897,15 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the aggregate value is valid for.
      * 
* * .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(); onChanged(); @@ -821,6 +916,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * The time at which the aggregate value is valid for.
      * 
@@ -831,7 +928,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { if (readTime_ != null) { readTime_ = - com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial(); } else { readTime_ = value; } @@ -843,6 +940,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the aggregate value is valid for.
      * 
@@ -861,6 +960,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * The time at which the aggregate value is valid for.
      * 
@@ -868,11 +969,13 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 3; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the aggregate value is valid for.
      * 
@@ -883,11 +986,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 value is valid for.
      * 
@@ -895,21 +999,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); } @@ -919,12 +1026,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(); } @@ -933,27 +1040,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; @@ -968,6 +1075,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 73% 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 a610765d81..8a7025bbde 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface RunAggregationQueryResponseOrBuilder extends +public interface RunAggregationQueryResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunAggregationQueryResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return Whether the result field is set. */ boolean hasResult(); /** + * + * *
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return The result. */ com.google.firestore.v1.AggregationResult getResult(); /** + * + * *
    * A single aggregation result.
    * Not present when reporting partial progress.
@@ -38,6 +62,8 @@ public interface RunAggregationQueryResponseOrBuilder extends
   com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder();
 
   /**
+   *
+   *
    * 
    * The transaction that was started as part of this request.
    * Only present on the first response when the request requested to start
@@ -45,29 +71,38 @@ public interface RunAggregationQueryResponseOrBuilder extends
    * 
* * bytes transaction = 2; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * The time at which the aggregate value is valid for.
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The time at which the aggregate value is valid for.
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The time at which the aggregate value is valid for.
    * 
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 75% 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 0d7b586d9e..efb2d83246 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
  * 
* * Protobuf type {@code google.firestore.v1.RunQueryRequest} */ -public final class RunQueryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunQueryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.RunQueryRequest) RunQueryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunQueryRequest.newBuilder() to construct. private RunQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunQueryRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RunQueryRequest.class, com.google.firestore.v1.RunQueryRequest.Builder.class); + com.google.firestore.v1.RunQueryRequest.class, + com.google.firestore.v1.RunQueryRequest.Builder.class); } private int queryTypeCase_ = 0; private java.lang.Object queryType_; + public enum QueryTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(2), QUERYTYPE_NOT_SET(0); private final int value; + private QueryTypeCase(int value) { this.value = value; } @@ -71,32 +93,37 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 2: return STRUCTURED_QUERY; - case 0: return QUERYTYPE_NOT_SET; - default: return null; + case 2: + return STRUCTURED_QUERY; + case 0: + return QUERYTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public QueryTypeCase - getQueryTypeCase() { - return QueryTypeCase.forNumber( - queryTypeCase_); + public QueryTypeCase getQueryTypeCase() { + return QueryTypeCase.forNumber(queryTypeCase_); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; + public enum ConsistencySelectorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(5), NEW_TRANSACTION(6), READ_TIME(7), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; + private ConsistencySelectorCase(int value) { this.value = value; } @@ -112,27 +139,33 @@ 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -143,6 +176,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -151,14 +185,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
@@ -169,16 +204,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 { @@ -188,11 +222,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 @@ -200,21 +237,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.
    * 
@@ -224,19 +266,22 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { @java.lang.Override public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } public static final int TRANSACTION_FIELD_NUMBER = 5; /** + * + * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -244,12 +289,15 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; + * * @return The transaction. */ @java.lang.Override @@ -262,6 +310,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 +320,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 +328,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 6; } /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -285,16 +338,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 +363,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 +386,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 +417,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 +435,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 +443,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 +464,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 +491,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 +510,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,130 +563,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(); @@ -648,9 +715,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 @@ -669,7 +736,8 @@ public com.google.firestore.v1.RunQueryRequest build() { @java.lang.Override public com.google.firestore.v1.RunQueryRequest buildPartial() { - com.google.firestore.v1.RunQueryRequest result = new com.google.firestore.v1.RunQueryRequest(this); + com.google.firestore.v1.RunQueryRequest result = + new com.google.firestore.v1.RunQueryRequest(this); result.parent_ = parent_; if (queryTypeCase_ == 2) { if (structuredQueryBuilder_ == null) { @@ -705,38 +773,39 @@ public com.google.firestore.v1.RunQueryRequest 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.v1.RunQueryRequest) { - return mergeFrom((com.google.firestore.v1.RunQueryRequest)other); + return mergeFrom((com.google.firestore.v1.RunQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -750,30 +819,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(); @@ -801,43 +876,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - 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: + 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) { @@ -847,12 +922,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() { @@ -864,10 +939,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() { @@ -877,9 +951,10 @@ public Builder clearConsistencySelector() { return this; } - private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -890,13 +965,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; @@ -905,6 +980,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -915,15 +992,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 { @@ -931,6 +1007,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -941,20 +1019,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -965,15 +1045,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -984,29 +1067,35 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> structuredQueryBuilder_; + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> + structuredQueryBuilder_; /** + * + * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -1014,11 +1103,14 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override @@ -1036,6 +1128,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
      * A structured query.
      * 
@@ -1056,6 +1150,8 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** + * + * *
      * A structured query.
      * 
@@ -1074,6 +1170,8 @@ public Builder setStructuredQuery( return this; } /** + * + * *
      * A structured query.
      * 
@@ -1082,10 +1180,13 @@ public Builder setStructuredQuery( */ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { if (structuredQueryBuilder_ == null) { - if (queryTypeCase_ == 2 && - queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { - queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_) - .mergeFrom(value).buildPartial(); + if (queryTypeCase_ == 2 + && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = + com.google.firestore.v1.StructuredQuery.newBuilder( + (com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value) + .buildPartial(); } else { queryType_ = value; } @@ -1101,6 +1202,8 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** + * + * *
      * A structured query.
      * 
@@ -1124,6 +1227,8 @@ public Builder clearStructuredQuery() { return this; } /** + * + * *
      * A structured query.
      * 
@@ -1134,6 +1239,8 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** + * + * *
      * A structured query.
      * 
@@ -1152,6 +1259,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** + * + * *
      * A structured query.
      * 
@@ -1159,43 +1268,55 @@ 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()); queryType_ = null; } queryTypeCase_ = 2; - onChanged();; + onChanged(); + ; return structuredQueryBuilder_; } /** + * + * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; + * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1205,31 +1326,37 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - consistencySelectorCase_ = 5; + throw new NullPointerException(); + } + consistencySelectorCase_ = 5; consistencySelector_ = value; onChanged(); return this; } /** + * + * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1242,8 +1369,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.
@@ -1252,6 +1384,7 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1259,6 +1392,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 6; } /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1267,6 +1402,7 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; + * * @return The newTransaction. */ @java.lang.Override @@ -1284,6 +1420,8 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1307,6 +1445,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.
@@ -1328,6 +1468,8 @@ public Builder setNewTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1339,10 +1481,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;
         }
@@ -1358,6 +1504,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.
@@ -1384,6 +1532,8 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1397,6 +1547,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.
@@ -1418,6 +1570,8 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1428,33 +1582,45 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return newTransactionBuilder_;
     }
 
     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 @@ -1462,12 +1628,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 @@ -1485,6 +1654,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1506,6 +1677,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.
@@ -1513,8 +1686,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();
@@ -1525,6 +1697,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1534,10 +1708,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;
         }
@@ -1553,6 +1730,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.
@@ -1577,6 +1756,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1588,6 +1769,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.
@@ -1607,6 +1790,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1615,26 +1800,32 @@ 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());
         consistencySelector_ = null;
       }
       consistencySelectorCase_ = 7;
-      onChanged();;
+      onChanged();
+      ;
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1644,12 +1835,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();
   }
@@ -1658,27 +1849,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;
@@ -1693,6 +1884,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.RunQueryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
index 62a4acba08..b6c813a6b7 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface RunQueryRequestOrBuilder extends
+public interface RunQueryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunQueryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -18,10 +36,13 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -32,30 +53,38 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** + * + * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** + * + * *
    * A structured query.
    * 
@@ -65,27 +94,35 @@ public interface RunQueryRequestOrBuilder extends com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder(); /** + * + * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -94,10 +131,13 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; + * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -106,10 +146,13 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; + * * @return The newTransaction. */ com.google.firestore.v1.TransactionOptions getNewTransaction(); /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -122,26 +165,34 @@ public interface RunQueryRequestOrBuilder extends
   com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -153,5 +204,6 @@ public interface RunQueryRequestOrBuilder extends
 
   public com.google.firestore.v1.RunQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  public com.google.firestore.v1.RunQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  public com.google.firestore.v1.RunQueryRequest.ConsistencySelectorCase
+      getConsistencySelectorCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
index 151ae43d3d..dadba35fc0 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,61 +1,83 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The response for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
  * 
* * Protobuf type {@code google.firestore.v1.RunQueryResponse} */ -public final class RunQueryResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunQueryResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.RunQueryResponse) RunQueryResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunQueryResponse.newBuilder() to construct. private RunQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunQueryResponse() { transaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunQueryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RunQueryResponse.class, com.google.firestore.v1.RunQueryResponse.Builder.class); + com.google.firestore.v1.RunQueryResponse.class, + com.google.firestore.v1.RunQueryResponse.Builder.class); } private int continuationSelectorCase_ = 0; private java.lang.Object continuationSelector_; + public enum ContinuationSelectorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DONE(6), CONTINUATIONSELECTOR_NOT_SET(0); private final int value; + private ContinuationSelectorCase(int value) { this.value = value; } @@ -71,25 +93,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_; /** + * + * *
    * The transaction that was started as part of this request.
    * Can only be set in the first response, and only if
@@ -98,6 +124,7 @@ public int getNumber() {
    * 
* * bytes transaction = 2; + * * @return The transaction. */ @java.lang.Override @@ -108,11 +135,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 @@ -120,11 +150,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 @@ -132,6 +165,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.
    * 
@@ -146,6 +181,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
@@ -156,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 @@ -163,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 +213,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ @java.lang.Override @@ -180,6 +221,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
@@ -199,12 +242,15 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int SKIPPED_RESULTS_FIELD_NUMBER = 4;
   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 @@ -214,12 +260,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 @@ -227,12 +276,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 @@ -244,6 +296,7 @@ public boolean getDone() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +308,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (document_ != null) { output.writeMessage(1, getDocument()); } @@ -270,8 +322,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); } @@ -283,25 +334,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; @@ -311,32 +358,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: @@ -367,8 +409,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: @@ -378,130 +419,136 @@ 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].
    * 
* * Protobuf type {@code google.firestore.v1.RunQueryResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.RunQueryResponse) com.google.firestore.v1.RunQueryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RunQueryResponse.class, com.google.firestore.v1.RunQueryResponse.Builder.class); + com.google.firestore.v1.RunQueryResponse.class, + com.google.firestore.v1.RunQueryResponse.Builder.class); } // Construct using com.google.firestore.v1.RunQueryResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -527,9 +574,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryResponse_descriptor; } @java.lang.Override @@ -548,7 +595,8 @@ public com.google.firestore.v1.RunQueryResponse build() { @java.lang.Override public com.google.firestore.v1.RunQueryResponse buildPartial() { - com.google.firestore.v1.RunQueryResponse result = new com.google.firestore.v1.RunQueryResponse(this); + com.google.firestore.v1.RunQueryResponse result = + new com.google.firestore.v1.RunQueryResponse(this); result.transaction_ = transaction_; if (documentBuilder_ == null) { result.document_ = document_; @@ -573,38 +621,39 @@ public com.google.firestore.v1.RunQueryResponse 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.v1.RunQueryResponse) { - return mergeFrom((com.google.firestore.v1.RunQueryResponse)other); + return mergeFrom((com.google.firestore.v1.RunQueryResponse) other); } else { super.mergeFrom(other); return this; @@ -626,13 +675,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(); @@ -660,41 +711,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDocumentFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - transaction_ = input.readBytes(); - - break; - } // case 18 - case 26: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 32: { - skippedResults_ = input.readInt32(); - - 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); + + break; + } // case 10 + case 18: + { + transaction_ = input.readBytes(); + + break; + } // case 18 + case 26: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 32: + { + skippedResults_ = input.readInt32(); + + 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) { @@ -704,12 +757,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() { @@ -719,9 +772,10 @@ public Builder clearContinuationSelector() { return this; } - 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
@@ -730,6 +784,7 @@ public Builder clearContinuationSelector() {
      * 
* * bytes transaction = 2; + * * @return The transaction. */ @java.lang.Override @@ -737,6 +792,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
@@ -745,19 +802,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(); - } - + throw new NullPointerException(); + } + transaction_ = value; onChanged(); return this; } /** + * + * *
      * The transaction that was started as part of this request.
      * Can only be set in the first response, and only if
@@ -766,10 +826,11 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 2; + * * @return This builder for chaining. */ public Builder clearTransaction() { - + transaction_ = getDefaultInstance().getTransaction(); onChanged(); return this; @@ -777,34 +838,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 documentBuilder_ != null || document_ != null; } /** + * + * *
      * 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.
      * 
@@ -825,14 +899,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(); onChanged(); @@ -843,6 +918,8 @@ public Builder setDocument( return this; } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -853,7 +930,9 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { if (document_ != null) { document_ = - com.google.firestore.v1.Document.newBuilder(document_).mergeFrom(value).buildPartial(); + com.google.firestore.v1.Document.newBuilder(document_) + .mergeFrom(value) + .buildPartial(); } else { document_ = value; } @@ -865,6 +944,8 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -883,6 +964,8 @@ public Builder clearDocument() { return this; } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -890,11 +973,13 @@ public Builder clearDocument() { * .google.firestore.v1.Document document = 1; */ public com.google.firestore.v1.Document.Builder getDocumentBuilder() { - + onChanged(); return getDocumentFieldBuilder().getBuilder(); } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -905,11 +990,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.
      * 
@@ -917,14 +1005,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_; @@ -932,8 +1023,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
@@ -944,12 +1040,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 readTimeBuilder_ != null || 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
@@ -960,6 +1059,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -970,6 +1070,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
@@ -995,6 +1097,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
@@ -1006,8 +1110,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();
         onChanged();
@@ -1018,6 +1121,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
@@ -1033,7 +1138,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -1045,6 +1150,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
@@ -1068,6 +1175,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
@@ -1080,11 +1189,13 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-      
+
       onChanged();
       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
@@ -1100,11 +1211,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
@@ -1117,27 +1229,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 @@ -1145,56 +1263,68 @@ public int getSkippedResults() { return skippedResults_; } /** + * + * *
      * The number of results that have been skipped due to an offset between
      * the last response and the current response.
      * 
* * int32 skipped_results = 4; + * * @param value The skippedResults to set. * @return This builder for chaining. */ public Builder setSkippedResults(int value) { - + skippedResults_ = value; onChanged(); return this; } /** + * + * *
      * The number of results that have been skipped due to an offset between
      * the last response and the current response.
      * 
* * int32 skipped_results = 4; + * * @return This builder for chaining. */ public Builder clearSkippedResults() { - + skippedResults_ = 0; onChanged(); return this; } /** + * + * *
      * 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() { @@ -1204,12 +1334,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. */ @@ -1220,12 +1353,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() { @@ -1236,9 +1372,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); } @@ -1248,12 +1384,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(); } @@ -1262,27 +1398,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; @@ -1297,6 +1433,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.RunQueryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java similarity index 82% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java index 912661d8fc..39eda1dbd7 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
@@ -16,29 +34,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.
    * 
@@ -48,6 +75,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
@@ -58,10 +87,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
@@ -72,10 +104,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
@@ -90,36 +125,46 @@ public interface RunQueryResponseOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The number of results that have been skipped due to an offset between
    * the last response and the current response.
    * 
* * int32 skipped_results = 4; + * * @return The skippedResults. */ int getSkippedResults(); /** + * + * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; + * * @return Whether the done field is set. */ boolean hasDone(); /** + * + * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; + * * @return The done. */ boolean getDone(); - public com.google.firestore.v1.RunQueryResponse.ContinuationSelectorCase getContinuationSelectorCase(); + public com.google.firestore.v1.RunQueryResponse.ContinuationSelectorCase + getContinuationSelectorCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java index 2fa9f3a8eb..d4f67e9184 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,85 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License 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].
  * 
* * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery} */ -public final class StructuredAggregationQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StructuredAggregationQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredAggregationQuery) StructuredAggregationQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StructuredAggregationQuery.newBuilder() to construct. private StructuredAggregationQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StructuredAggregationQuery() { aggregations_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StructuredAggregationQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredAggregationQuery.class, com.google.firestore.v1.StructuredAggregationQuery.Builder.class); + com.google.firestore.v1.StructuredAggregationQuery.class, + com.google.firestore.v1.StructuredAggregationQuery.Builder.class); } - public interface AggregationOrBuilder extends + public interface AggregationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredAggregationQuery.Aggregation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; + * * @return Whether the count field is set. */ boolean hasCount(); /** + * + * *
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; + * * @return The count. */ com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getCount(); /** + * + * *
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder(); + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder + getCountOrBuilder(); /** + * + * *
      * Optional. Optional name of the field to store the result of the aggregation into.
      * If not provided, Firestore will pick a default name following the format
@@ -111,10 +142,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.
      * If not provided, Firestore will pick a default name following the format
@@ -146,63 +180,71 @@ public interface AggregationOrBuilder extends
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for alias. */ - com.google.protobuf.ByteString - getAliasBytes(); + com.google.protobuf.ByteString getAliasBytes(); - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.OperatorCase getOperatorCase(); + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.OperatorCase + getOperatorCase(); } /** + * + * *
    * Defines a aggregation that produces a single result.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery.Aggregation} */ - public static final class Aggregation extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Aggregation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredAggregationQuery.Aggregation) AggregationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Aggregation.newBuilder() to construct. private Aggregation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Aggregation() { alias_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Aggregation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.class, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder.class); + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.class, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder.class); } - public interface CountOrBuilder extends + public interface CountOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. Optional constraint on the maximum number of documents to count.
        * This provides a way to set an upper bound on the number of documents
@@ -216,11 +258,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.
        * This provides a way to set an upper bound on the number of documents
@@ -234,11 +280,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.
        * This provides a way to set an upper bound on the number of documents
@@ -252,11 +302,14 @@ public interface CountOrBuilder extends
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder(); } /** + * + * *
      * Count of documents that match the query.
      * The `COUNT(*)` aggregation function operates on the entire document
@@ -265,46 +318,49 @@ public interface CountOrBuilder extends
      *
      * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery.Aggregation.Count}
      */
-    public static final class Count extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class Count extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)
         CountOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Count.newBuilder() to construct.
       private Count(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private Count() {
-      }
+
+      private Count() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Count();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.firestore.v1.QueryProto
+            .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
+        return com.google.firestore.v1.QueryProto
+            .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder.class);
+                com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class,
+                com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder.class);
       }
 
       public static final int UP_TO_FIELD_NUMBER = 1;
       private com.google.protobuf.Int64Value upTo_;
       /**
+       *
+       *
        * 
        * Optional. Optional constraint on the maximum number of documents to count.
        * This provides a way to set an upper bound on the number of documents
@@ -318,7 +374,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 @@ -326,6 +384,8 @@ public boolean hasUpTo() { return upTo_ != null; } /** + * + * *
        * Optional. Optional constraint on the maximum number of documents to count.
        * This provides a way to set an upper bound on the number of documents
@@ -339,7 +399,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 @@ -347,6 +409,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.
        * This provides a way to set an upper bound on the number of documents
@@ -360,7 +424,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() { @@ -368,6 +433,7 @@ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -379,8 +445,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()); } @@ -394,8 +459,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; @@ -405,17 +469,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; @@ -438,87 +503,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 @@ -528,6 +602,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Count of documents that match the query.
        * The `COUNT(*)` aggregation function operates on the entire document
@@ -536,33 +612,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();
@@ -576,19 +654,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);
           }
@@ -597,7 +678,8 @@ 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);
+          com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result =
+              new com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count(this);
           if (upToBuilder_ == null) {
             result.upTo_ = upTo_;
           } else {
@@ -611,46 +693,54 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count buil
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
+
         @java.lang.Override
-        public Builder clearField(
-            com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
+
         @java.lang.Override
-        public Builder clearOneof(
-            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(com.google.protobuf.Descriptors.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());
           }
@@ -680,19 +770,19 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 10: {
-                  input.readMessage(
-                      getUpToFieldBuilder().getBuilder(),
-                      extensionRegistry);
-
-                  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);
+
+                    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) {
@@ -705,8 +795,13 @@ public Builder mergeFrom(
 
         private com.google.protobuf.Int64Value upTo_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> upToBuilder_;
+                com.google.protobuf.Int64Value,
+                com.google.protobuf.Int64Value.Builder,
+                com.google.protobuf.Int64ValueOrBuilder>
+            upToBuilder_;
         /**
+         *
+         *
          * 
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -720,13 +815,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 upToBuilder_ != null || upTo_ != null; } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -740,7 +839,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() { @@ -751,6 +852,8 @@ public com.google.protobuf.Int64Value getUpTo() { } } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -764,7 +867,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) { @@ -780,6 +884,8 @@ public Builder setUpTo(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -793,10 +899,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(); onChanged(); @@ -807,6 +913,8 @@ public Builder setUpTo( return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -820,13 +928,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 (upTo_ != null) { upTo_ = - com.google.protobuf.Int64Value.newBuilder(upTo_).mergeFrom(value).buildPartial(); + com.google.protobuf.Int64Value.newBuilder(upTo_).mergeFrom(value).buildPartial(); } else { upTo_ = value; } @@ -838,6 +947,8 @@ public Builder mergeUpTo(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -851,7 +962,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() { if (upToBuilder_ == null) { @@ -865,6 +977,8 @@ public Builder clearUpTo() { return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -878,14 +992,17 @@ 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() { - + onChanged(); return getUpToFieldBuilder().getBuilder(); } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to count.
          * This provides a way to set an upper bound on the number of documents
@@ -899,17 +1016,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.
          * This provides a way to set an upper bound on the number of documents
@@ -923,21 +1042,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) { @@ -950,41 +1074,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; @@ -996,20 +1124,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int operatorCase_ = 0; private java.lang.Object operator_; + public enum OperatorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COUNT(1), OPERATOR_NOT_SET(0); private final int value; + private OperatorCase(int value) { this.value = value; } @@ -1025,29 +1156,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 @@ -1055,21 +1191,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.
      * 
@@ -1077,16 +1219,20 @@ 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; private volatile java.lang.Object alias_; /** + * + * *
      * Optional. Optional name of the field to store the result of the aggregation into.
      * If not provided, Firestore will pick a default name following the format
@@ -1118,6 +1264,7 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBui
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The alias. */ @java.lang.Override @@ -1126,14 +1273,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.
      * If not provided, Firestore will pick a default name following the format
@@ -1165,16 +1313,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 { @@ -1183,6 +1330,7 @@ public java.lang.String getAlias() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1194,10 +1342,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_); @@ -1212,8 +1360,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_); @@ -1226,20 +1376,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: @@ -1271,87 +1420,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 @@ -1361,39 +1517,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Defines a 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(); @@ -1408,13 +1566,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(); } @@ -1429,7 +1588,8 @@ 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); + com.google.firestore.v1.StructuredAggregationQuery.Aggregation result = + new com.google.firestore.v1.StructuredAggregationQuery.Aggregation(this); if (operatorCase_ == 1) { if (countBuilder_ == null) { result.operator_ = operator_; @@ -1447,58 +1607,66 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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_; 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(); @@ -1526,24 +1694,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(); + case 10: + { + input.readMessage(getCountFieldBuilder().getBuilder(), extensionRegistry); + operatorCase_ = 1; + break; + } // case 10 + case 58: + { + alias_ = input.readStringRequireUtf8(); - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -1553,12 +1722,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() { @@ -1568,15 +1737,20 @@ public Builder clearOperator() { return this; } - 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 @@ -1584,11 +1758,14 @@ public boolean hasCount() { return operatorCase_ == 1; } /** + * + * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; + * * @return The count. */ @java.lang.Override @@ -1597,22 +1774,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(); @@ -1626,6 +1808,8 @@ public Builder setCount(com.google.firestore.v1.StructuredAggregationQuery.Aggre return this; } /** + * + * *
        * Count aggregator.
        * 
@@ -1633,7 +1817,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(); @@ -1644,18 +1829,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; } @@ -1671,6 +1865,8 @@ public Builder mergeCount(com.google.firestore.v1.StructuredAggregationQuery.Agg return this; } /** + * + * *
        * Count aggregator.
        * 
@@ -1694,16 +1890,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.
        * 
@@ -1711,17 +1912,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.
        * 
@@ -1729,26 +1934,36 @@ 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()); operator_ = null; } operatorCase_ = 1; - onChanged();; + onChanged(); + ; return countBuilder_; } private java.lang.Object alias_ = ""; /** + * + * *
        * Optional. Optional name of the field to store the result of the aggregation into.
        * If not provided, Firestore will pick a default name following the format
@@ -1780,13 +1995,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; @@ -1795,6 +2010,8 @@ public java.lang.String getAlias() { } } /** + * + * *
        * Optional. Optional name of the field to store the result of the aggregation into.
        * If not provided, Firestore will pick a default name following the format
@@ -1826,15 +2043,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 { @@ -1842,6 +2058,8 @@ public java.lang.String getAlias() { } } /** + * + * *
        * Optional. Optional name of the field to store the result of the aggregation into.
        * If not provided, Firestore will pick a default name following the format
@@ -1873,20 +2091,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) { + public Builder setAlias(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + alias_ = value; onChanged(); return this; } /** + * + * *
        * Optional. Optional name of the field to store the result of the aggregation into.
        * If not provided, Firestore will pick a default name following the format
@@ -1918,15 +2138,18 @@ public Builder setAlias(
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAlias() { - + alias_ = getDefaultInstance().getAlias(); onChanged(); return this; } /** + * + * *
        * Optional. Optional name of the field to store the result of the aggregation into.
        * If not provided, Firestore will pick a default name following the format
@@ -1958,20 +2181,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) { + public Builder setAliasBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + alias_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1984,41 +2208,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; @@ -2030,20 +2257,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int queryTypeCase_ = 0; private java.lang.Object queryType_; + public enum QueryTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(1), QUERYTYPE_NOT_SET(0); private final int value; + private QueryTypeCase(int value) { this.value = value; } @@ -2059,29 +2289,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 @@ -2089,21 +2324,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.
    * 
@@ -2113,82 +2353,106 @@ 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; - private java.util.List aggregations_; + private java.util.List + aggregations_; /** + * + * *
    * Optional. Series of aggregations to apply over the results of the `structured_query`.
    * Requires:
    * * 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`.
    * Requires:
    * * 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 + 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`.
    * Requires:
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAggregationsCount() { return aggregations_.size(); } /** + * + * *
    * Optional. Series of aggregations to apply over the results of the `structured_query`.
    * Requires:
    * * 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`.
    * Requires:
    * * 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; @@ -2200,8 +2464,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_); } @@ -2218,12 +2481,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; @@ -2233,20 +2496,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: @@ -2280,129 +2542,135 @@ 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].
    * 
* * 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(); @@ -2422,9 +2690,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 @@ -2443,7 +2711,8 @@ 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); int from_bitField0_ = bitField0_; if (queryTypeCase_ == 1) { if (structuredQueryBuilder_ == null) { @@ -2470,38 +2739,39 @@ public com.google.firestore.v1.StructuredAggregationQuery 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.v1.StructuredAggregationQuery) { - return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery)other); + return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery) other); } else { super.mergeFrom(other); return this; @@ -2509,7 +2779,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()) { @@ -2528,22 +2799,25 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredAggregationQuery othe aggregationsBuilder_ = null; aggregations_ = other.aggregations_; bitField0_ = (bitField0_ & ~0x00000001); - 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(); @@ -2571,32 +2845,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) { @@ -2606,12 +2881,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() { @@ -2624,13 +2899,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 @@ -2638,11 +2919,14 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 1; } /** + * + * *
      * Nested structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; + * * @return The structuredQuery. */ @java.lang.Override @@ -2660,6 +2944,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
      * Nested structured query.
      * 
@@ -2680,6 +2966,8 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** + * + * *
      * Nested structured query.
      * 
@@ -2698,6 +2986,8 @@ public Builder setStructuredQuery( return this; } /** + * + * *
      * Nested structured query.
      * 
@@ -2706,10 +2996,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; } @@ -2725,6 +3018,8 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** + * + * *
      * Nested structured query.
      * 
@@ -2748,6 +3043,8 @@ public Builder clearStructuredQuery() { return this; } /** + * + * *
      * Nested structured query.
      * 
@@ -2758,6 +3055,8 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Nested structured query.
      * 
@@ -2776,6 +3075,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** + * + * *
      * Nested structured query.
      * 
@@ -2783,46 +3084,63 @@ 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()); queryType_ = null; } queryTypeCase_ = 1; - onChanged();; + onChanged(); + ; 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_ & 0x00000001) != 0)) { - aggregations_ = new java.util.ArrayList(aggregations_); + aggregations_ = + new java.util.ArrayList( + aggregations_); bitField0_ |= 0x00000001; - } + } } 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`.
      * Requires:
      * * 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 { @@ -2830,13 +3148,17 @@ public java.util.List * Optional. Series of aggregations to apply over the results of the `structured_query`. * Requires: * * A minimum of one and maximum of five aggregations per query. *
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAggregationsCount() { if (aggregationsBuilder_ == null) { @@ -2846,15 +3168,20 @@ public int getAggregationsCount() { } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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 { @@ -2862,13 +3189,17 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggrega } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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) { @@ -2885,16 +3216,21 @@ public Builder setAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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()); @@ -2905,15 +3241,20 @@ public Builder setAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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(); @@ -2927,13 +3268,17 @@ public Builder addAggregations(com.google.firestore.v1.StructuredAggregationQuer return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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) { @@ -2950,13 +3295,17 @@ public Builder addAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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) { @@ -2970,16 +3319,21 @@ public Builder addAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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()); @@ -2990,20 +3344,24 @@ public Builder addAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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); @@ -3011,13 +3369,17 @@ public Builder addAllAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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) { @@ -3030,13 +3392,17 @@ public Builder clearAggregations() { return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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) { @@ -3049,45 +3415,59 @@ public Builder removeAggregations(int index) { return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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`.
      * Requires:
      * * 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`.
      * Requires:
      * * 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 { @@ -3095,62 +3475,81 @@ public com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder g } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the `structured_query`.
      * Requires:
      * * 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`.
      * Requires:
      * * 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`.
      * Requires:
      * * 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -3160,12 +3559,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(); } @@ -3174,27 +3573,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; @@ -3209,6 +3608,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 61% 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 857f9b1d21..c3968ed4dc 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,55 +59,75 @@ public interface StructuredAggregationQueryOrBuilder extends com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder(); /** + * + * *
    * Optional. Series of aggregations to apply over the results of the `structured_query`.
    * Requires:
    * * 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`.
    * Requires:
    * * 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`.
    * Requires:
    * * 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`.
    * Requires:
    * * 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`.
    * Requires:
    * * 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 7ace4086b5..e0f5856407 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/query.proto package com.google.firestore.v1; /** + * + * *
  * A Firestore query.
  * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery} */ -public final class StructuredQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StructuredQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery) StructuredQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StructuredQuery.newBuilder() to construct. private StructuredQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StructuredQuery() { from_ = java.util.Collections.emptyList(); orderBy_ = java.util.Collections.emptyList(); @@ -26,39 +44,43 @@ private StructuredQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StructuredQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.class, com.google.firestore.v1.StructuredQuery.Builder.class); + com.google.firestore.v1.StructuredQuery.class, + com.google.firestore.v1.StructuredQuery.Builder.class); } /** + * + * *
    * A sort direction.
    * 
* * Protobuf enum {@code google.firestore.v1.StructuredQuery.Direction} */ - public enum Direction - implements com.google.protobuf.ProtocolMessageEnum { + public enum Direction implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -67,6 +89,8 @@ public enum Direction */ DIRECTION_UNSPECIFIED(0), /** + * + * *
      * Ascending.
      * 
@@ -75,6 +99,8 @@ public enum Direction */ ASCENDING(1), /** + * + * *
      * Descending.
      * 
@@ -86,6 +112,8 @@ public enum Direction ; /** + * + * *
      * Unspecified.
      * 
@@ -94,6 +122,8 @@ public enum Direction */ public static final int DIRECTION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Ascending.
      * 
@@ -102,6 +132,8 @@ public enum Direction */ public static final int ASCENDING_VALUE = 1; /** + * + * *
      * Descending.
      * 
@@ -110,7 +142,6 @@ public enum Direction */ public static final int DESCENDING_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -135,49 +166,49 @@ public static Direction valueOf(int value) { */ public static Direction forNumber(int value) { switch (value) { - case 0: return DIRECTION_UNSPECIFIED; - case 1: return ASCENDING; - case 2: return DESCENDING; - default: return null; + case 0: + return DIRECTION_UNSPECIFIED; + case 1: + return ASCENDING; + case 2: + return DESCENDING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Direction> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Direction findValueByNumber(int number) { - return Direction.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Direction findValueByNumber(int number) { + return Direction.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.firestore.v1.StructuredQuery.getDescriptor().getEnumTypes().get(0); } private static final Direction[] VALUES = values(); - public static Direction valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Direction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -194,33 +225,41 @@ private Direction(int value) { // @@protoc_insertion_point(enum_scope:google.firestore.v1.StructuredQuery.Direction) } - public interface CollectionSelectorOrBuilder extends + public interface CollectionSelectorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.CollectionSelector) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The collection ID.
      * When set, selects only collections with this ID.
      * 
* * string collection_id = 2; + * * @return The collectionId. */ java.lang.String getCollectionId(); /** + * + * *
      * The collection ID.
      * When set, selects only collections with this ID.
      * 
* * string collection_id = 2; + * * @return The bytes for collectionId. */ - com.google.protobuf.ByteString - getCollectionIdBytes(); + com.google.protobuf.ByteString getCollectionIdBytes(); /** + * + * *
      * When false, selects only collections that are immediate children of
      * the `parent` specified in the containing `RunQueryRequest`.
@@ -228,64 +267,72 @@ public interface CollectionSelectorOrBuilder extends
      * 
* * bool all_descendants = 3; + * * @return The allDescendants. */ boolean getAllDescendants(); } /** + * + * *
    * A selection of a collection, such as `messages as m1`.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CollectionSelector} */ - public static final class CollectionSelector extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CollectionSelector extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.CollectionSelector) CollectionSelectorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CollectionSelector.newBuilder() to construct. private CollectionSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CollectionSelector() { collectionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CollectionSelector(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.CollectionSelector.class, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); + com.google.firestore.v1.StructuredQuery.CollectionSelector.class, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); } public static final int COLLECTION_ID_FIELD_NUMBER = 2; 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 @@ -294,30 +341,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 { @@ -328,6 +375,8 @@ public java.lang.String getCollectionId() { public static final int ALL_DESCENDANTS_FIELD_NUMBER = 3; private boolean allDescendants_; /** + * + * *
      * When false, selects only collections that are immediate children of
      * the `parent` specified in the containing `RunQueryRequest`.
@@ -335,6 +384,7 @@ public java.lang.String getCollectionId() {
      * 
* * bool all_descendants = 3; + * * @return The allDescendants. */ @java.lang.Override @@ -343,6 +393,7 @@ public boolean getAllDescendants() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -354,8 +405,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_); } @@ -375,8 +425,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; @@ -386,17 +435,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; } @@ -411,95 +459,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 @@ -509,39 +563,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A selection of a collection, such as `messages as m1`.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CollectionSelector} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.CollectionSelector) com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.CollectionSelector.class, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); + com.google.firestore.v1.StructuredQuery.CollectionSelector.class, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.CollectionSelector.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -553,13 +609,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; } @java.lang.Override - public com.google.firestore.v1.StructuredQuery.CollectionSelector getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredQuery.CollectionSelector + getDefaultInstanceForType() { return com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance(); } @@ -574,7 +631,8 @@ 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); + com.google.firestore.v1.StructuredQuery.CollectionSelector result = + new com.google.firestore.v1.StructuredQuery.CollectionSelector(this); result.collectionId_ = collectionId_; result.allDescendants_ = allDescendants_; onBuilt(); @@ -585,38 +643,41 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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; @@ -624,7 +685,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_; onChanged(); @@ -658,22 +721,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - collectionId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - allDescendants_ = input.readBool(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + collectionId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + allDescendants_ = input.readBool(); + + 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) { @@ -686,19 +752,21 @@ public Builder mergeFrom( 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; @@ -707,21 +775,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 { @@ -729,64 +798,73 @@ 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) { + public Builder setCollectionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + collectionId_ = value; 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() { - + collectionId_ = getDefaultInstance().getCollectionId(); onChanged(); 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) { + public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + collectionId_ = value; onChanged(); 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`.
@@ -794,6 +872,7 @@ public Builder setCollectionIdBytes(
        * 
* * bool all_descendants = 3; + * * @return The allDescendants. */ @java.lang.Override @@ -801,6 +880,8 @@ public boolean getAllDescendants() { return allDescendants_; } /** + * + * *
        * When false, selects only collections that are immediate children of
        * the `parent` specified in the containing `RunQueryRequest`.
@@ -808,16 +889,19 @@ public boolean getAllDescendants() {
        * 
* * bool all_descendants = 3; + * * @param value The allDescendants to set. * @return This builder for chaining. */ public Builder setAllDescendants(boolean value) { - + allDescendants_ = value; onChanged(); return this; } /** + * + * *
        * When false, selects only collections that are immediate children of
        * the `parent` specified in the containing `RunQueryRequest`.
@@ -825,14 +909,16 @@ public Builder setAllDescendants(boolean value) {
        * 
* * bool all_descendants = 3; + * * @return This builder for chaining. */ public Builder clearAllDescendants() { - + allDescendants_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -845,12 +931,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 +946,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 +982,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 +1025,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 +1060,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,59 +1097,65 @@ public interface FilterOrBuilder extends public com.google.firestore.v1.StructuredQuery.Filter.FilterTypeCase getFilterTypeCase(); } /** + * + * *
    * A filter.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Filter} */ - public static final class Filter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Filter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Filter) FilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Filter.newBuilder() to construct. private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Filter() { - } + + private Filter() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Filter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Filter.class, com.google.firestore.v1.StructuredQuery.Filter.Builder.class); + com.google.firestore.v1.StructuredQuery.Filter.class, + com.google.firestore.v1.StructuredQuery.Filter.Builder.class); } private int filterTypeCase_ = 0; private java.lang.Object filterType_; + public enum FilterTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMPOSITE_FILTER(1), FIELD_FILTER(2), UNARY_FILTER(3), FILTERTYPE_NOT_SET(0); private final int value; + private FilterTypeCase(int value) { this.value = value; } @@ -1053,31 +1171,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 @@ -1085,21 +1210,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.
      * 
@@ -1107,20 +1237,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 @@ -1128,21 +1262,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.
      * 
@@ -1152,18 +1291,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 @@ -1171,21 +1313,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.
      * 
@@ -1195,12 +1342,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; @@ -1212,10 +1360,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_); @@ -1233,16 +1381,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; @@ -1252,26 +1403,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: @@ -1308,88 +1457,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 @@ -1399,39 +1554,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(); @@ -1450,9 +1607,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 @@ -1471,7 +1628,8 @@ public com.google.firestore.v1.StructuredQuery.Filter build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.Filter buildPartial() { - com.google.firestore.v1.StructuredQuery.Filter result = new com.google.firestore.v1.StructuredQuery.Filter(this); + com.google.firestore.v1.StructuredQuery.Filter result = + new com.google.firestore.v1.StructuredQuery.Filter(this); if (filterTypeCase_ == 1) { if (compositeFilterBuilder_ == null) { result.filterType_ = filterType_; @@ -1502,38 +1660,41 @@ public com.google.firestore.v1.StructuredQuery.Filter 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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 +1702,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 +1751,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 +1786,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() { @@ -1636,15 +1801,20 @@ public Builder clearFilterType() { return this; } - 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 @@ -1652,11 +1822,14 @@ public boolean hasCompositeFilter() { return filterTypeCase_ == 1; } /** + * + * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + * * @return The compositeFilter. */ @java.lang.Override @@ -1674,13 +1847,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(); @@ -1694,6 +1870,8 @@ public Builder setCompositeFilter(com.google.firestore.v1.StructuredQuery.Compos return this; } /** + * + * *
        * A composite filter.
        * 
@@ -1712,18 +1890,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; } @@ -1739,6 +1924,8 @@ public Builder mergeCompositeFilter(com.google.firestore.v1.StructuredQuery.Comp return this; } /** + * + * *
        * A composite filter.
        * 
@@ -1762,16 +1949,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.
        * 
@@ -1779,7 +1971,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 { @@ -1790,6 +1983,8 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompo } } /** + * + * *
        * A composite filter.
        * 
@@ -1797,32 +1992,45 @@ 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()); filterType_ = null; } filterTypeCase_ = 1; - onChanged();; + onChanged(); + ; return compositeFilterBuilder_; } 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 @@ -1830,11 +2038,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 @@ -1852,6 +2063,8 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter() { } } /** + * + * *
        * A filter on a document field.
        * 
@@ -1872,6 +2085,8 @@ public Builder setFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFilte return this; } /** + * + * *
        * A filter on a document field.
        * 
@@ -1890,6 +2105,8 @@ public Builder setFieldFilter( return this; } /** + * + * *
        * A filter on a document field.
        * 
@@ -1898,10 +2115,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; } @@ -1917,6 +2138,8 @@ public Builder mergeFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFil return this; } /** + * + * *
        * A filter on a document field.
        * 
@@ -1940,6 +2163,8 @@ public Builder clearFieldFilter() { return this; } /** + * + * *
        * A filter on a document field.
        * 
@@ -1950,6 +2175,8 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilte return getFieldFilterFieldBuilder().getBuilder(); } /** + * + * *
        * A filter on a document field.
        * 
@@ -1957,7 +2184,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 { @@ -1968,6 +2196,8 @@ public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilt } } /** + * + * *
        * A filter on a document field.
        * 
@@ -1975,32 +2205,44 @@ 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()); filterType_ = null; } filterTypeCase_ = 2; - onChanged();; + onChanged(); + ; return fieldFilterBuilder_; } 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 @@ -2008,11 +2250,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 @@ -2030,6 +2275,8 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter() { } } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2050,6 +2297,8 @@ public Builder setUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFilte return this; } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2068,6 +2317,8 @@ public Builder setUnaryFilter( return this; } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2076,10 +2327,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; } @@ -2095,6 +2350,8 @@ public Builder mergeUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFil return this; } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2118,6 +2375,8 @@ public Builder clearUnaryFilter() { return this; } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2128,6 +2387,8 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilte return getUnaryFilterFieldBuilder().getBuilder(); } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2135,7 +2396,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 { @@ -2146,6 +2408,8 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder getUnaryFilt } } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2153,23 +2417,30 @@ 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()); filterType_ = null; } filterTypeCase_ = 3; - onChanged();; + onChanged(); + ; return unaryFilterBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2182,12 +2453,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(); } @@ -2196,27 +2467,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; @@ -2231,33 +2503,41 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CompositeFilterOrBuilder extends + public interface CompositeFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.CompositeFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The operator for combining multiple filters.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** + * + * *
      * The operator for combining multiple filters.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + * * @return The op. */ com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp(); /** + * + * *
      * The list of filters to combine.
      * Requires:
@@ -2266,9 +2546,10 @@ public interface CompositeFilterOrBuilder extends
      *
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
-    java.util.List 
-        getFiltersList();
+    java.util.List getFiltersList();
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2279,6 +2560,8 @@ public interface CompositeFilterOrBuilder extends
      */
     com.google.firestore.v1.StructuredQuery.Filter getFilters(int index);
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2289,6 +2572,8 @@ public interface CompositeFilterOrBuilder extends
      */
     int getFiltersCount();
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2297,9 +2582,11 @@ public interface CompositeFilterOrBuilder extends
      *
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
-    java.util.List 
+    java.util.List
         getFiltersOrBuilderList();
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2308,25 +2595,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(); @@ -2334,39 +2623,43 @@ private CompositeFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompositeFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.CompositeFilter.class, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.CompositeFilter.class, + com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); } /** + * + * *
      * A composite filter operator.
      * 
* * Protobuf enum {@code google.firestore.v1.StructuredQuery.CompositeFilter.Operator} */ - public enum Operator - implements com.google.protobuf.ProtocolMessageEnum { + public enum Operator implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified. This value must not be used.
        * 
@@ -2375,6 +2668,8 @@ public enum Operator */ OPERATOR_UNSPECIFIED(0), /** + * + * *
        * Documents are required to satisfy all of the combined filters.
        * 
@@ -2386,6 +2681,8 @@ public enum Operator ; /** + * + * *
        * Unspecified. This value must not be used.
        * 
@@ -2394,6 +2691,8 @@ public enum Operator */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Documents are required to satisfy all of the combined filters.
        * 
@@ -2402,7 +2701,6 @@ public enum Operator */ public static final int AND_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2427,48 +2725,49 @@ public static Operator valueOf(int value) { */ public static Operator forNumber(int value) { switch (value) { - case 0: return OPERATOR_UNSPECIFIED; - case 1: return AND; - default: return null; + case 0: + return OPERATOR_UNSPECIFIED; + case 1: + return AND; + 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; @@ -2488,33 +2787,46 @@ private Operator(int value) { public static final int OP_FIELD_NUMBER = 1; private int op_; /** + * + * *
      * 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() { + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.valueOf(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.valueOf(op_); + return result == null + ? com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.UNRECOGNIZED + : result; } public static final int FILTERS_FIELD_NUMBER = 2; private java.util.List filters_; /** + * + * *
      * The list of filters to combine.
      * Requires:
@@ -2528,6 +2840,8 @@ public java.util.List getFilters
       return filters_;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2537,11 +2851,13 @@ public java.util.List getFilters
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getFiltersOrBuilderList() {
       return filters_;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2555,6 +2871,8 @@ public int getFiltersCount() {
       return filters_.size();
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2568,6 +2886,8 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
       return filters_.get(index);
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2577,12 +2897,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;
@@ -2594,9 +2914,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++) {
@@ -2611,13 +2932,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;
@@ -2627,16 +2948,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;
     }
@@ -2660,87 +2981,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
@@ -2750,39 +3078,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(); @@ -2799,9 +3129,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 @@ -2820,7 +3150,8 @@ 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); int from_bitField0_ = bitField0_; result.op_ = op_; if (filtersBuilder_ == null) { @@ -2840,38 +3171,41 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilter 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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; @@ -2879,7 +3213,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()); } @@ -2901,9 +3236,10 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.CompositeFilter filtersBuilder_ = null; filters_ = other.filters_; bitField0_ = (bitField0_ & ~0x00000001); - filtersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFiltersFieldBuilder() : null; + filtersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFiltersFieldBuilder() + : null; } else { filtersBuilder_.addAllMessages(other.filters_); } @@ -2935,30 +3271,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - op_ = input.readEnum(); - - 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(); + + 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) { @@ -2968,55 +3307,72 @@ 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. */ public Builder setOpValue(int value) { - + op_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.valueOf(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.valueOf(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. */ @@ -3024,39 +3380,49 @@ public Builder setOp(com.google.firestore.v1.StructuredQuery.CompositeFilter.Ope if (value == null) { throw new NullPointerException(); } - + op_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The operator for combining multiple filters.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + * * @return This builder for chaining. */ public Builder clearOp() { - + op_ = 0; onChanged(); return this; } private java.util.List filters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFiltersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - filters_ = new java.util.ArrayList(filters_); + filters_ = + new java.util.ArrayList(filters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder> filtersBuilder_; + com.google.firestore.v1.StructuredQuery.Filter, + com.google.firestore.v1.StructuredQuery.Filter.Builder, + com.google.firestore.v1.StructuredQuery.FilterOrBuilder> + filtersBuilder_; /** + * + * *
        * The list of filters to combine.
        * Requires:
@@ -3073,6 +3439,8 @@ public java.util.List getFilters
         }
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3089,7 +3457,9 @@ public int getFiltersCount() {
         }
       }
       /**
-       * 
+       *
+       *
+       * 
        * The list of filters to combine.
        * Requires:
        * * At least one filter is present.
@@ -3105,6 +3475,8 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3113,8 +3485,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();
@@ -3128,6 +3499,8 @@ public Builder setFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3148,6 +3521,8 @@ public Builder setFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3170,6 +3545,8 @@ public Builder addFilters(com.google.firestore.v1.StructuredQuery.Filter value)
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3178,8 +3555,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();
@@ -3193,6 +3569,8 @@ public Builder addFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3213,6 +3591,8 @@ public Builder addFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3233,6 +3613,8 @@ public Builder addFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3245,8 +3627,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);
@@ -3254,6 +3635,8 @@ public Builder addAllFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3273,6 +3656,8 @@ public Builder clearFilters() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3292,6 +3677,8 @@ public Builder removeFilters(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3300,11 +3687,12 @@ public Builder removeFilters(int index) {
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public com.google.firestore.v1.StructuredQuery.Filter.Builder getFiltersBuilder(
-          int index) {
+      public com.google.firestore.v1.StructuredQuery.Filter.Builder getFiltersBuilder(int index) {
         return getFiltersFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3316,11 +3704,14 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder getFiltersBuilder(
       public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(
           int index) {
         if (filtersBuilder_ == null) {
-          return filters_.get(index);  } else {
+          return filters_.get(index);
+        } else {
           return filtersBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3329,8 +3720,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 {
@@ -3338,6 +3729,8 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuild
         }
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3347,10 +3740,12 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuild
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
       public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder() {
-        return getFiltersFieldBuilder().addBuilder(
-            com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
+        return getFiltersFieldBuilder()
+            .addBuilder(com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3359,12 +3754,13 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(
-          int index) {
-        return getFiltersFieldBuilder().addBuilder(
-            index, com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
+      public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(int index) {
+        return getFiltersFieldBuilder()
+            .addBuilder(index, com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3373,24 +3769,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_ & 0x00000001) != 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_ & 0x00000001) != 0), getParentForChildren(), isClean());
           filters_ = null;
         }
         return filtersBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3403,12 +3803,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();
     }
@@ -3417,27 +3817,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;
@@ -3452,32 +3853,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.
      * 
@@ -3487,43 +3896,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.
      * 
@@ -3533,60 +3956,67 @@ public interface FieldFilterOrBuilder extends com.google.firestore.v1.ValueOrBuilder getValueOrBuilder(); } /** + * + * *
    * A filter on a specific field.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldFilter} */ - public static final class FieldFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class FieldFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.FieldFilter) FieldFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldFilter.newBuilder() to construct. private FieldFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FieldFilter() { op_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FieldFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.FieldFilter.class, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.FieldFilter.class, + com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); } /** + * + * *
      * A field filter operator.
      * 
* * Protobuf enum {@code google.firestore.v1.StructuredQuery.FieldFilter.Operator} */ - public enum Operator - implements com.google.protobuf.ProtocolMessageEnum { + public enum Operator implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified. This value must not be used.
        * 
@@ -3595,6 +4025,8 @@ public enum Operator */ OPERATOR_UNSPECIFIED(0), /** + * + * *
        * The given `field` is less than the given `value`.
        * Requires:
@@ -3605,6 +4037,8 @@ public enum Operator
        */
       LESS_THAN(1),
       /**
+       *
+       *
        * 
        * The given `field` is less than or equal to the given `value`.
        * Requires:
@@ -3615,6 +4049,8 @@ public enum Operator
        */
       LESS_THAN_OR_EQUAL(2),
       /**
+       *
+       *
        * 
        * The given `field` is greater than the given `value`.
        * Requires:
@@ -3625,6 +4061,8 @@ public enum Operator
        */
       GREATER_THAN(3),
       /**
+       *
+       *
        * 
        * The given `field` is greater than or equal to the given `value`.
        * Requires:
@@ -3635,6 +4073,8 @@ public enum Operator
        */
       GREATER_THAN_OR_EQUAL(4),
       /**
+       *
+       *
        * 
        * The given `field` is equal to the given `value`.
        * 
@@ -3643,6 +4083,8 @@ public enum Operator */ EQUAL(5), /** + * + * *
        * The given `field` is not equal to the given `value`.
        * Requires:
@@ -3654,6 +4096,8 @@ public enum Operator
        */
       NOT_EQUAL(6),
       /**
+       *
+       *
        * 
        * The given `field` is an array that contains the given `value`.
        * 
@@ -3662,6 +4106,8 @@ public enum Operator */ ARRAY_CONTAINS(7), /** + * + * *
        * The given `field` is equal to at least one value in the given array.
        * Requires:
@@ -3673,6 +4119,8 @@ public enum Operator
        */
       IN(8),
       /**
+       *
+       *
        * 
        * The given `field` is an array that contains any of the values in the
        * given array.
@@ -3685,6 +4133,8 @@ public enum Operator
        */
       ARRAY_CONTAINS_ANY(9),
       /**
+       *
+       *
        * 
        * The value of the `field` is not in the given array.
        * Requires:
@@ -3701,6 +4151,8 @@ public enum Operator
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -3709,6 +4161,8 @@ public enum Operator */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The given `field` is less than the given `value`.
        * Requires:
@@ -3719,6 +4173,8 @@ public enum Operator
        */
       public static final int LESS_THAN_VALUE = 1;
       /**
+       *
+       *
        * 
        * The given `field` is less than or equal to the given `value`.
        * Requires:
@@ -3729,6 +4185,8 @@ public enum Operator
        */
       public static final int LESS_THAN_OR_EQUAL_VALUE = 2;
       /**
+       *
+       *
        * 
        * The given `field` is greater than the given `value`.
        * Requires:
@@ -3739,6 +4197,8 @@ public enum Operator
        */
       public static final int GREATER_THAN_VALUE = 3;
       /**
+       *
+       *
        * 
        * The given `field` is greater than or equal to the given `value`.
        * Requires:
@@ -3749,6 +4209,8 @@ public enum Operator
        */
       public static final int GREATER_THAN_OR_EQUAL_VALUE = 4;
       /**
+       *
+       *
        * 
        * The given `field` is equal to the given `value`.
        * 
@@ -3757,6 +4219,8 @@ public enum Operator */ public static final int EQUAL_VALUE = 5; /** + * + * *
        * The given `field` is not equal to the given `value`.
        * Requires:
@@ -3768,6 +4232,8 @@ public enum Operator
        */
       public static final int NOT_EQUAL_VALUE = 6;
       /**
+       *
+       *
        * 
        * The given `field` is an array that contains the given `value`.
        * 
@@ -3776,6 +4242,8 @@ public enum Operator */ public static final int ARRAY_CONTAINS_VALUE = 7; /** + * + * *
        * The given `field` is equal to at least one value in the given array.
        * Requires:
@@ -3787,6 +4255,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.
@@ -3799,6 +4269,8 @@ public enum Operator
        */
       public static final int ARRAY_CONTAINS_ANY_VALUE = 9;
       /**
+       *
+       *
        * 
        * The value of the `field` is not in the given array.
        * Requires:
@@ -3812,7 +4284,6 @@ public enum Operator
        */
       public static final int NOT_IN_VALUE = 10;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -3837,57 +4308,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;
@@ -3907,11 +4388,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 @@ -3919,18 +4403,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.
      * 
@@ -3945,38 +4436,52 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO public static final int OP_FIELD_NUMBER = 2; private int op_; /** + * + * *
      * 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() { + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.valueOf(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.valueOf(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 @@ -3984,11 +4489,14 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
      * The value to compare to.
      * 
* * .google.firestore.v1.Value value = 3; + * * @return The value. */ @java.lang.Override @@ -3996,6 +4504,8 @@ public com.google.firestore.v1.Value getValue() { return value_ == null ? com.google.firestore.v1.Value.getDefaultInstance() : value_; } /** + * + * *
      * The value to compare to.
      * 
@@ -4008,6 +4518,7 @@ public com.google.firestore.v1.ValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4019,12 +4530,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) { @@ -4040,16 +4552,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; @@ -4059,23 +4570,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; @@ -4104,87 +4614,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 @@ -4194,39 +4711,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(); @@ -4248,9 +4767,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 @@ -4269,7 +4788,8 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilter buildPartial() { - com.google.firestore.v1.StructuredQuery.FieldFilter result = new com.google.firestore.v1.StructuredQuery.FieldFilter(this); + com.google.firestore.v1.StructuredQuery.FieldFilter result = + new com.google.firestore.v1.StructuredQuery.FieldFilter(this); if (fieldBuilder_ == null) { result.field_ = field_; } else { @@ -4289,38 +4809,41 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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; @@ -4328,7 +4851,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()); } @@ -4364,31 +4888,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getFieldFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 16: { - op_ = input.readEnum(); - - break; - } // case 16 - case 26: { - input.readMessage( - getValueFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + break; + } // case 10 + case 16: + { + op_ = input.readEnum(); + + break; + } // case 16 + case 26: + { + input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -4401,34 +4925,47 @@ public Builder mergeFrom( 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 fieldBuilder_ != null || field_ != null; } /** + * + * *
        * 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.
        * 
@@ -4449,6 +4986,8 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** + * + * *
        * The field to filter by.
        * 
@@ -4467,6 +5006,8 @@ public Builder setField( return this; } /** + * + * *
        * The field to filter by.
        * 
@@ -4477,7 +5018,9 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder(field_) + .mergeFrom(value) + .buildPartial(); } else { field_ = value; } @@ -4489,6 +5032,8 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** + * + * *
        * The field to filter by.
        * 
@@ -4507,6 +5052,8 @@ public Builder clearField() { return this; } /** + * + * *
        * The field to filter by.
        * 
@@ -4514,11 +5061,13 @@ public Builder clearField() { * .google.firestore.v1.StructuredQuery.FieldReference field = 1; */ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** + * + * *
        * The field to filter by.
        * 
@@ -4529,11 +5078,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.
        * 
@@ -4541,14 +5093,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_; @@ -4556,51 +5111,67 @@ 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. */ public Builder setOpValue(int value) { - + op_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.valueOf(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.valueOf(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. */ @@ -4608,21 +5179,24 @@ public Builder setOp(com.google.firestore.v1.StructuredQuery.FieldFilter.Operato if (value == null) { throw new NullPointerException(); } - + op_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The operator to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + * * @return This builder for chaining. */ public Builder clearOp() { - + op_ = 0; onChanged(); return this; @@ -4630,24 +5204,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 valueBuilder_ != null || value_ != null; } /** + * + * *
        * The value to compare to.
        * 
* * .google.firestore.v1.Value value = 3; + * * @return The value. */ public com.google.firestore.v1.Value getValue() { @@ -4658,6 +5241,8 @@ public com.google.firestore.v1.Value getValue() { } } /** + * + * *
        * The value to compare to.
        * 
@@ -4678,14 +5263,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(); onChanged(); @@ -4696,6 +5282,8 @@ public Builder setValue( return this; } /** + * + * *
        * The value to compare to.
        * 
@@ -4706,7 +5294,7 @@ public Builder mergeValue(com.google.firestore.v1.Value value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.firestore.v1.Value.newBuilder(value_).mergeFrom(value).buildPartial(); + com.google.firestore.v1.Value.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -4718,6 +5306,8 @@ public Builder mergeValue(com.google.firestore.v1.Value value) { return this; } /** + * + * *
        * The value to compare to.
        * 
@@ -4736,6 +5326,8 @@ public Builder clearValue() { return this; } /** + * + * *
        * The value to compare to.
        * 
@@ -4743,11 +5335,13 @@ public Builder clearValue() { * .google.firestore.v1.Value value = 3; */ public com.google.firestore.v1.Value.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** + * + * *
        * The value to compare to.
        * 
@@ -4758,11 +5352,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.
        * 
@@ -4770,18 +5365,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) { @@ -4794,12 +5393,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(); } @@ -4808,27 +5407,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; @@ -4843,51 +5443,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.
      * 
@@ -4899,60 +5513,67 @@ public interface UnaryFilterOrBuilder extends public com.google.firestore.v1.StructuredQuery.UnaryFilter.OperandTypeCase getOperandTypeCase(); } /** + * + * *
    * A filter with a single operand.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.UnaryFilter} */ - public static final class UnaryFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UnaryFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.UnaryFilter) UnaryFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UnaryFilter.newBuilder() to construct. private UnaryFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UnaryFilter() { op_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UnaryFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.UnaryFilter.class, com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.UnaryFilter.class, + com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder.class); } /** + * + * *
      * A unary operator.
      * 
* * Protobuf enum {@code google.firestore.v1.StructuredQuery.UnaryFilter.Operator} */ - public enum Operator - implements com.google.protobuf.ProtocolMessageEnum { + public enum Operator implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified. This value must not be used.
        * 
@@ -4961,6 +5582,8 @@ public enum Operator */ OPERATOR_UNSPECIFIED(0), /** + * + * *
        * The given `field` is equal to `NaN`.
        * 
@@ -4969,6 +5592,8 @@ public enum Operator */ IS_NAN(2), /** + * + * *
        * The given `field` is equal to `NULL`.
        * 
@@ -4977,6 +5602,8 @@ public enum Operator */ IS_NULL(3), /** + * + * *
        * The given `field` is not equal to `NaN`.
        * Requires:
@@ -4988,6 +5615,8 @@ public enum Operator
        */
       IS_NOT_NAN(4),
       /**
+       *
+       *
        * 
        * The given `field` is not equal to `NULL`.
        * Requires:
@@ -5002,6 +5631,8 @@ public enum Operator
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -5010,6 +5641,8 @@ public enum Operator */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The given `field` is equal to `NaN`.
        * 
@@ -5018,6 +5651,8 @@ public enum Operator */ public static final int IS_NAN_VALUE = 2; /** + * + * *
        * The given `field` is equal to `NULL`.
        * 
@@ -5026,6 +5661,8 @@ public enum Operator */ public static final int IS_NULL_VALUE = 3; /** + * + * *
        * The given `field` is not equal to `NaN`.
        * Requires:
@@ -5037,6 +5674,8 @@ public enum Operator
        */
       public static final int IS_NOT_NAN_VALUE = 4;
       /**
+       *
+       *
        * 
        * The given `field` is not equal to `NULL`.
        * Requires:
@@ -5048,7 +5687,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(
@@ -5073,51 +5711,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;
@@ -5136,12 +5778,15 @@ private Operator(int value) {
 
     private int operandTypeCase_ = 0;
     private java.lang.Object operandType_;
+
     public enum OperandTypeCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       FIELD(2),
       OPERANDTYPE_NOT_SET(0);
       private final int value;
+
       private OperandTypeCase(int value) {
         this.value = value;
       }
@@ -5157,56 +5802,72 @@ 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_;
     /**
+     *
+     *
      * 
      * 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() { + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.valueOf(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.valueOf(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 @@ -5214,21 +5875,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.
      * 
@@ -5238,12 +5904,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; @@ -5255,13 +5922,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); } @@ -5272,13 +5941,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; @@ -5288,19 +5959,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: @@ -5332,87 +6003,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 @@ -5422,39 +6100,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(); @@ -5469,9 +6149,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 @@ -5490,7 +6170,8 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilter buildPartial() { - com.google.firestore.v1.StructuredQuery.UnaryFilter result = new com.google.firestore.v1.StructuredQuery.UnaryFilter(this); + com.google.firestore.v1.StructuredQuery.UnaryFilter result = + new com.google.firestore.v1.StructuredQuery.UnaryFilter(this); result.op_ = op_; if (operandTypeCase_ == 2) { if (fieldBuilder_ == null) { @@ -5508,38 +6189,41 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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; @@ -5547,18 +6231,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(); @@ -5586,24 +6273,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - op_ = input.readEnum(); - - 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(); + + 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) { @@ -5613,12 +6301,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() { @@ -5628,54 +6316,69 @@ public Builder clearOperandType() { return this; } - 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. */ public Builder setOpValue(int value) { - + op_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.valueOf(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.valueOf(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. */ @@ -5683,34 +6386,43 @@ public Builder setOp(com.google.firestore.v1.StructuredQuery.UnaryFilter.Operato if (value == null) { throw new NullPointerException(); } - + op_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The unary operator to apply.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + * * @return This builder for chaining. */ public Builder clearOp() { - + op_ = 0; onChanged(); return this; } 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 @@ -5718,11 +6430,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 @@ -5740,6 +6455,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { } } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5760,6 +6477,8 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5778,6 +6497,8 @@ public Builder setField( return this; } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5786,10 +6507,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; } @@ -5805,6 +6530,8 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5828,6 +6555,8 @@ public Builder clearField() { return this; } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5838,6 +6567,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBu return getFieldFieldBuilder().getBuilder(); } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5856,6 +6587,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO } } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5863,23 +6596,31 @@ 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()); operandType_ = null; } operandTypeCase_ = 2; - onChanged();; + onChanged(); + ; return fieldBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5892,12 +6633,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(); } @@ -5906,27 +6647,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; @@ -5941,32 +6683,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.
      * 
@@ -5976,77 +6726,90 @@ public interface OrderOrBuilder extends com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); /** + * + * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; + * * @return The enum numeric value on the wire for direction. */ int getDirectionValue(); /** + * + * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; + * * @return The direction. */ com.google.firestore.v1.StructuredQuery.Direction getDirection(); } /** + * + * *
    * An order on a field.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Order} */ - public static final class Order extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Order extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Order) OrderOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Order.newBuilder() to construct. private Order(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Order() { direction_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Order(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Order.class, com.google.firestore.v1.StructuredQuery.Order.Builder.class); + com.google.firestore.v1.StructuredQuery.Order.class, + com.google.firestore.v1.StructuredQuery.Order.Builder.class); } public static final int FIELD_FIELD_NUMBER = 1; private com.google.firestore.v1.StructuredQuery.FieldReference field_; /** + * + * *
      * The field to order by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + * * @return Whether the field field is set. */ @java.lang.Override @@ -6054,18 +6817,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.
      * 
@@ -6080,31 +6850,43 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO public static final int DIRECTION_FIELD_NUMBER = 2; private int direction_; /** + * + * *
      * 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() { + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.Direction getDirection() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.Direction result = com.google.firestore.v1.StructuredQuery.Direction.valueOf(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.valueOf(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; @@ -6116,12 +6898,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); @@ -6134,12 +6916,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; @@ -6149,17 +6930,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; @@ -6184,88 +6965,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 @@ -6275,39 +7062,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(); @@ -6323,9 +7112,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 @@ -6344,7 +7133,8 @@ public com.google.firestore.v1.StructuredQuery.Order build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.Order buildPartial() { - com.google.firestore.v1.StructuredQuery.Order result = new com.google.firestore.v1.StructuredQuery.Order(this); + com.google.firestore.v1.StructuredQuery.Order result = + new com.google.firestore.v1.StructuredQuery.Order(this); if (fieldBuilder_ == null) { result.field_ = field_; } else { @@ -6359,38 +7149,41 @@ public com.google.firestore.v1.StructuredQuery.Order 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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; @@ -6398,7 +7191,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()); } @@ -6431,24 +7225,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getFieldFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 16: { - direction_ = input.readEnum(); - - 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); + + break; + } // case 10 + case 16: + { + direction_ = input.readEnum(); + + 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) { @@ -6461,34 +7256,47 @@ public Builder mergeFrom( 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 fieldBuilder_ != null || field_ != null; } /** + * + * *
        * 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.
        * 
@@ -6509,6 +7317,8 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** + * + * *
        * The field to order by.
        * 
@@ -6527,6 +7337,8 @@ public Builder setField( return this; } /** + * + * *
        * The field to order by.
        * 
@@ -6537,7 +7349,9 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder(field_) + .mergeFrom(value) + .buildPartial(); } else { field_ = value; } @@ -6549,6 +7363,8 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** + * + * *
        * The field to order by.
        * 
@@ -6567,6 +7383,8 @@ public Builder clearField() { return this; } /** + * + * *
        * The field to order by.
        * 
@@ -6574,11 +7392,13 @@ public Builder clearField() { * .google.firestore.v1.StructuredQuery.FieldReference field = 1; */ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** + * + * *
        * The field to order by.
        * 
@@ -6589,11 +7409,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.
        * 
@@ -6601,14 +7424,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_; @@ -6616,51 +7442,67 @@ 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. */ public Builder setDirectionValue(int value) { - + direction_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.v1.StructuredQuery.Direction result = com.google.firestore.v1.StructuredQuery.Direction.valueOf(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.valueOf(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. */ @@ -6668,25 +7510,29 @@ public Builder setDirection(com.google.firestore.v1.StructuredQuery.Direction va if (value == null) { throw new NullPointerException(); } - + direction_ = value.getNumber(); onChanged(); 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() { - + direction_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6699,12 +7545,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(); } @@ -6713,27 +7559,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; @@ -6748,14 +7595,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.Order getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface FieldReferenceOrBuilder extends + public interface FieldReferenceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.FieldReference) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The relative path of the document being referenced.
      * Requires:
@@ -6763,10 +7612,13 @@ public interface FieldReferenceOrBuilder extends
      * 
* * string field_path = 2; + * * @return The fieldPath. */ java.lang.String getFieldPath(); /** + * + * *
      * The relative path of the document being referenced.
      * Requires:
@@ -6774,59 +7626,65 @@ public interface FieldReferenceOrBuilder extends
      * 
* * string field_path = 2; + * * @return The bytes for fieldPath. */ - com.google.protobuf.ByteString - getFieldPathBytes(); + com.google.protobuf.ByteString getFieldPathBytes(); } /** + * + * *
    * A reference to a field in a document, ex: `stats.operations`.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldReference} */ - public static final class FieldReference extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class FieldReference extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.FieldReference) FieldReferenceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldReference.newBuilder() to construct. private FieldReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FieldReference() { fieldPath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FieldReference(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.FieldReference.class, com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); + com.google.firestore.v1.StructuredQuery.FieldReference.class, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); } public static final int FIELD_PATH_FIELD_NUMBER = 2; private volatile java.lang.Object fieldPath_; /** + * + * *
      * The relative path of the document being referenced.
      * Requires:
@@ -6834,6 +7692,7 @@ protected java.lang.Object newInstance(
      * 
* * string field_path = 2; + * * @return The fieldPath. */ @java.lang.Override @@ -6842,14 +7701,15 @@ public java.lang.String getFieldPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; } } /** + * + * *
      * The relative path of the document being referenced.
      * Requires:
@@ -6857,16 +7717,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 { @@ -6875,6 +7734,7 @@ public java.lang.String getFieldPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6886,8 +7746,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_); } @@ -6911,15 +7770,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; } @@ -6939,87 +7798,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 @@ -7029,39 +7895,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(); @@ -7071,9 +7939,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 @@ -7092,7 +7960,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReference buildPartial() { - com.google.firestore.v1.StructuredQuery.FieldReference result = new com.google.firestore.v1.StructuredQuery.FieldReference(this); + com.google.firestore.v1.StructuredQuery.FieldReference result = + new com.google.firestore.v1.StructuredQuery.FieldReference(this); result.fieldPath_ = fieldPath_; onBuilt(); return result; @@ -7102,38 +7971,41 @@ public com.google.firestore.v1.StructuredQuery.FieldReference 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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; @@ -7141,7 +8013,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_; onChanged(); @@ -7172,17 +8045,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - fieldPath_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + fieldPath_ = input.readStringRequireUtf8(); + + 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) { @@ -7195,6 +8070,8 @@ public Builder mergeFrom( private java.lang.Object fieldPath_ = ""; /** + * + * *
        * The relative path of the document being referenced.
        * Requires:
@@ -7202,13 +8079,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; @@ -7217,6 +8094,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * The relative path of the document being referenced.
        * Requires:
@@ -7224,15 +8103,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 { @@ -7240,6 +8118,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * The relative path of the document being referenced.
        * Requires:
@@ -7247,20 +8127,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) { + public Builder setFieldPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fieldPath_ = value; onChanged(); return this; } /** + * + * *
        * The relative path of the document being referenced.
        * Requires:
@@ -7268,15 +8150,18 @@ public Builder setFieldPath(
        * 
* * string field_path = 2; + * * @return This builder for chaining. */ public Builder clearFieldPath() { - + fieldPath_ = getDefaultInstance().getFieldPath(); onChanged(); return this; } /** + * + * *
        * The relative path of the document being referenced.
        * Requires:
@@ -7284,20 +8169,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) { + public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fieldPath_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7310,41 +8196,42 @@ 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(); } - public static com.google.firestore.v1.StructuredQuery.FieldReference getDefaultInstance() { - 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(); - } - }; + public static com.google.firestore.v1.StructuredQuery.FieldReference getDefaultInstance() { + 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(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7359,14 +8246,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.FieldReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ProjectionOrBuilder extends + public interface ProjectionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Projection) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7375,9 +8264,10 @@ public interface ProjectionOrBuilder extends
      *
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
-    java.util.List 
-        getFieldsList();
+    java.util.List getFieldsList();
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7388,6 +8278,8 @@ public interface ProjectionOrBuilder extends
      */
     com.google.firestore.v1.StructuredQuery.FieldReference getFields(int index);
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7398,6 +8290,8 @@ public interface ProjectionOrBuilder extends
      */
     int getFieldsCount();
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7406,9 +8300,11 @@ public interface ProjectionOrBuilder extends
      *
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
-    java.util.List 
+    java.util.List
         getFieldsOrBuilderList();
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7417,57 +8313,62 @@ public interface ProjectionOrBuilder extends
      *
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
-    com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(
-        int index);
+    com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(int index);
   }
   /**
+   *
+   *
    * 
    * The projection of document's fields to return.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Projection} */ - public static final class Projection extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Projection extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Projection) ProjectionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Projection.newBuilder() to construct. private Projection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Projection() { fields_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Projection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Projection.class, com.google.firestore.v1.StructuredQuery.Projection.Builder.class); + com.google.firestore.v1.StructuredQuery.Projection.class, + com.google.firestore.v1.StructuredQuery.Projection.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 2; private java.util.List fields_; /** + * + * *
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7481,6 +8382,8 @@ public java.util.List ge
       return fields_;
     }
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7490,11 +8393,13 @@ public java.util.List ge
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getFieldsOrBuilderList() {
       return fields_;
     }
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7508,6 +8413,8 @@ public int getFieldsCount() {
       return fields_.size();
     }
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7521,6 +8428,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getFields(int inde
       return fields_.get(index);
     }
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7536,6 +8445,7 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -7547,8 +8457,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));
       }
@@ -7562,8 +8471,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;
@@ -7573,15 +8481,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;
     }
@@ -7603,87 +8511,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
@@ -7693,39 +8607,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(); @@ -7740,9 +8656,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 @@ -7761,7 +8677,8 @@ 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); int from_bitField0_ = bitField0_; if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -7780,38 +8697,41 @@ public com.google.firestore.v1.StructuredQuery.Projection 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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; @@ -7819,7 +8739,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()) { @@ -7838,9 +8759,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_); } @@ -7872,25 +8794,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) { @@ -7900,21 +8824,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - fields_ = new java.util.ArrayList(fields_); + fields_ = + new java.util.ArrayList( + fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> fieldsBuilder_; + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + fieldsBuilder_; /** + * + * *
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -7923,7 +8856,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 {
@@ -7931,6 +8865,8 @@ public java.util.List ge
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -7947,6 +8883,8 @@ public int getFieldsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -7963,6 +8901,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getFields(int inde
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -7986,6 +8926,8 @@ public Builder setFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -7995,7 +8937,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());
@@ -8006,6 +8949,8 @@ public Builder setFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8028,6 +8973,8 @@ public Builder addFields(com.google.firestore.v1.StructuredQuery.FieldReference
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8051,6 +8998,8 @@ public Builder addFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8071,6 +9020,8 @@ public Builder addFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8080,7 +9031,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());
@@ -8091,6 +9043,8 @@ public Builder addFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8100,11 +9054,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);
@@ -8112,6 +9066,8 @@ public Builder addAllFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8131,6 +9087,8 @@ public Builder clearFields() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8150,6 +9108,8 @@ public Builder removeFields(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8163,6 +9123,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldsB
         return getFieldsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8174,11 +9136,14 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldsB
       public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(
           int index) {
         if (fieldsBuilder_ == null) {
-          return fields_.get(index);  } else {
+          return fields_.get(index);
+        } else {
           return fieldsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8187,8 +9152,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 {
@@ -8196,6 +9162,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8205,10 +9173,13 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
       public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsBuilder() {
-        return getFieldsFieldBuilder().addBuilder(
-            com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
+        return getFieldsFieldBuilder()
+            .addBuilder(
+                com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8219,10 +9190,13 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsB
        */
       public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsBuilder(
           int index) {
-        return getFieldsFieldBuilder().addBuilder(
-            index, com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
+        return getFieldsFieldBuilder()
+            .addBuilder(
+                index, com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8231,24 +9205,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) {
@@ -8261,12 +9239,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();
     }
@@ -8275,27 +9253,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;
@@ -8310,17 +9289,19 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.StructuredQuery.Projection getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int SELECT_FIELD_NUMBER = 1;
   private com.google.firestore.v1.StructuredQuery.Projection select_;
   /**
+   *
+   *
    * 
    * The projection to return.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; + * * @return Whether the select field is set. */ @java.lang.Override @@ -8328,18 +9309,25 @@ public boolean hasSelect() { return select_ != null; } /** + * + * *
    * The projection to return.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; + * * @return The select. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.Projection getSelect() { - return select_ == null ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() : select_; + return select_ == null + ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() + : select_; } /** + * + * *
    * The projection to return.
    * 
@@ -8354,6 +9342,8 @@ public com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBu public static final int FROM_FIELD_NUMBER = 2; private java.util.List from_; /** + * + * *
    * The collections to query.
    * 
@@ -8365,6 +9355,8 @@ public java.util.List * The collections to query. *
@@ -8372,11 +9364,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.
    * 
@@ -8388,6 +9383,8 @@ public int getFromCount() { return from_.size(); } /** + * + * *
    * The collections to query.
    * 
@@ -8399,6 +9396,8 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int in return from_.get(index); } /** + * + * *
    * The collections to query.
    * 
@@ -8414,11 +9413,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 @@ -8426,18 +9428,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.
    * 
@@ -8452,6 +9461,8 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder public static final int ORDER_BY_FIELD_NUMBER = 4; private java.util.List orderBy_; /** + * + * *
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -8478,6 +9489,8 @@ public java.util.List getOrderByL
     return orderBy_;
   }
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -8500,11 +9513,13 @@ public java.util.List getOrderByL
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getOrderByOrBuilderList() {
     return orderBy_;
   }
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -8531,6 +9546,8 @@ public int getOrderByCount() {
     return orderBy_.size();
   }
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -8557,6 +9574,8 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
     return orderBy_.get(index);
   }
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -8579,14 +9598,15 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
   @java.lang.Override
-  public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
-      int index) {
+  public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index) {
     return orderBy_.get(index);
   }
 
   public static final int START_AT_FIELD_NUMBER = 7;
   private com.google.firestore.v1.Cursor startAt_;
   /**
+   *
+   *
    * 
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -8613,6 +9633,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 @@ -8620,6 +9641,8 @@ public boolean hasStartAt() { return startAt_ != null; } /** + * + * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -8646,6 +9669,7 @@ public boolean hasStartAt() {
    * 
* * .google.firestore.v1.Cursor start_at = 7; + * * @return The startAt. */ @java.lang.Override @@ -8653,6 +9677,8 @@ public com.google.firestore.v1.Cursor getStartAt() { return startAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_; } /** + * + * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -8688,6 +9714,8 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
   public static final int END_AT_FIELD_NUMBER = 8;
   private com.google.firestore.v1.Cursor endAt_;
   /**
+   *
+   *
    * 
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -8698,6 +9726,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 @@ -8705,6 +9734,8 @@ public boolean hasEndAt() { return endAt_ != null; } /** + * + * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -8715,6 +9746,7 @@ public boolean hasEndAt() {
    * 
* * .google.firestore.v1.Cursor end_at = 8; + * * @return The endAt. */ @java.lang.Override @@ -8722,6 +9754,8 @@ public com.google.firestore.v1.Cursor getEndAt() { return endAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_; } /** + * + * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -8741,6 +9775,8 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
   public static final int OFFSET_FIELD_NUMBER = 6;
   private int offset_;
   /**
+   *
+   *
    * 
    * The number of documents to skip before returning the first result.
    * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -8750,6 +9786,7 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
    * 
* * int32 offset = 6; + * * @return The offset. */ @java.lang.Override @@ -8760,6 +9797,8 @@ public int getOffset() { public static final int LIMIT_FIELD_NUMBER = 5; private com.google.protobuf.Int32Value limit_; /** + * + * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -8768,6 +9807,7 @@ public int getOffset() {
    * 
* * .google.protobuf.Int32Value limit = 5; + * * @return Whether the limit field is set. */ @java.lang.Override @@ -8775,6 +9815,8 @@ public boolean hasLimit() { return limit_ != null; } /** + * + * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -8783,6 +9825,7 @@ public boolean hasLimit() {
    * 
* * .google.protobuf.Int32Value limit = 5; + * * @return The limit. */ @java.lang.Override @@ -8790,6 +9833,8 @@ public com.google.protobuf.Int32Value getLimit() { return limit_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : limit_; } /** + * + * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -8805,6 +9850,7 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -8816,8 +9862,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());
     }
@@ -8852,36 +9897,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;
@@ -8891,7 +9928,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);
@@ -8900,34 +9937,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;
@@ -8975,130 +10004,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(); @@ -9152,9 +10187,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 @@ -9173,7 +10208,8 @@ 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); int from_bitField0_ = bitField0_; if (selectBuilder_ == null) { result.select_ = select_; @@ -9227,38 +10263,39 @@ public com.google.firestore.v1.StructuredQuery 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.v1.StructuredQuery) { - return mergeFrom((com.google.firestore.v1.StructuredQuery)other); + return mergeFrom((com.google.firestore.v1.StructuredQuery) other); } else { super.mergeFrom(other); return this; @@ -9288,9 +10325,10 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery other) { fromBuilder_ = null; from_ = other.from_; bitField0_ = (bitField0_ & ~0x00000001); - fromBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFromFieldBuilder() : null; + fromBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFromFieldBuilder() + : null; } else { fromBuilder_.addAllMessages(other.from_); } @@ -9317,9 +10355,10 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery other) { orderByBuilder_ = null; orderBy_ = other.orderBy_; bitField0_ = (bitField0_ & ~0x00000002); - orderByBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOrderByFieldBuilder() : null; + orderByBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOrderByFieldBuilder() + : null; } else { orderByBuilder_.addAllMessages(other.orderBy_); } @@ -9363,78 +10402,76 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getSelectFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getSelectFieldBuilder().getBuilder(), extensionRegistry); - 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); + 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); - 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); + 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); - break; - } // case 42 - case 48: { - offset_ = input.readInt32(); + break; + } // case 42 + case 48: + { + offset_ = input.readInt32(); - break; - } // case 48 - case 58: { - input.readMessage( - getStartAtFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 48 + case 58: + { + input.readMessage(getStartAtFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 58 - case 66: { - input.readMessage( - getEndAtFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 58 + case 66: + { + input.readMessage(getEndAtFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -9444,38 +10481,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.firestore.v1.StructuredQuery.Projection select_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Projection, com.google.firestore.v1.StructuredQuery.Projection.Builder, com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder> selectBuilder_; + com.google.firestore.v1.StructuredQuery.Projection, + com.google.firestore.v1.StructuredQuery.Projection.Builder, + com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder> + selectBuilder_; /** + * + * *
      * The projection to return.
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; + * * @return Whether the select field is set. */ public boolean hasSelect() { return selectBuilder_ != null || select_ != null; } /** + * + * *
      * The projection to return.
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; + * * @return The select. */ public com.google.firestore.v1.StructuredQuery.Projection getSelect() { if (selectBuilder_ == null) { - return select_ == null ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() : select_; + return select_ == null + ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() + : select_; } else { return selectBuilder_.getMessage(); } } /** + * + * *
      * The projection to return.
      * 
@@ -9496,6 +10547,8 @@ public Builder setSelect(com.google.firestore.v1.StructuredQuery.Projection valu return this; } /** + * + * *
      * The projection to return.
      * 
@@ -9514,6 +10567,8 @@ public Builder setSelect( return this; } /** + * + * *
      * The projection to return.
      * 
@@ -9524,7 +10579,9 @@ public Builder mergeSelect(com.google.firestore.v1.StructuredQuery.Projection va if (selectBuilder_ == null) { if (select_ != null) { select_ = - com.google.firestore.v1.StructuredQuery.Projection.newBuilder(select_).mergeFrom(value).buildPartial(); + com.google.firestore.v1.StructuredQuery.Projection.newBuilder(select_) + .mergeFrom(value) + .buildPartial(); } else { select_ = value; } @@ -9536,6 +10593,8 @@ public Builder mergeSelect(com.google.firestore.v1.StructuredQuery.Projection va return this; } /** + * + * *
      * The projection to return.
      * 
@@ -9554,6 +10613,8 @@ public Builder clearSelect() { return this; } /** + * + * *
      * The projection to return.
      * 
@@ -9561,11 +10622,13 @@ public Builder clearSelect() { * .google.firestore.v1.StructuredQuery.Projection select = 1; */ public com.google.firestore.v1.StructuredQuery.Projection.Builder getSelectBuilder() { - + onChanged(); return getSelectFieldBuilder().getBuilder(); } /** + * + * *
      * The projection to return.
      * 
@@ -9576,11 +10639,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_; } } /** + * + * *
      * The projection to return.
      * 
@@ -9588,39 +10654,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_ & 0x00000001) != 0)) { - from_ = new java.util.ArrayList(from_); + from_ = + new java.util.ArrayList( + from_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -9628,6 +10706,8 @@ public java.util.List * The collections to query. *
@@ -9642,6 +10722,8 @@ public int getFromCount() { } } /** + * + * *
      * The collections to query.
      * 
@@ -9656,6 +10738,8 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int in } } /** + * + * *
      * The collections to query.
      * 
@@ -9677,6 +10761,8 @@ public Builder setFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9684,7 +10770,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()); @@ -9695,6 +10782,8 @@ public Builder setFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9715,6 +10804,8 @@ public Builder addFrom(com.google.firestore.v1.StructuredQuery.CollectionSelecto return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9736,6 +10827,8 @@ public Builder addFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9754,6 +10847,8 @@ public Builder addFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9761,7 +10856,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()); @@ -9772,6 +10868,8 @@ public Builder addFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9779,11 +10877,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); @@ -9791,6 +10889,8 @@ public Builder addAllFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9808,6 +10908,8 @@ public Builder clearFrom() { return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9825,6 +10927,8 @@ public Builder removeFrom(int index) { return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9836,6 +10940,8 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder getFro return getFromFieldBuilder().getBuilder(index); } /** + * + * *
      * The collections to query.
      * 
@@ -9845,19 +10951,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 { @@ -9865,6 +10975,8 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFr } } /** + * + * *
      * The collections to query.
      * 
@@ -9872,10 +10984,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.
      * 
@@ -9884,30 +10999,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_ & 0x00000001) != 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_ & 0x00000001) != 0), getParentForChildren(), isClean()); from_ = null; } return fromBuilder_; @@ -9915,34 +11037,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 whereBuilder_ != null || where_ != null; } /** + * + * *
      * 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.
      * 
@@ -9963,6 +11098,8 @@ public Builder setWhere(com.google.firestore.v1.StructuredQuery.Filter value) { return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -9981,6 +11118,8 @@ public Builder setWhere( return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -9991,7 +11130,9 @@ public Builder mergeWhere(com.google.firestore.v1.StructuredQuery.Filter value) if (whereBuilder_ == null) { if (where_ != null) { where_ = - com.google.firestore.v1.StructuredQuery.Filter.newBuilder(where_).mergeFrom(value).buildPartial(); + com.google.firestore.v1.StructuredQuery.Filter.newBuilder(where_) + .mergeFrom(value) + .buildPartial(); } else { where_ = value; } @@ -10003,6 +11144,8 @@ public Builder mergeWhere(com.google.firestore.v1.StructuredQuery.Filter value) return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -10021,6 +11164,8 @@ public Builder clearWhere() { return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -10028,11 +11173,13 @@ public Builder clearWhere() { * .google.firestore.v1.StructuredQuery.Filter where = 3; */ public com.google.firestore.v1.StructuredQuery.Filter.Builder getWhereBuilder() { - + onChanged(); return getWhereFieldBuilder().getBuilder(); } /** + * + * *
      * The filter to apply.
      * 
@@ -10043,11 +11190,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.
      * 
@@ -10055,32 +11205,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_ & 0x00000002) != 0)) { orderBy_ = new java.util.ArrayList(orderBy_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Order, com.google.firestore.v1.StructuredQuery.Order.Builder, com.google.firestore.v1.StructuredQuery.OrderOrBuilder> orderByBuilder_; + com.google.firestore.v1.StructuredQuery.Order, + com.google.firestore.v1.StructuredQuery.Order.Builder, + com.google.firestore.v1.StructuredQuery.OrderOrBuilder> + orderByBuilder_; /** + * + * *
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10110,6 +11269,8 @@ public java.util.List getOrderByL
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10139,6 +11300,8 @@ public int getOrderByCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10168,6 +11331,8 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10189,8 +11354,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();
@@ -10204,6 +11368,8 @@ public Builder setOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10237,6 +11403,8 @@ public Builder setOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10272,6 +11440,8 @@ public Builder addOrderBy(com.google.firestore.v1.StructuredQuery.Order value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10293,8 +11463,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();
@@ -10308,6 +11477,8 @@ public Builder addOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10341,6 +11512,8 @@ public Builder addOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10374,6 +11547,8 @@ public Builder addOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10399,8 +11574,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);
@@ -10408,6 +11582,8 @@ public Builder addAllOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10440,6 +11616,8 @@ public Builder clearOrderBy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10472,6 +11650,8 @@ public Builder removeOrderBy(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10493,11 +11673,12 @@ public Builder removeOrderBy(int index) {
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public com.google.firestore.v1.StructuredQuery.Order.Builder getOrderByBuilder(
-        int index) {
+    public com.google.firestore.v1.StructuredQuery.Order.Builder getOrderByBuilder(int index) {
       return getOrderByFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10519,14 +11700,16 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder getOrderByBuilder(
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
-        int index) {
+    public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index) {
       if (orderByBuilder_ == null) {
-        return orderBy_.get(index);  } else {
+        return orderBy_.get(index);
+      } else {
         return orderByBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10548,8 +11731,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 {
@@ -10557,6 +11740,8 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10579,10 +11764,12 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
     public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder() {
-      return getOrderByFieldBuilder().addBuilder(
-          com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
+      return getOrderByFieldBuilder()
+          .addBuilder(com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10604,12 +11791,13 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder()
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(
-        int index) {
-      return getOrderByFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
+    public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(int index) {
+      return getOrderByFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10631,20 +11819,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_ & 0x00000002) != 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_ & 0x00000002) != 0), getParentForChildren(), isClean());
         orderBy_ = null;
       }
       return orderByBuilder_;
@@ -10652,8 +11843,13 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(
 
     private com.google.firestore.v1.Cursor startAt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> startAtBuilder_;
+            com.google.firestore.v1.Cursor,
+            com.google.firestore.v1.Cursor.Builder,
+            com.google.firestore.v1.CursorOrBuilder>
+        startAtBuilder_;
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10680,12 +11876,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 startAtBuilder_ != null || startAt_ != null; } /** + * + * *
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10712,6 +11911,7 @@ public boolean hasStartAt() {
      * 
* * .google.firestore.v1.Cursor start_at = 7; + * * @return The startAt. */ public com.google.firestore.v1.Cursor getStartAt() { @@ -10722,6 +11922,8 @@ public com.google.firestore.v1.Cursor getStartAt() { } } /** + * + * *
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10763,6 +11965,8 @@ public Builder setStartAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10790,8 +11994,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();
         onChanged();
@@ -10802,6 +12005,8 @@ public Builder setStartAt(
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10833,7 +12038,7 @@ public Builder mergeStartAt(com.google.firestore.v1.Cursor value) {
       if (startAtBuilder_ == null) {
         if (startAt_ != null) {
           startAt_ =
-            com.google.firestore.v1.Cursor.newBuilder(startAt_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.Cursor.newBuilder(startAt_).mergeFrom(value).buildPartial();
         } else {
           startAt_ = value;
         }
@@ -10845,6 +12050,8 @@ public Builder mergeStartAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10884,6 +12091,8 @@ public Builder clearStartAt() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10912,11 +12121,13 @@ public Builder clearStartAt() {
      * .google.firestore.v1.Cursor start_at = 7;
      */
     public com.google.firestore.v1.Cursor.Builder getStartAtBuilder() {
-      
+
       onChanged();
       return getStartAtFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10948,11 +12159,12 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
       if (startAtBuilder_ != null) {
         return startAtBuilder_.getMessageOrBuilder();
       } else {
-        return startAt_ == null ?
-            com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_;
+        return startAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_;
       }
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10981,14 +12193,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_;
@@ -10996,8 +12211,13 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
 
     private com.google.firestore.v1.Cursor endAt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> endAtBuilder_;
+            com.google.firestore.v1.Cursor,
+            com.google.firestore.v1.Cursor.Builder,
+            com.google.firestore.v1.CursorOrBuilder>
+        endAtBuilder_;
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11008,12 +12228,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 endAtBuilder_ != null || endAt_ != null; } /** + * + * *
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11024,6 +12247,7 @@ public boolean hasEndAt() {
      * 
* * .google.firestore.v1.Cursor end_at = 8; + * * @return The endAt. */ public com.google.firestore.v1.Cursor getEndAt() { @@ -11034,6 +12258,8 @@ public com.google.firestore.v1.Cursor getEndAt() { } } /** + * + * *
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11059,6 +12285,8 @@ public Builder setEndAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11070,8 +12298,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();
         onChanged();
@@ -11082,6 +12309,8 @@ public Builder setEndAt(
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11097,7 +12326,7 @@ public Builder mergeEndAt(com.google.firestore.v1.Cursor value) {
       if (endAtBuilder_ == null) {
         if (endAt_ != null) {
           endAt_ =
-            com.google.firestore.v1.Cursor.newBuilder(endAt_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.Cursor.newBuilder(endAt_).mergeFrom(value).buildPartial();
         } else {
           endAt_ = value;
         }
@@ -11109,6 +12338,8 @@ public Builder mergeEndAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11132,6 +12363,8 @@ public Builder clearEndAt() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11144,11 +12377,13 @@ public Builder clearEndAt() {
      * .google.firestore.v1.Cursor end_at = 8;
      */
     public com.google.firestore.v1.Cursor.Builder getEndAtBuilder() {
-      
+
       onChanged();
       return getEndAtFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11164,11 +12399,12 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
       if (endAtBuilder_ != null) {
         return endAtBuilder_.getMessageOrBuilder();
       } else {
-        return endAt_ == null ?
-            com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_;
+        return endAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_;
       }
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11181,21 +12417,26 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
      * .google.firestore.v1.Cursor end_at = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> 
+            com.google.firestore.v1.Cursor,
+            com.google.firestore.v1.Cursor.Builder,
+            com.google.firestore.v1.CursorOrBuilder>
         getEndAtFieldBuilder() {
       if (endAtBuilder_ == null) {
-        endAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder>(
-                getEndAt(),
-                getParentForChildren(),
-                isClean());
+        endAtBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.Cursor,
+                com.google.firestore.v1.Cursor.Builder,
+                com.google.firestore.v1.CursorOrBuilder>(
+                getEndAt(), getParentForChildren(), isClean());
         endAt_ = null;
       }
       return endAtBuilder_;
     }
 
-    private int offset_ ;
+    private int offset_;
     /**
+     *
+     *
      * 
      * The number of documents to skip before returning the first result.
      * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -11205,6 +12446,7 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
      * 
* * int32 offset = 6; + * * @return The offset. */ @java.lang.Override @@ -11212,6 +12454,8 @@ public int getOffset() { return offset_; } /** + * + * *
      * The number of documents to skip before returning the first result.
      * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -11221,16 +12465,19 @@ public int getOffset() {
      * 
* * int32 offset = 6; + * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { - + offset_ = value; onChanged(); return this; } /** + * + * *
      * The number of documents to skip before returning the first result.
      * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -11240,10 +12487,11 @@ public Builder setOffset(int value) {
      * 
* * int32 offset = 6; + * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0; onChanged(); return this; @@ -11251,8 +12499,13 @@ public Builder clearOffset() { private com.google.protobuf.Int32Value limit_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> limitBuilder_; + com.google.protobuf.Int32Value, + com.google.protobuf.Int32Value.Builder, + com.google.protobuf.Int32ValueOrBuilder> + limitBuilder_; /** + * + * *
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11261,12 +12514,15 @@ public Builder clearOffset() {
      * 
* * .google.protobuf.Int32Value limit = 5; + * * @return Whether the limit field is set. */ public boolean hasLimit() { return limitBuilder_ != null || limit_ != null; } /** + * + * *
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11275,6 +12531,7 @@ public boolean hasLimit() {
      * 
* * .google.protobuf.Int32Value limit = 5; + * * @return The limit. */ public com.google.protobuf.Int32Value getLimit() { @@ -11285,6 +12542,8 @@ public com.google.protobuf.Int32Value getLimit() { } } /** + * + * *
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11308,6 +12567,8 @@ public Builder setLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11317,8 +12578,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();
         onChanged();
@@ -11329,6 +12589,8 @@ public Builder setLimit(
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11342,7 +12604,7 @@ public Builder mergeLimit(com.google.protobuf.Int32Value value) {
       if (limitBuilder_ == null) {
         if (limit_ != null) {
           limit_ =
-            com.google.protobuf.Int32Value.newBuilder(limit_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Int32Value.newBuilder(limit_).mergeFrom(value).buildPartial();
         } else {
           limit_ = value;
         }
@@ -11354,6 +12616,8 @@ public Builder mergeLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11375,6 +12639,8 @@ public Builder clearLimit() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11385,11 +12651,13 @@ public Builder clearLimit() {
      * .google.protobuf.Int32Value limit = 5;
      */
     public com.google.protobuf.Int32Value.Builder getLimitBuilder() {
-      
+
       onChanged();
       return getLimitFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11403,11 +12671,12 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
       if (limitBuilder_ != null) {
         return limitBuilder_.getMessageOrBuilder();
       } else {
-        return limit_ == null ?
-            com.google.protobuf.Int32Value.getDefaultInstance() : limit_;
+        return limit_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : limit_;
       }
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11418,21 +12687,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);
     }
 
@@ -11442,12 +12714,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();
   }
@@ -11456,27 +12728,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;
@@ -11491,6 +12763,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 2786e440ed..94d6bf2e36 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,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 StructuredQueryOrBuilder extends
+public interface StructuredQueryOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The projection to return.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; + * * @return Whether the select field is set. */ boolean hasSelect(); /** + * + * *
    * The projection to return.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; + * * @return The select. */ com.google.firestore.v1.StructuredQuery.Projection getSelect(); /** + * + * *
    * The projection to return.
    * 
@@ -35,15 +59,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.
    * 
@@ -52,6 +79,8 @@ public interface StructuredQueryOrBuilder extends */ com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int index); /** + * + * *
    * The collections to query.
    * 
@@ -60,43 +89,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.
    * 
@@ -106,6 +146,8 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder(); /** + * + * *
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -127,9 +169,10 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui
    *
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
-  java.util.List 
-      getOrderByList();
+  java.util.List getOrderByList();
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -153,6 +196,8 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui
    */
   com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index);
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -176,6 +221,8 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui
    */
   int getOrderByCount();
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -197,9 +244,11 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui
    *
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
-  java.util.List 
+  java.util.List
       getOrderByOrBuilderList();
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -221,10 +270,11 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui
    *
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
-  com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
-      int index);
+  com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -251,10 +301,13 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * .google.firestore.v1.Cursor start_at = 7; + * * @return Whether the startAt field is set. */ boolean hasStartAt(); /** + * + * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -281,10 +334,13 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * .google.firestore.v1.Cursor start_at = 7; + * * @return The startAt. */ com.google.firestore.v1.Cursor getStartAt(); /** + * + * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -315,6 +371,8 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
   com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder();
 
   /**
+   *
+   *
    * 
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -325,10 +383,13 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * .google.firestore.v1.Cursor end_at = 8; + * * @return Whether the endAt field is set. */ boolean hasEndAt(); /** + * + * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -339,10 +400,13 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * .google.firestore.v1.Cursor end_at = 8; + * * @return The endAt. */ com.google.firestore.v1.Cursor getEndAt(); /** + * + * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -357,6 +421,8 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
   com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder();
 
   /**
+   *
+   *
    * 
    * The number of documents to skip before returning the first result.
    * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -366,11 +432,14 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * int32 offset = 6; + * * @return The offset. */ int getOffset(); /** + * + * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -379,10 +448,13 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * .google.protobuf.Int32Value limit = 5; + * * @return Whether the limit field is set. */ boolean hasLimit(); /** + * + * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -391,10 +463,13 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * .google.protobuf.Int32Value limit = 5; + * * @return The limit. */ com.google.protobuf.Int32Value getLimit(); /** + * + * *
    * The maximum number of results to return.
    * Applies after all other constraints.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
index 97a9067250..6b68f2b2e3 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
@@ -1,57 +1,77 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A specification of a set of documents to listen to.
  * 
* * Protobuf type {@code google.firestore.v1.Target} */ -public final class Target extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Target extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Target) TargetOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Target.newBuilder() to construct. private Target(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Target() { - } + + private Target() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Target(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Target.class, com.google.firestore.v1.Target.Builder.class); } - public interface DocumentsTargetOrBuilder extends + public interface DocumentsTargetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Target.DocumentsTarget) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -60,11 +80,13 @@ public interface DocumentsTargetOrBuilder extends
      * 
* * repeated string documents = 2; + * * @return A list containing the documents. */ - java.util.List - getDocumentsList(); + java.util.List getDocumentsList(); /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -73,10 +95,13 @@ public interface DocumentsTargetOrBuilder extends
      * 
* * repeated string documents = 2; + * * @return The count of documents. */ int getDocumentsCount(); /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -85,11 +110,14 @@ public interface DocumentsTargetOrBuilder extends
      * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ java.lang.String getDocuments(int index); /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -98,60 +126,66 @@ public interface DocumentsTargetOrBuilder extends
      * 
* * repeated string documents = 2; + * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - com.google.protobuf.ByteString - getDocumentsBytes(int index); + com.google.protobuf.ByteString getDocumentsBytes(int index); } /** + * + * *
    * A target specified by a set of documents names.
    * 
* * Protobuf type {@code google.firestore.v1.Target.DocumentsTarget} */ - public static final class DocumentsTarget extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DocumentsTarget extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Target.DocumentsTarget) DocumentsTargetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DocumentsTarget.newBuilder() to construct. private DocumentsTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DocumentsTarget() { documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DocumentsTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Target.DocumentsTarget.class, com.google.firestore.v1.Target.DocumentsTarget.Builder.class); + com.google.firestore.v1.Target.DocumentsTarget.class, + com.google.firestore.v1.Target.DocumentsTarget.Builder.class); } public static final int DOCUMENTS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList documents_; /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -160,13 +194,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}`.
@@ -175,12 +211,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}`.
@@ -189,6 +228,7 @@ public int getDocumentsCount() {
      * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -196,6 +236,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}`.
@@ -204,15 +246,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; @@ -224,8 +267,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < documents_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, documents_.getRaw(i)); } @@ -254,15 +296,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; } @@ -283,88 +325,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 @@ -374,39 +422,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A target specified by a set of documents names.
      * 
* * Protobuf type {@code google.firestore.v1.Target.DocumentsTarget} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Target.DocumentsTarget) com.google.firestore.v1.Target.DocumentsTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Target.DocumentsTarget.class, com.google.firestore.v1.Target.DocumentsTarget.Builder.class); + com.google.firestore.v1.Target.DocumentsTarget.class, + com.google.firestore.v1.Target.DocumentsTarget.Builder.class); } // Construct using com.google.firestore.v1.Target.DocumentsTarget.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,9 +466,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; } @java.lang.Override @@ -437,7 +487,8 @@ public com.google.firestore.v1.Target.DocumentsTarget build() { @java.lang.Override public com.google.firestore.v1.Target.DocumentsTarget buildPartial() { - com.google.firestore.v1.Target.DocumentsTarget result = new com.google.firestore.v1.Target.DocumentsTarget(this); + com.google.firestore.v1.Target.DocumentsTarget result = + new com.google.firestore.v1.Target.DocumentsTarget(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { documents_ = documents_.getUnmodifiableView(); @@ -452,38 +503,41 @@ public com.google.firestore.v1.Target.DocumentsTarget 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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; @@ -491,7 +545,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_; @@ -528,18 +583,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) { @@ -549,16 +606,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList documents_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDocumentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { documents_ = new com.google.protobuf.LazyStringArrayList(documents_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -567,13 +629,15 @@ private void ensureDocumentsIsMutable() {
        * 
* * repeated string documents = 2; + * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList - getDocumentsList() { + public com.google.protobuf.ProtocolStringList getDocumentsList() { return documents_.getUnmodifiableView(); } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -582,12 +646,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}`.
@@ -596,6 +663,7 @@ public int getDocumentsCount() {
        * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -603,6 +671,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}`.
@@ -611,14 +681,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}`.
@@ -627,21 +699,23 @@ public java.lang.String getDocuments(int index) {
        * 
* * repeated string documents = 2; + * * @param index The index to set the value at. * @param value The documents to set. * @return This builder for chaining. */ - public Builder setDocuments( - int index, java.lang.String value) { + public Builder setDocuments(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDocumentsIsMutable(); + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); documents_.set(index, value); onChanged(); return this; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -650,20 +724,22 @@ public Builder setDocuments(
        * 
* * repeated string documents = 2; + * * @param value The documents to add. * @return This builder for chaining. */ - public Builder addDocuments( - java.lang.String value) { + public Builder addDocuments(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDocumentsIsMutable(); + throw new NullPointerException(); + } + ensureDocumentsIsMutable(); documents_.add(value); onChanged(); return this; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -672,18 +748,19 @@ public Builder addDocuments(
        * 
* * repeated string documents = 2; + * * @param values The documents to add. * @return This builder for chaining. */ - public Builder addAllDocuments( - java.lang.Iterable values) { + public Builder addAllDocuments(java.lang.Iterable values) { ensureDocumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, documents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); onChanged(); return this; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -692,6 +769,7 @@ public Builder addAllDocuments(
        * 
* * repeated string documents = 2; + * * @return This builder for chaining. */ public Builder clearDocuments() { @@ -701,6 +779,8 @@ public Builder clearDocuments() { return this; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -709,20 +789,21 @@ public Builder clearDocuments() {
        * 
* * repeated string documents = 2; + * * @param value The bytes of the documents to add. * @return This builder for chaining. */ - public Builder addDocumentsBytes( - com.google.protobuf.ByteString value) { + public Builder addDocumentsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDocumentsIsMutable(); documents_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -735,12 +816,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 +830,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 +866,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 +886,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 +903,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,58 +946,65 @@ public interface QueryTargetOrBuilder extends public com.google.firestore.v1.Target.QueryTarget.QueryTypeCase getQueryTypeCase(); } /** + * + * *
    * A target specified by a query.
    * 
* * Protobuf type {@code google.firestore.v1.Target.QueryTarget} */ - public static final class QueryTarget extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class QueryTarget extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Target.QueryTarget) QueryTargetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryTarget.newBuilder() to construct. private QueryTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryTarget() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_QueryTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Target.QueryTarget.class, com.google.firestore.v1.Target.QueryTarget.Builder.class); + com.google.firestore.v1.Target.QueryTarget.class, + com.google.firestore.v1.Target.QueryTarget.Builder.class); } private int queryTypeCase_ = 0; private java.lang.Object queryType_; + public enum QueryTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(2), QUERYTYPE_NOT_SET(0); private final int value; + private QueryTypeCase(int value) { this.value = value; } @@ -918,25 +1020,29 @@ 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; private volatile java.lang.Object parent_; /** + * + * *
      * The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -947,6 +1053,7 @@ public int getNumber() {
      * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -955,14 +1062,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
@@ -973,16 +1081,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 { @@ -992,11 +1099,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 @@ -1004,21 +1114,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.
      * 
@@ -1028,12 +1143,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; @@ -1045,8 +1161,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_); } @@ -1066,8 +1181,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; @@ -1077,20 +1193,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: @@ -1121,88 +1236,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 @@ -1212,39 +1333,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(); @@ -1259,9 +1382,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 @@ -1280,7 +1403,8 @@ public com.google.firestore.v1.Target.QueryTarget build() { @java.lang.Override public com.google.firestore.v1.Target.QueryTarget buildPartial() { - com.google.firestore.v1.Target.QueryTarget result = new com.google.firestore.v1.Target.QueryTarget(this); + com.google.firestore.v1.Target.QueryTarget result = + new com.google.firestore.v1.Target.QueryTarget(this); result.parent_ = parent_; if (queryTypeCase_ == 2) { if (structuredQueryBuilder_ == null) { @@ -1298,38 +1422,41 @@ public com.google.firestore.v1.Target.QueryTarget 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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; @@ -1343,13 +1470,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(); @@ -1377,24 +1506,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - 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(); + + 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) { @@ -1404,12 +1535,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() { @@ -1419,9 +1550,10 @@ public Builder clearQueryType() { return this; } - private java.lang.Object parent_ = ""; /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1432,13 +1564,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; @@ -1447,6 +1579,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1457,15 +1591,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 { @@ -1473,6 +1606,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1483,20 +1618,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1507,15 +1644,18 @@ public Builder setParent(
        * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1526,29 +1666,35 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } 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 @@ -1556,11 +1702,14 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
        * A structured query.
        * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override @@ -1578,6 +1727,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
        * A structured query.
        * 
@@ -1598,6 +1749,8 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** + * + * *
        * A structured query.
        * 
@@ -1616,6 +1769,8 @@ public Builder setStructuredQuery( return this; } /** + * + * *
        * A structured query.
        * 
@@ -1624,10 +1779,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; } @@ -1643,6 +1801,8 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** + * + * *
        * A structured query.
        * 
@@ -1666,6 +1826,8 @@ public Builder clearStructuredQuery() { return this; } /** + * + * *
        * A structured query.
        * 
@@ -1676,6 +1838,8 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** + * + * *
        * A structured query.
        * 
@@ -1694,6 +1858,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** + * + * *
        * A structured query.
        * 
@@ -1701,23 +1867,30 @@ 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()); queryType_ = null; } queryTypeCase_ = 2; - onChanged();; + onChanged(); + ; return structuredQueryBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1730,42 +1903,43 @@ 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(); } - 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(); - } - }; - + 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(); + } + }; + public static com.google.protobuf.Parser parser() { return PARSER; } @@ -1779,18 +1953,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Target.QueryTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int targetTypeCase_ = 0; private java.lang.Object targetType_; + public enum TargetTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY(2), DOCUMENTS(3), TARGETTYPE_NOT_SET(0); private final int value; + private TargetTypeCase(int value) { this.value = value; } @@ -1806,32 +1982,38 @@ public static TargetTypeCase valueOf(int value) { public static TargetTypeCase forNumber(int value) { switch (value) { - case 2: return QUERY; - case 3: return DOCUMENTS; - case 0: return TARGETTYPE_NOT_SET; - default: return null; + case 2: + return QUERY; + case 3: + return DOCUMENTS; + case 0: + return TARGETTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TargetTypeCase - getTargetTypeCase() { - return TargetTypeCase.forNumber( - targetTypeCase_); + public TargetTypeCase getTargetTypeCase() { + return TargetTypeCase.forNumber(targetTypeCase_); } private int resumeTypeCase_ = 0; private java.lang.Object resumeType_; + public enum ResumeTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RESUME_TOKEN(4), READ_TIME(11), RESUMETYPE_NOT_SET(0); private final int value; + private ResumeTypeCase(int value) { this.value = value; } @@ -1847,30 +2029,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 @@ -1878,21 +2066,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.
    * 
@@ -1902,18 +2095,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 @@ -1921,21 +2117,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.
    * 
@@ -1945,19 +2146,22 @@ 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.
    * Using a resume token with a different target is unsupported and may fail.
    * 
* * bytes resume_token = 4; + * * @return Whether the resumeToken field is set. */ @java.lang.Override @@ -1965,12 +2169,15 @@ public boolean hasResumeToken() { return resumeTypeCase_ == 4; } /** + * + * *
    * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target.
    * Using a resume token with a different target is unsupported and may fail.
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ @java.lang.Override @@ -1983,12 +2190,15 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int READ_TIME_FIELD_NUMBER = 11; /** + * + * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1996,22 +2206,27 @@ public boolean hasReadTime() { return resumeTypeCase_ == 11; } /** + * + * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (resumeTypeCase_ == 11) { - return (com.google.protobuf.Timestamp) resumeType_; + return (com.google.protobuf.Timestamp) resumeType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
@@ -2022,7 +2237,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();
   }
@@ -2030,12 +2245,15 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int TARGET_ID_FIELD_NUMBER = 5;
   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 @@ -2046,11 +2264,14 @@ public int getTargetId() { public static final int ONCE_FIELD_NUMBER = 6; private boolean once_; /** + * + * *
    * If the target should be removed once it is current and consistent.
    * 
* * bool once = 6; + * * @return The once. */ @java.lang.Override @@ -2059,6 +2280,7 @@ public boolean getOnce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2070,8 +2292,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_); } @@ -2079,8 +2300,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_); @@ -2101,29 +2321,30 @@ public int getSerializedSize() { size = 0; if (targetTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.firestore.v1.Target.QueryTarget) targetType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.Target.QueryTarget) targetType_); } if (targetTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.firestore.v1.Target.DocumentsTarget) targetType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.firestore.v1.Target.DocumentsTarget) targetType_); } if (resumeTypeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize( - 4, (com.google.protobuf.ByteString) resumeType_); + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 4, (com.google.protobuf.ByteString) resumeType_); } if (targetId_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, targetId_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, targetId_); } if (once_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, once_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, once_); } if (resumeTypeCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.protobuf.Timestamp) resumeType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.protobuf.Timestamp) resumeType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2133,26 +2354,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.Target)) { return super.equals(obj); } com.google.firestore.v1.Target other = (com.google.firestore.v1.Target) obj; - if (getTargetId() - != other.getTargetId()) return false; - if (getOnce() - != other.getOnce()) return false; + if (getTargetId() != other.getTargetId()) return false; + if (getOnce() != other.getOnce()) return false; if (!getTargetTypeCase().equals(other.getTargetTypeCase())) return false; switch (targetTypeCase_) { case 2: - if (!getQuery() - .equals(other.getQuery())) return false; + if (!getQuery().equals(other.getQuery())) return false; break; case 3: - if (!getDocuments() - .equals(other.getDocuments())) return false; + if (!getDocuments().equals(other.getDocuments())) return false; break; case 0: default: @@ -2160,12 +2377,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: @@ -2184,8 +2399,7 @@ public int hashCode() { hash = (37 * hash) + TARGET_ID_FIELD_NUMBER; hash = (53 * hash) + getTargetId(); hash = (37 * hash) + ONCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOnce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOnce()); switch (targetTypeCase_) { case 2: hash = (37 * hash) + QUERY_FIELD_NUMBER; @@ -2215,130 +2429,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(); @@ -2363,9 +2581,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 @@ -2421,38 +2639,39 @@ public com.google.firestore.v1.Target 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.v1.Target) { - return mergeFrom((com.google.firestore.v1.Target)other); + return mergeFrom((com.google.firestore.v1.Target) other); } else { super.mergeFrom(other); return this; @@ -2468,30 +2687,36 @@ public Builder mergeFrom(com.google.firestore.v1.Target other) { setOnce(other.getOnce()); } switch (other.getTargetTypeCase()) { - case QUERY: { - mergeQuery(other.getQuery()); - break; - } - case DOCUMENTS: { - mergeDocuments(other.getDocuments()); - break; - } - case TARGETTYPE_NOT_SET: { - break; - } + case QUERY: + { + mergeQuery(other.getQuery()); + break; + } + case DOCUMENTS: + { + mergeDocuments(other.getDocuments()); + break; + } + case TARGETTYPE_NOT_SET: + { + break; + } } switch (other.getResumeTypeCase()) { - case RESUME_TOKEN: { - setResumeToken(other.getResumeToken()); - break; - } - case READ_TIME: { - mergeReadTime(other.getReadTime()); - break; - } - case RESUMETYPE_NOT_SET: { - break; - } + case RESUME_TOKEN: + { + setResumeToken(other.getResumeToken()); + break; + } + case READ_TIME: + { + mergeReadTime(other.getReadTime()); + break; + } + case RESUMETYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2519,48 +2744,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getQueryFieldBuilder().getBuilder(), - extensionRegistry); - targetTypeCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getDocumentsFieldBuilder().getBuilder(), - extensionRegistry); - targetTypeCase_ = 3; - break; - } // case 26 - case 34: { - resumeType_ = input.readBytes(); - resumeTypeCase_ = 4; - break; - } // case 34 - case 40: { - targetId_ = input.readInt32(); + 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(); - break; - } // case 40 - case 48: { - once_ = input.readBool(); + break; + } // case 40 + case 48: + { + once_ = input.readBool(); - break; - } // case 48 - case 90: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - resumeTypeCase_ = 11; - break; - } // case 90 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 48 + case 90: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + resumeTypeCase_ = 11; + break; + } // case 90 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2570,12 +2796,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() { @@ -2587,10 +2813,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() { @@ -2600,15 +2825,20 @@ public Builder clearResumeType() { return this; } - 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 @@ -2616,11 +2846,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 @@ -2638,6 +2871,8 @@ public com.google.firestore.v1.Target.QueryTarget getQuery() { } } /** + * + * *
      * A target specified by a query.
      * 
@@ -2658,14 +2893,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(); @@ -2676,6 +2912,8 @@ public Builder setQuery( return this; } /** + * + * *
      * A target specified by a query.
      * 
@@ -2684,10 +2922,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; } @@ -2703,6 +2944,8 @@ public Builder mergeQuery(com.google.firestore.v1.Target.QueryTarget value) { return this; } /** + * + * *
      * A target specified by a query.
      * 
@@ -2726,6 +2969,8 @@ public Builder clearQuery() { return this; } /** + * + * *
      * A target specified by a query.
      * 
@@ -2736,6 +2981,8 @@ public com.google.firestore.v1.Target.QueryTarget.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** + * + * *
      * A target specified by a query.
      * 
@@ -2754,6 +3001,8 @@ public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { } } /** + * + * *
      * A target specified by a query.
      * 
@@ -2761,32 +3010,44 @@ 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()); targetType_ = null; } targetTypeCase_ = 2; - onChanged();; + onChanged(); + ; return queryBuilder_; } 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 @@ -2794,11 +3055,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 @@ -2816,6 +3080,8 @@ public com.google.firestore.v1.Target.DocumentsTarget getDocuments() { } } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2836,6 +3102,8 @@ public Builder setDocuments(com.google.firestore.v1.Target.DocumentsTarget value return this; } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2854,6 +3122,8 @@ public Builder setDocuments( return this; } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2862,10 +3132,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; } @@ -2881,6 +3154,8 @@ public Builder mergeDocuments(com.google.firestore.v1.Target.DocumentsTarget val return this; } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2904,6 +3179,8 @@ public Builder clearDocuments() { return this; } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2914,6 +3191,8 @@ public com.google.firestore.v1.Target.DocumentsTarget.Builder getDocumentsBuilde return getDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2932,6 +3211,8 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui } } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2939,43 +3220,55 @@ 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()); targetType_ = null; } targetTypeCase_ = 3; - onChanged();; + onChanged(); + ; return documentsBuilder_; } /** + * + * *
      * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target.
      * Using a resume token with a different target is unsupported and may fail.
      * 
* * 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.
      * Using a resume token with a different target is unsupported and may fail.
      * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ public com.google.protobuf.ByteString getResumeToken() { @@ -2985,31 +3278,37 @@ 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.
      * Using a resume token with a different target is unsupported and may fail.
      * 
* * 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(); - } - resumeTypeCase_ = 4; + 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.
      * Using a resume token with a different target is unsupported and may fail.
      * 
* * bytes resume_token = 4; + * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -3022,14 +3321,20 @@ public Builder clearResumeToken() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
      * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -3037,12 +3342,15 @@ public boolean hasReadTime() { return resumeTypeCase_ == 11; } /** + * + * *
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
      * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return The readTime. */ @java.lang.Override @@ -3060,6 +3368,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3081,6 +3391,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3088,8 +3400,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();
@@ -3100,6 +3411,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3109,10 +3422,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;
         }
@@ -3128,6 +3443,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3152,6 +3469,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3163,6 +3482,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3182,6 +3503,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3190,32 +3513,39 @@ 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;
-      onChanged();;
+      onChanged();
+      ;
       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 @@ -3223,44 +3553,53 @@ public int getTargetId() { return targetId_; } /** + * + * *
      * The target ID that identifies the target on the stream. Must be a positive
      * number and non-zero.
      * 
* * int32 target_id = 5; + * * @param value The targetId to set. * @return This builder for chaining. */ public Builder setTargetId(int value) { - + targetId_ = value; onChanged(); return this; } /** + * + * *
      * The target ID that identifies the target on the stream. Must be a positive
      * number and non-zero.
      * 
* * int32 target_id = 5; + * * @return This builder for chaining. */ public Builder clearTargetId() { - + targetId_ = 0; onChanged(); 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 @@ -3268,37 +3607,43 @@ public boolean getOnce() { return once_; } /** + * + * *
      * If the target should be removed once it is current and consistent.
      * 
* * bool once = 6; + * * @param value The once to set. * @return This builder for chaining. */ public Builder setOnce(boolean value) { - + once_ = value; onChanged(); return this; } /** + * + * *
      * If the target should be removed once it is current and consistent.
      * 
* * bool once = 6; + * * @return This builder for chaining. */ public Builder clearOnce() { - + once_ = false; 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); } @@ -3308,12 +3653,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(); } @@ -3322,27 +3667,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; @@ -3357,6 +3702,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 4e33a6b1e5..9692a4db9d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * Targets being watched have changed.
  * 
* * Protobuf type {@code google.firestore.v1.TargetChange} */ -public final class TargetChange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TargetChange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TargetChange) TargetChangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TargetChange.newBuilder() to construct. private TargetChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TargetChange() { targetChangeType_ = 0; targetIds_ = emptyIntList(); @@ -27,39 +45,43 @@ private TargetChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TargetChange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_TargetChange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_TargetChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_TargetChange_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_TargetChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TargetChange.class, com.google.firestore.v1.TargetChange.Builder.class); + com.google.firestore.v1.TargetChange.class, + com.google.firestore.v1.TargetChange.Builder.class); } /** + * + * *
    * The type of change.
    * 
* * Protobuf enum {@code google.firestore.v1.TargetChange.TargetChangeType} */ - public enum TargetChangeType - implements com.google.protobuf.ProtocolMessageEnum { + public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No change has occurred. Used only to send an updated `resume_token`.
      * 
@@ -68,6 +90,8 @@ public enum TargetChangeType */ NO_CHANGE(0), /** + * + * *
      * The targets have been added.
      * 
@@ -76,6 +100,8 @@ public enum TargetChangeType */ ADD(1), /** + * + * *
      * The targets have been removed.
      * 
@@ -84,6 +110,8 @@ public enum TargetChangeType */ REMOVE(2), /** + * + * *
      * The targets reflect all changes committed before the targets were added
      * to the stream.
@@ -97,6 +125,8 @@ public enum TargetChangeType
      */
     CURRENT(3),
     /**
+     *
+     *
      * 
      * The targets have been reset, and a new initial state for the targets
      * will be returned in subsequent changes.
@@ -111,6 +141,8 @@ public enum TargetChangeType
     ;
 
     /**
+     *
+     *
      * 
      * No change has occurred. Used only to send an updated `resume_token`.
      * 
@@ -119,6 +151,8 @@ public enum TargetChangeType */ public static final int NO_CHANGE_VALUE = 0; /** + * + * *
      * The targets have been added.
      * 
@@ -127,6 +161,8 @@ public enum TargetChangeType */ public static final int ADD_VALUE = 1; /** + * + * *
      * The targets have been removed.
      * 
@@ -135,6 +171,8 @@ public enum TargetChangeType */ public static final int REMOVE_VALUE = 2; /** + * + * *
      * The targets reflect all changes committed before the targets were added
      * to the stream.
@@ -148,6 +186,8 @@ public enum TargetChangeType
      */
     public static final int CURRENT_VALUE = 3;
     /**
+     *
+     *
      * 
      * The targets have been reset, and a new initial state for the targets
      * will be returned in subsequent changes.
@@ -159,7 +199,6 @@ public enum TargetChangeType
      */
     public static final int RESET_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -184,41 +223,46 @@ public static TargetChangeType valueOf(int value) {
      */
     public static TargetChangeType forNumber(int value) {
       switch (value) {
-        case 0: return NO_CHANGE;
-        case 1: return ADD;
-        case 2: return REMOVE;
-        case 3: return CURRENT;
-        case 4: return RESET;
-        default: return null;
+        case 0:
+          return NO_CHANGE;
+        case 1:
+          return ADD;
+        case 2:
+          return REMOVE;
+        case 3:
+          return CURRENT;
+        case 4:
+          return RESET;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        TargetChangeType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public TargetChangeType findValueByNumber(int number) {
-              return TargetChangeType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public TargetChangeType findValueByNumber(int number) {
+                return TargetChangeType.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.firestore.v1.TargetChange.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -227,8 +271,7 @@ public TargetChangeType findValueByNumber(int number) {
     public static TargetChangeType valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -248,33 +291,46 @@ private TargetChangeType(int value) {
   public static final int TARGET_CHANGE_TYPE_FIELD_NUMBER = 1;
   private int targetChangeType_;
   /**
+   *
+   *
    * 
    * 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() { + @java.lang.Override + public com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType() { @SuppressWarnings("deprecation") - com.google.firestore.v1.TargetChange.TargetChangeType result = com.google.firestore.v1.TargetChange.TargetChangeType.valueOf(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.valueOf(targetChangeType_); + return result == null + ? com.google.firestore.v1.TargetChange.TargetChangeType.UNRECOGNIZED + : result; } public static final int TARGET_IDS_FIELD_NUMBER = 2; private com.google.protobuf.Internal.IntList targetIds_; /** + * + * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -282,14 +338,16 @@ private TargetChangeType(int value) {
    * 
* * repeated int32 target_ids = 2; + * * @return A list containing the targetIds. */ @java.lang.Override - public java.util.List - getTargetIdsList() { + public java.util.List getTargetIdsList() { return targetIds_; } /** + * + * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -297,12 +355,15 @@ private TargetChangeType(int value) {
    * 
* * repeated int32 target_ids = 2; + * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** + * + * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -310,22 +371,27 @@ public int getTargetIdsCount() {
    * 
* * repeated int32 target_ids = 2; + * * @param index The index of the element to return. * @return The targetIds at the given index. */ public int getTargetIds(int index) { return targetIds_.getInt(index); } + private int targetIdsMemoizedSerializedSize = -1; public static final int CAUSE_FIELD_NUMBER = 3; private com.google.rpc.Status cause_; /** + * + * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; + * * @return Whether the cause field is set. */ @java.lang.Override @@ -333,11 +399,14 @@ public boolean hasCause() { return cause_ != null; } /** + * + * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; + * * @return The cause. */ @java.lang.Override @@ -345,6 +414,8 @@ public com.google.rpc.Status getCause() { return cause_ == null ? com.google.rpc.Status.getDefaultInstance() : cause_; } /** + * + * *
    * The error that resulted in this change, if applicable.
    * 
@@ -359,6 +430,8 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { public static final int RESUME_TOKEN_FIELD_NUMBER = 4; private com.google.protobuf.ByteString resumeToken_; /** + * + * *
    * A token that can be used to resume the stream for the given `target_ids`,
    * or all targets if `target_ids` is empty.
@@ -366,6 +439,7 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() {
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ @java.lang.Override @@ -376,6 +450,8 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int READ_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -388,6 +464,7 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -395,6 +472,8 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -407,6 +486,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ @java.lang.Override @@ -414,6 +494,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -433,6 +515,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -444,10 +527,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     getSerializedSize();
-    if (targetChangeType_ != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
+    if (targetChangeType_
+        != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
       output.writeEnum(1, targetChangeType_);
     }
     if (getTargetIdsList().size() > 0) {
@@ -475,35 +558,31 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (targetChangeType_ != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, targetChangeType_);
+    if (targetChangeType_
+        != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, targetChangeType_);
     }
     {
       int dataSize = 0;
       for (int i = 0; i < targetIds_.size(); i++) {
-        dataSize += com.google.protobuf.CodedOutputStream
-          .computeInt32SizeNoTag(targetIds_.getInt(i));
+        dataSize +=
+            com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(targetIds_.getInt(i));
       }
       size += dataSize;
       if (!getTargetIdsList().isEmpty()) {
         size += 1;
-        size += com.google.protobuf.CodedOutputStream
-            .computeInt32SizeNoTag(dataSize);
+        size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
       }
       targetIdsMemoizedSerializedSize = dataSize;
     }
     if (cause_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getCause());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCause());
     }
     if (!resumeToken_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(4, resumeToken_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, resumeToken_);
     }
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getReadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -513,7 +592,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.TargetChange)) {
       return super.equals(obj);
@@ -521,19 +600,15 @@ public boolean equals(final java.lang.Object obj) {
     com.google.firestore.v1.TargetChange other = (com.google.firestore.v1.TargetChange) obj;
 
     if (targetChangeType_ != other.targetChangeType_) return false;
-    if (!getTargetIdsList()
-        .equals(other.getTargetIdsList())) return false;
+    if (!getTargetIdsList().equals(other.getTargetIdsList())) return false;
     if (hasCause() != other.hasCause()) return false;
     if (hasCause()) {
-      if (!getCause()
-          .equals(other.getCause())) return false;
+      if (!getCause().equals(other.getCause())) return false;
     }
-    if (!getResumeToken()
-        .equals(other.getResumeToken())) return false;
+    if (!getResumeToken().equals(other.getResumeToken())) return false;
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime()
-          .equals(other.getReadTime())) return false;
+      if (!getReadTime().equals(other.getReadTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -567,130 +642,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(); @@ -716,9 +796,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 @@ -764,38 +844,39 @@ public com.google.firestore.v1.TargetChange 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.v1.TargetChange) { - return mergeFrom((com.google.firestore.v1.TargetChange)other); + return mergeFrom((com.google.firestore.v1.TargetChange) other); } else { super.mergeFrom(other); return this; @@ -852,52 +933,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - targetChangeType_ = input.readEnum(); - - 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); - - break; - } // case 26 - case 34: { - resumeToken_ = input.readBytes(); - - break; - } // case 34 - case 50: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + targetChangeType_ = input.readEnum(); + + 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); + + break; + } // case 26 + case 34: + { + resumeToken_ = input.readBytes(); + + break; + } // case 34 + case 50: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -907,90 +991,114 @@ 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. */ public Builder setTargetChangeTypeValue(int value) { - + targetChangeType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.firestore.v1.TargetChange.TargetChangeType result = com.google.firestore.v1.TargetChange.TargetChangeType.valueOf(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.valueOf(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(); } - + targetChangeType_ = value.getNumber(); onChanged(); 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() { - + targetChangeType_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList targetIds_ = emptyIntList(); + private void ensureTargetIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { targetIds_ = mutableCopy(targetIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -998,14 +1106,17 @@ private void ensureTargetIdsIsMutable() {
      * 
* * repeated int32 target_ids = 2; + * * @return A list containing the targetIds. */ - public java.util.List - getTargetIdsList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(targetIds_) : targetIds_; + public java.util.List getTargetIdsList() { + return ((bitField0_ & 0x00000001) != 0) + ? java.util.Collections.unmodifiableList(targetIds_) + : targetIds_; } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1013,12 +1124,15 @@ private void ensureTargetIdsIsMutable() {
      * 
* * repeated int32 target_ids = 2; + * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1026,6 +1140,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. */ @@ -1033,6 +1148,8 @@ public int getTargetIds(int index) { return targetIds_.getInt(index); } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1040,18 +1157,20 @@ public int getTargetIds(int index) {
      * 
* * repeated int32 target_ids = 2; + * * @param index The index to set the value at. * @param value The targetIds to set. * @return This builder for chaining. */ - public Builder setTargetIds( - int index, int value) { + public Builder setTargetIds(int index, int value) { ensureTargetIdsIsMutable(); targetIds_.setInt(index, value); onChanged(); return this; } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1059,6 +1178,7 @@ public Builder setTargetIds(
      * 
* * repeated int32 target_ids = 2; + * * @param value The targetIds to add. * @return This builder for chaining. */ @@ -1069,6 +1189,8 @@ public Builder addTargetIds(int value) { return this; } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1076,18 +1198,19 @@ public Builder addTargetIds(int value) {
      * 
* * repeated int32 target_ids = 2; + * * @param values The targetIds to add. * @return This builder for chaining. */ - public Builder addAllTargetIds( - java.lang.Iterable values) { + public Builder addAllTargetIds(java.lang.Iterable values) { ensureTargetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, targetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetIds_); onChanged(); return this; } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1095,6 +1218,7 @@ public Builder addAllTargetIds(
      * 
* * repeated int32 target_ids = 2; + * * @return This builder for chaining. */ public Builder clearTargetIds() { @@ -1106,24 +1230,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 causeBuilder_ != null || cause_ != null; } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
* * .google.rpc.Status cause = 3; + * * @return The cause. */ public com.google.rpc.Status getCause() { @@ -1134,6 +1265,8 @@ public com.google.rpc.Status getCause() { } } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1154,14 +1287,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(); onChanged(); @@ -1172,6 +1306,8 @@ public Builder setCause( return this; } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1181,8 +1317,7 @@ public Builder setCause( public Builder mergeCause(com.google.rpc.Status value) { if (causeBuilder_ == null) { if (cause_ != null) { - cause_ = - com.google.rpc.Status.newBuilder(cause_).mergeFrom(value).buildPartial(); + cause_ = com.google.rpc.Status.newBuilder(cause_).mergeFrom(value).buildPartial(); } else { cause_ = value; } @@ -1194,6 +1329,8 @@ public Builder mergeCause(com.google.rpc.Status value) { return this; } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1212,6 +1349,8 @@ public Builder clearCause() { return this; } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1219,11 +1358,13 @@ public Builder clearCause() { * .google.rpc.Status cause = 3; */ public com.google.rpc.Status.Builder getCauseBuilder() { - + onChanged(); return getCauseFieldBuilder().getBuilder(); } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1234,11 +1375,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.
      * 
@@ -1246,14 +1388,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_; @@ -1261,6 +1403,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.
@@ -1268,6 +1412,7 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() {
      * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ @java.lang.Override @@ -1275,6 +1420,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.
@@ -1282,19 +1429,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(); - } - + throw new NullPointerException(); + } + resumeToken_ = value; 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.
@@ -1302,10 +1452,11 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 4; + * * @return This builder for chaining. */ public Builder clearResumeToken() { - + resumeToken_ = getDefaultInstance().getResumeToken(); onChanged(); return this; @@ -1313,8 +1464,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).
@@ -1327,12 +1483,15 @@ public Builder clearResumeToken() {
      * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1345,6 +1504,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1355,6 +1515,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).
@@ -1382,6 +1544,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).
@@ -1395,8 +1559,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();
         onChanged();
@@ -1407,6 +1570,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).
@@ -1424,7 +1589,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
         if (readTime_ != null) {
           readTime_ =
-            com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
         } else {
           readTime_ = value;
         }
@@ -1436,6 +1601,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).
@@ -1461,6 +1628,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).
@@ -1475,11 +1644,13 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-      
+
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1497,11 +1668,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).
@@ -1516,21 +1688,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);
     }
 
@@ -1540,12 +1715,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();
   }
@@ -1554,27 +1729,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;
@@ -1589,6 +1764,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 6cd26c0b7f..2c36f37e41 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
@@ -1,32 +1,56 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface TargetChangeOrBuilder extends
+public interface TargetChangeOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.TargetChange)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The type of change that occurred.
    * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + * * @return The enum numeric value on the wire for targetChangeType. */ int getTargetChangeTypeValue(); /** + * + * *
    * The type of change that occurred.
    * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + * * @return The targetChangeType. */ com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType(); /** + * + * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -34,10 +58,13 @@ public interface TargetChangeOrBuilder extends
    * 
* * repeated int32 target_ids = 2; + * * @return A list containing the targetIds. */ java.util.List getTargetIdsList(); /** + * + * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -45,10 +72,13 @@ public interface TargetChangeOrBuilder extends
    * 
* * repeated int32 target_ids = 2; + * * @return The count of targetIds. */ int getTargetIdsCount(); /** + * + * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -56,30 +86,39 @@ public interface TargetChangeOrBuilder extends
    * 
* * repeated int32 target_ids = 2; + * * @param index The index of the element to return. * @return The targetIds at the given index. */ int getTargetIds(int index); /** + * + * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; + * * @return Whether the cause field is set. */ boolean hasCause(); /** + * + * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; + * * @return The cause. */ com.google.rpc.Status getCause(); /** + * + * *
    * The error that resulted in this change, if applicable.
    * 
@@ -89,6 +128,8 @@ public interface TargetChangeOrBuilder extends com.google.rpc.StatusOrBuilder getCauseOrBuilder(); /** + * + * *
    * A token that can be used to resume the stream for the given `target_ids`,
    * or all targets if `target_ids` is empty.
@@ -96,11 +137,14 @@ public interface TargetChangeOrBuilder extends
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** + * + * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -113,10 +157,13 @@ public interface TargetChangeOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -129,10 +176,13 @@ public interface TargetChangeOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
similarity index 82%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
index d4d71d9cbc..e4ef86a50e 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,47 +94,61 @@ 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.
    * Using a resume token with a different target is unsupported and may fail.
    * 
* * 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.
    * Using a resume token with a different target is unsupported and may fail.
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** + * + * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
@@ -113,22 +159,28 @@ public interface TargetOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The target ID that identifies the target on the stream. Must be a positive
    * number and non-zero.
    * 
* * int32 target_id = 5; + * * @return The targetId. */ int getTargetId(); /** + * + * *
    * If the target should be removed once it is current and consistent.
    * 
* * bool once = 6; + * * @return The once. */ boolean getOnce(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java index 1172400aa8..7834d43198 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java @@ -1,119 +1,148 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; /** + * + * *
  * Options for creating a new transaction.
  * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions} */ -public final class TransactionOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransactionOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions) TransactionOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransactionOptions.newBuilder() to construct. private TransactionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransactionOptions() { - } + + private TransactionOptions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransactionOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.class, com.google.firestore.v1.TransactionOptions.Builder.class); + com.google.firestore.v1.TransactionOptions.class, + com.google.firestore.v1.TransactionOptions.Builder.class); } - public interface ReadWriteOrBuilder extends + public interface ReadWriteOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.TransactionOptions.ReadWrite) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * An optional transaction to retry.
      * 
* * bytes retry_transaction = 1; + * * @return The retryTransaction. */ com.google.protobuf.ByteString getRetryTransaction(); } /** + * + * *
    * Options for a transaction that can be used to read and write documents.
    * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadWrite} */ - public static final class ReadWrite extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ReadWrite extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions.ReadWrite) ReadWriteOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadWrite.newBuilder() to construct. private ReadWrite(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReadWrite() { retryTransaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadWrite(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.ReadWrite.class, com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); + com.google.firestore.v1.TransactionOptions.ReadWrite.class, + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); } public static final int RETRY_TRANSACTION_FIELD_NUMBER = 1; private com.google.protobuf.ByteString retryTransaction_; /** + * + * *
      * An optional transaction to retry.
      * 
* * bytes retry_transaction = 1; + * * @return The retryTransaction. */ @java.lang.Override @@ -122,6 +151,7 @@ public com.google.protobuf.ByteString getRetryTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,8 +163,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!retryTransaction_.isEmpty()) { output.writeBytes(1, retryTransaction_); } @@ -148,8 +177,7 @@ public int getSerializedSize() { size = 0; if (!retryTransaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, retryTransaction_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, retryTransaction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -159,15 +187,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.TransactionOptions.ReadWrite)) { return super.equals(obj); } - com.google.firestore.v1.TransactionOptions.ReadWrite other = (com.google.firestore.v1.TransactionOptions.ReadWrite) obj; + com.google.firestore.v1.TransactionOptions.ReadWrite other = + (com.google.firestore.v1.TransactionOptions.ReadWrite) obj; - if (!getRetryTransaction() - .equals(other.getRetryTransaction())) return false; + if (!getRetryTransaction().equals(other.getRetryTransaction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,87 +215,94 @@ public int hashCode() { } public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.TransactionOptions.ReadWrite prototype) { + + public static Builder newBuilder( + com.google.firestore.v1.TransactionOptions.ReadWrite prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -277,39 +312,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Options for a transaction that can be used to read and write documents.
      * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadWrite} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.TransactionOptions.ReadWrite) com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.ReadWrite.class, com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); + com.google.firestore.v1.TransactionOptions.ReadWrite.class, + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); } // Construct using com.google.firestore.v1.TransactionOptions.ReadWrite.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -319,9 +356,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override @@ -340,7 +377,8 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite build() { @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadWrite buildPartial() { - com.google.firestore.v1.TransactionOptions.ReadWrite result = new com.google.firestore.v1.TransactionOptions.ReadWrite(this); + com.google.firestore.v1.TransactionOptions.ReadWrite result = + new com.google.firestore.v1.TransactionOptions.ReadWrite(this); result.retryTransaction_ = retryTransaction_; onBuilt(); return result; @@ -350,38 +388,41 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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; @@ -389,7 +430,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()); } @@ -419,17 +461,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - retryTransaction_ = input.readBytes(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + retryTransaction_ = input.readBytes(); + + 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) { @@ -440,13 +484,17 @@ public Builder mergeFrom( return this; } - 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,37 +502,44 @@ 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(); - } - + throw new NullPointerException(); + } + retryTransaction_ = value; onChanged(); return this; } /** + * + * *
        * An optional transaction to retry.
        * 
* * bytes retry_transaction = 1; + * * @return This builder for chaining. */ public Builder clearRetryTransaction() { - + retryTransaction_ = getDefaultInstance().getRetryTransaction(); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -497,12 +552,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(); } @@ -511,27 +566,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; @@ -546,34 +602,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.
@@ -583,60 +647,67 @@ public interface ReadOnlyOrBuilder extends
      */
     com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-    public com.google.firestore.v1.TransactionOptions.ReadOnly.ConsistencySelectorCase getConsistencySelectorCase();
+    public com.google.firestore.v1.TransactionOptions.ReadOnly.ConsistencySelectorCase
+        getConsistencySelectorCase();
   }
   /**
+   *
+   *
    * 
    * Options for a transaction that can only be used to read documents.
    * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadOnly} */ - public static final class ReadOnly extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ReadOnly extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions.ReadOnly) ReadOnlyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadOnly.newBuilder() to construct. private ReadOnly(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadOnly() { - } + + private ReadOnly() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadOnly(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.ReadOnly.class, com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.firestore.v1.TransactionOptions.ReadOnly.class, + com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; + public enum ConsistencySelectorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_TIME(2), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; + private ConsistencySelectorCase(int value) { this.value = value; } @@ -652,30 +723,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 @@ -683,22 +759,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.
@@ -709,12 +790,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;
@@ -726,8 +808,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_);
       }
@@ -741,8 +822,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;
@@ -752,18 +834,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:
@@ -793,87 +875,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
@@ -883,39 +972,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(); @@ -928,9 +1019,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 @@ -949,7 +1040,8 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly build() { @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadOnly buildPartial() { - com.google.firestore.v1.TransactionOptions.ReadOnly result = new com.google.firestore.v1.TransactionOptions.ReadOnly(this); + com.google.firestore.v1.TransactionOptions.ReadOnly result = + new com.google.firestore.v1.TransactionOptions.ReadOnly(this); if (consistencySelectorCase_ == 2) { if (readTimeBuilder_ == null) { result.consistencySelector_ = consistencySelector_; @@ -966,38 +1058,41 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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; @@ -1005,15 +1100,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(); @@ -1041,19 +1139,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) { @@ -1063,12 +1161,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() { @@ -1078,16 +1176,21 @@ public Builder clearConsistencySelector() { return this; } - 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 @@ -1095,12 +1198,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 @@ -1118,6 +1224,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1139,6 +1247,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.
@@ -1146,8 +1256,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();
@@ -1158,6 +1267,8 @@ public Builder setReadTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1167,10 +1278,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;
           }
@@ -1186,6 +1300,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.
@@ -1210,6 +1326,8 @@ public Builder clearReadTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1221,6 +1339,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.
@@ -1240,6 +1360,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1248,23 +1370,30 @@ 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());
           consistencySelector_ = null;
         }
         consistencySelectorCase_ = 2;
-        onChanged();;
+        onChanged();
+        ;
         return readTimeBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1277,12 +1406,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();
     }
@@ -1291,27 +1420,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;
@@ -1326,18 +1456,20 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.TransactionOptions.ReadOnly getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int modeCase_ = 0;
   private java.lang.Object mode_;
+
   public enum ModeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     READ_ONLY(2),
     READ_WRITE(3),
     MODE_NOT_SET(0);
     private final int value;
+
     private ModeCase(int value) {
       this.value = value;
     }
@@ -1353,30 +1485,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 @@ -1384,21 +1522,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.
    * 
@@ -1408,18 +1551,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 @@ -1427,21 +1573,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.
    * 
@@ -1451,12 +1602,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; @@ -1468,8 +1620,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_); } @@ -1486,12 +1637,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; @@ -1501,22 +1654,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: @@ -1549,130 +1701,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(); @@ -1688,9 +1846,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 @@ -1709,7 +1867,8 @@ public com.google.firestore.v1.TransactionOptions build() { @java.lang.Override public com.google.firestore.v1.TransactionOptions buildPartial() { - com.google.firestore.v1.TransactionOptions result = new com.google.firestore.v1.TransactionOptions(this); + com.google.firestore.v1.TransactionOptions result = + new com.google.firestore.v1.TransactionOptions(this); if (modeCase_ == 2) { if (readOnlyBuilder_ == null) { result.mode_ = mode_; @@ -1733,38 +1892,39 @@ public com.google.firestore.v1.TransactionOptions 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.v1.TransactionOptions) { - return mergeFrom((com.google.firestore.v1.TransactionOptions)other); + return mergeFrom((com.google.firestore.v1.TransactionOptions) other); } else { super.mergeFrom(other); return this; @@ -1774,17 +1934,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(); @@ -1812,26 +1975,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) { @@ -1841,12 +2003,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() { @@ -1856,15 +2018,20 @@ public Builder clearMode() { return this; } - 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 @@ -1872,11 +2039,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 @@ -1894,6 +2064,8 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly() { } } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -1914,6 +2086,8 @@ public Builder setReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly v return this; } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -1932,6 +2106,8 @@ public Builder setReadOnly( return this; } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -1940,10 +2116,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; } @@ -1959,6 +2138,8 @@ public Builder mergeReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly return this; } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -1982,6 +2163,8 @@ public Builder clearReadOnly() { return this; } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -1992,6 +2175,8 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly.Builder getReadOnlyBu return getReadOnlyFieldBuilder().getBuilder(); } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -2010,6 +2195,8 @@ public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO } } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -2017,32 +2204,44 @@ 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()); mode_ = null; } modeCase_ = 2; - onChanged();; + onChanged(); + ; return readOnlyBuilder_; } 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 @@ -2050,11 +2249,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 @@ -2072,6 +2274,8 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite() { } } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2092,6 +2296,8 @@ public Builder setReadWrite(com.google.firestore.v1.TransactionOptions.ReadWrite return this; } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2110,6 +2316,8 @@ public Builder setReadWrite( return this; } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2118,10 +2326,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; } @@ -2137,6 +2348,8 @@ public Builder mergeReadWrite(com.google.firestore.v1.TransactionOptions.ReadWri return this; } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2160,6 +2373,8 @@ public Builder clearReadWrite() { return this; } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2170,6 +2385,8 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite.Builder getReadWrite return getReadWriteFieldBuilder().getBuilder(); } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2188,6 +2405,8 @@ public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit } } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2195,26 +2414,32 @@ 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()); mode_ = null; } modeCase_ = 3; - onChanged();; + 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); } @@ -2224,12 +2449,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(); } @@ -2238,27 +2463,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; @@ -2273,6 +2498,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 b2bddcce3c..7010d2dbaf 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 74% 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 122ed7e616..bd1a0fac6a 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,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The request for [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument].
  * 
* * Protobuf type {@code google.firestore.v1.UpdateDocumentRequest} */ -public final class UpdateDocumentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDocumentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.UpdateDocumentRequest) UpdateDocumentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDocumentRequest.newBuilder() to construct. private UpdateDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDocumentRequest() { - } + + private UpdateDocumentRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDocumentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.UpdateDocumentRequest.class, com.google.firestore.v1.UpdateDocumentRequest.Builder.class); + com.google.firestore.v1.UpdateDocumentRequest.class, + com.google.firestore.v1.UpdateDocumentRequest.Builder.class); } public static final int DOCUMENT_FIELD_NUMBER = 1; private com.google.firestore.v1.Document document_; /** + * + * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the document field is set. */ @java.lang.Override @@ -63,12 +85,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 @@ -76,12 +102,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() { @@ -91,6 +120,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.
@@ -101,6 +132,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 @@ -108,6 +140,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -118,13 +152,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.
@@ -144,6 +183,8 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int MASK_FIELD_NUMBER = 3;
   private com.google.firestore.v1.DocumentMask mask_;
   /**
+   *
+   *
    * 
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -151,6 +192,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 +200,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -165,6 +209,7 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ @java.lang.Override @@ -172,6 +217,8 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -188,12 +235,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 @@ -201,19 +251,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.
@@ -227,6 +284,7 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -238,8 +296,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());
     }
@@ -262,20 +319,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;
@@ -285,32 +338,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;
@@ -344,130 +394,136 @@ 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].
    * 
* * 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(); @@ -499,9 +555,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 @@ -520,7 +576,8 @@ public com.google.firestore.v1.UpdateDocumentRequest build() { @java.lang.Override public com.google.firestore.v1.UpdateDocumentRequest buildPartial() { - com.google.firestore.v1.UpdateDocumentRequest result = new com.google.firestore.v1.UpdateDocumentRequest(this); + com.google.firestore.v1.UpdateDocumentRequest result = + new com.google.firestore.v1.UpdateDocumentRequest(this); if (documentBuilder_ == null) { result.document_ = document_; } else { @@ -549,38 +606,39 @@ public com.google.firestore.v1.UpdateDocumentRequest 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.v1.UpdateDocumentRequest) { - return mergeFrom((com.google.firestore.v1.UpdateDocumentRequest)other); + return mergeFrom((com.google.firestore.v1.UpdateDocumentRequest) other); } else { super.mergeFrom(other); return this; @@ -627,40 +685,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDocumentFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getMaskFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 34: { - input.readMessage( - getCurrentDocumentFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 34: + { + input.readMessage(getCurrentDocumentFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -673,42 +728,58 @@ public Builder mergeFrom( 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 documentBuilder_ != null || 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. */ 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) { @@ -724,15 +795,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(); onChanged(); @@ -743,18 +816,23 @@ 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 (document_ != null) { document_ = - com.google.firestore.v1.Document.newBuilder(document_).mergeFrom(value).buildPartial(); + com.google.firestore.v1.Document.newBuilder(document_) + .mergeFrom(value) + .buildPartial(); } else { document_ = value; } @@ -766,12 +844,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() { if (documentBuilder_ == null) { @@ -785,51 +866,64 @@ 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() { - + onChanged(); 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_; @@ -837,8 +931,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.
@@ -849,12 +948,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -865,16 +967,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.
@@ -900,6 +1007,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.
@@ -911,8 +1020,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();
         onChanged();
@@ -923,6 +1031,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -938,7 +1048,9 @@ public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.firestore.v1.DocumentMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.DocumentMask.newBuilder(updateMask_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -950,6 +1062,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.
@@ -973,6 +1087,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -985,11 +1101,13 @@ public Builder clearUpdateMask() {
      * .google.firestore.v1.DocumentMask update_mask = 2;
      */
     public com.google.firestore.v1.DocumentMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1005,11 +1123,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.
@@ -1022,14 +1143,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_;
@@ -1037,8 +1161,13 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.firestore.v1.DocumentMask mask_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_;
+            com.google.firestore.v1.DocumentMask,
+            com.google.firestore.v1.DocumentMask.Builder,
+            com.google.firestore.v1.DocumentMaskOrBuilder>
+        maskBuilder_;
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1046,12 +1175,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 maskBuilder_ != null || mask_ != null; } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1059,6 +1191,7 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1069,6 +1202,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1091,6 +1226,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1099,8 +1236,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();
         onChanged();
@@ -1111,6 +1247,8 @@ public Builder setMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1123,7 +1261,9 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
         if (mask_ != null) {
           mask_ =
-            com.google.firestore.v1.DocumentMask.newBuilder(mask_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.DocumentMask.newBuilder(mask_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           mask_ = value;
         }
@@ -1135,6 +1275,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1155,6 +1297,8 @@ public Builder clearMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1164,11 +1308,13 @@ public Builder clearMask() {
      * .google.firestore.v1.DocumentMask mask = 3;
      */
     public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
-      
+
       onChanged();
       return getMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1181,11 +1327,12 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ?
-            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1195,14 +1342,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_;
@@ -1210,36 +1360,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 currentDocumentBuilder_ != null || 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. */ 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.
@@ -1261,6 +1424,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.
@@ -1280,6 +1445,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.
@@ -1291,7 +1458,9 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       if (currentDocumentBuilder_ == null) {
         if (currentDocument_ != null) {
           currentDocument_ =
-            com.google.firestore.v1.Precondition.newBuilder(currentDocument_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.Precondition.newBuilder(currentDocument_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           currentDocument_ = value;
         }
@@ -1303,6 +1472,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.
@@ -1322,6 +1493,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.
@@ -1330,11 +1503,13 @@ public Builder clearCurrentDocument() {
      * .google.firestore.v1.Precondition current_document = 4;
      */
     public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder() {
-      
+
       onChanged();
       return getCurrentDocumentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1346,11 +1521,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.
@@ -1359,21 +1537,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);
     }
 
@@ -1383,12 +1564,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();
   }
@@ -1397,27 +1578,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;
@@ -1432,6 +1613,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 36fa7c3643..bd85f98ec7 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
@@ -1,43 +1,72 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface UpdateDocumentRequestOrBuilder extends
+public interface UpdateDocumentRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.UpdateDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the document field is set. */ boolean hasDocument(); /** + * + * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The document. */ com.google.firestore.v1.Document getDocument(); /** + * + * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); /** + * + * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -48,10 +77,13 @@ public interface UpdateDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -62,10 +94,13 @@ public interface UpdateDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; + * * @return The updateMask. */ com.google.firestore.v1.DocumentMask getUpdateMask(); /** + * + * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -80,6 +115,8 @@ public interface UpdateDocumentRequestOrBuilder extends
   com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -87,10 +124,13 @@ public interface UpdateDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return Whether the mask field is set. */ boolean hasMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -98,10 +138,13 @@ public interface UpdateDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -113,26 +156,34 @@ public interface UpdateDocumentRequestOrBuilder extends
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return Whether the currentDocument field is set. */ boolean hasCurrentDocument(); /** + * + * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return The currentDocument. */ com.google.firestore.v1.Precondition getCurrentDocument(); /** + * + * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
index be267246dc..320f6939cb 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
@@ -1,56 +1,75 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A message that can hold any of the supported value types.
  * 
* * Protobuf type {@code google.firestore.v1.Value} */ -public final class Value extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Value extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Value) ValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Value.newBuilder() to construct. private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Value() { - } + + private Value() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Value(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_fieldAccessorTable + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Value.class, com.google.firestore.v1.Value.Builder.class); } private int valueTypeCase_ = 0; private java.lang.Object valueType_; + public enum ValueTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NULL_VALUE(11), BOOLEAN_VALUE(1), @@ -65,6 +84,7 @@ public enum ValueTypeCase MAP_VALUE(6), VALUETYPE_NOT_SET(0); private final int value; + private ValueTypeCase(int value) { this.value = value; } @@ -80,50 +100,68 @@ public static ValueTypeCase valueOf(int value) { public static ValueTypeCase forNumber(int value) { switch (value) { - case 11: return NULL_VALUE; - case 1: return BOOLEAN_VALUE; - case 2: return INTEGER_VALUE; - case 3: return DOUBLE_VALUE; - case 10: return TIMESTAMP_VALUE; - case 17: return STRING_VALUE; - case 18: return BYTES_VALUE; - case 5: return REFERENCE_VALUE; - case 8: return GEO_POINT_VALUE; - case 9: return ARRAY_VALUE; - case 6: return MAP_VALUE; - case 0: return VALUETYPE_NOT_SET; - default: return null; + case 11: + return NULL_VALUE; + case 1: + return BOOLEAN_VALUE; + case 2: + return INTEGER_VALUE; + case 3: + return DOUBLE_VALUE; + case 10: + return TIMESTAMP_VALUE; + case 17: + return STRING_VALUE; + case 18: + return BYTES_VALUE; + case 5: + return REFERENCE_VALUE; + case 8: + return GEO_POINT_VALUE; + case 9: + return ARRAY_VALUE; + case 6: + return MAP_VALUE; + case 0: + return VALUETYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ValueTypeCase - getValueTypeCase() { - return ValueTypeCase.forNumber( - valueTypeCase_); + public ValueTypeCase getValueTypeCase() { + return ValueTypeCase.forNumber(valueTypeCase_); } public static final int NULL_VALUE_FIELD_NUMBER = 11; /** + * + * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; + * * @return Whether the nullValue field is set. */ public boolean hasNullValue() { return valueTypeCase_ == 11; } /** + * + * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; + * * @return The enum numeric value on the wire for nullValue. */ public int getNullValueValue() { @@ -133,18 +171,21 @@ 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) { @SuppressWarnings("deprecation") - com.google.protobuf.NullValue result = com.google.protobuf.NullValue.valueOf( - (java.lang.Integer) valueType_); + com.google.protobuf.NullValue result = + com.google.protobuf.NullValue.valueOf((java.lang.Integer) valueType_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; @@ -152,11 +193,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 @@ -164,11 +208,14 @@ public boolean hasBooleanValue() { return valueTypeCase_ == 1; } /** + * + * *
    * A boolean value.
    * 
* * bool boolean_value = 1; + * * @return The booleanValue. */ @java.lang.Override @@ -181,11 +228,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 @@ -193,11 +243,14 @@ public boolean hasIntegerValue() { return valueTypeCase_ == 2; } /** + * + * *
    * An integer value.
    * 
* * int64 integer_value = 2; + * * @return The integerValue. */ @java.lang.Override @@ -210,11 +263,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 @@ -222,11 +278,14 @@ public boolean hasDoubleValue() { return valueTypeCase_ == 3; } /** + * + * *
    * A double value.
    * 
* * double double_value = 3; + * * @return The doubleValue. */ @java.lang.Override @@ -239,6 +298,8 @@ public double getDoubleValue() { public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 10; /** + * + * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -246,6 +307,7 @@ public double getDoubleValue() {
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -253,6 +315,8 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** + * + * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -260,16 +324,19 @@ public boolean hasTimestampValue() {
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return The timestampValue. */ @java.lang.Override public com.google.protobuf.Timestamp getTimestampValue() { if (valueTypeCase_ == 10) { - return (com.google.protobuf.Timestamp) valueType_; + return (com.google.protobuf.Timestamp) valueType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -281,13 +348,15 @@ public com.google.protobuf.Timestamp getTimestampValue() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
     if (valueTypeCase_ == 10) {
-       return (com.google.protobuf.Timestamp) valueType_;
+      return (com.google.protobuf.Timestamp) valueType_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   public static final int STRING_VALUE_FIELD_NUMBER = 17;
   /**
+   *
+   *
    * 
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -296,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.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -310,6 +382,7 @@ public boolean hasStringValue() {
    * 
* * string string_value = 17; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -320,8 +393,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 +402,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -338,18 +412,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; } @@ -361,6 +434,8 @@ public java.lang.String getStringValue() { public static final int BYTES_VALUE_FIELD_NUMBER = 18; /** + * + * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -368,6 +443,7 @@ public java.lang.String getStringValue() {
    * 
* * bytes bytes_value = 18; + * * @return Whether the bytesValue field is set. */ @java.lang.Override @@ -375,6 +451,8 @@ public boolean hasBytesValue() { return valueTypeCase_ == 18; } /** + * + * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -382,6 +460,7 @@ public boolean hasBytesValue() {
    * 
* * bytes bytes_value = 18; + * * @return The bytesValue. */ @java.lang.Override @@ -394,24 +473,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() { @@ -422,8 +507,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; @@ -432,24 +516,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; } @@ -461,11 +546,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 @@ -473,21 +561,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.
    * 
@@ -497,13 +590,15 @@ public com.google.type.LatLng getGeoPointValue() { @java.lang.Override public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { if (valueTypeCase_ == 8) { - return (com.google.type.LatLng) valueType_; + return (com.google.type.LatLng) valueType_; } return com.google.type.LatLng.getDefaultInstance(); } public static final int ARRAY_VALUE_FIELD_NUMBER = 9; /** + * + * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -511,6 +606,7 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -518,6 +614,8 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** + * + * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -525,16 +623,19 @@ public boolean hasArrayValue() {
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return The arrayValue. */ @java.lang.Override public com.google.firestore.v1.ArrayValue getArrayValue() { if (valueTypeCase_ == 9) { - return (com.google.firestore.v1.ArrayValue) valueType_; + return (com.google.firestore.v1.ArrayValue) valueType_; } return com.google.firestore.v1.ArrayValue.getDefaultInstance(); } /** + * + * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -546,18 +647,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 @@ -565,21 +669,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.
    * 
@@ -589,12 +698,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; @@ -606,19 +716,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_); @@ -642,8 +748,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); } @@ -655,50 +760,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; @@ -708,7 +818,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); @@ -718,49 +828,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: @@ -783,18 +882,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; @@ -832,130 +931,134 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.Value parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.Value parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Value parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Value parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.firestore.v1.Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Value parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Value parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.Value parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.Value parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.Value parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.Value parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.firestore.v1.Value parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.Value parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.Value prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A message that can hold any of the supported value types.
    * 
* * Protobuf type {@code google.firestore.v1.Value} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Value) com.google.firestore.v1.ValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_fieldAccessorTable + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Value.class, com.google.firestore.v1.Value.Builder.class); } // Construct using com.google.firestore.v1.Value.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -977,9 +1080,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_descriptor; } @java.lang.Override @@ -1057,38 +1160,39 @@ public com.google.firestore.v1.Value 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.v1.Value) { - return mergeFrom((com.google.firestore.v1.Value)other); + return mergeFrom((com.google.firestore.v1.Value) other); } else { super.mergeFrom(other); return this; @@ -1098,57 +1202,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(); @@ -1176,78 +1292,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) { @@ -1257,12 +1377,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() { @@ -1272,13 +1392,15 @@ public Builder clearValueType() { return this; } - /** + * + * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; + * * @return Whether the nullValue field is set. */ @java.lang.Override @@ -1286,11 +1408,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 @@ -1301,11 +1426,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. */ @@ -1316,29 +1444,35 @@ 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) { @SuppressWarnings("deprecation") - com.google.protobuf.NullValue result = com.google.protobuf.NullValue.valueOf( - (java.lang.Integer) valueType_); + com.google.protobuf.NullValue result = + com.google.protobuf.NullValue.valueOf((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. */ @@ -1352,11 +1486,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() { @@ -1369,22 +1506,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() { @@ -1394,11 +1537,14 @@ public boolean getBooleanValue() { return false; } /** + * + * *
      * A boolean value.
      * 
* * bool boolean_value = 1; + * * @param value The booleanValue to set. * @return This builder for chaining. */ @@ -1409,11 +1555,14 @@ public Builder setBooleanValue(boolean value) { return this; } /** + * + * *
      * A boolean value.
      * 
* * bool boolean_value = 1; + * * @return This builder for chaining. */ public Builder clearBooleanValue() { @@ -1426,22 +1575,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() { @@ -1451,11 +1606,14 @@ public long getIntegerValue() { return 0L; } /** + * + * *
      * An integer value.
      * 
* * int64 integer_value = 2; + * * @param value The integerValue to set. * @return This builder for chaining. */ @@ -1466,11 +1624,14 @@ public Builder setIntegerValue(long value) { return this; } /** + * + * *
      * An integer value.
      * 
* * int64 integer_value = 2; + * * @return This builder for chaining. */ public Builder clearIntegerValue() { @@ -1483,22 +1644,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() { @@ -1508,11 +1675,14 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * A double value.
      * 
* * double double_value = 3; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1523,11 +1693,14 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
      * A double value.
      * 
* * double double_value = 3; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1540,8 +1713,13 @@ public Builder clearDoubleValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampValueBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + timestampValueBuilder_; /** + * + * *
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1549,6 +1727,7 @@ public Builder clearDoubleValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -1556,6 +1735,8 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** + * + * *
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1563,6 +1744,7 @@ public boolean hasTimestampValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return The timestampValue. */ @java.lang.Override @@ -1580,6 +1762,8 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** + * + * *
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1602,6 +1786,8 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1610,8 +1796,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();
@@ -1622,6 +1807,8 @@ public Builder setTimestampValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1632,10 +1819,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;
         }
@@ -1651,6 +1840,8 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1676,6 +1867,8 @@ public Builder clearTimestampValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1688,6 +1881,8 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() {
       return getTimestampValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1708,6 +1903,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1717,25 +1914,31 @@ 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;
-      onChanged();;
+      onChanged();
+      ;
       return timestampValueBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1744,6 +1947,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
      * 
* * string string_value = 17; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1751,6 +1955,8 @@ public boolean hasStringValue() { return valueTypeCase_ == 17; } /** + * + * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1759,6 +1965,7 @@ public boolean hasStringValue() {
      * 
* * string string_value = 17; + * * @return The stringValue. */ @java.lang.Override @@ -1768,8 +1975,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 +1986,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1788,19 +1996,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; } @@ -1810,6 +2017,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1818,20 +2027,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) { + public Builder setStringValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueTypeCase_ = 17; + throw new NullPointerException(); + } + valueTypeCase_ = 17; valueType_ = value; onChanged(); return this; } /** + * + * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1840,6 +2051,7 @@ public Builder setStringValue(
      * 
* * string string_value = 17; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1851,6 +2063,8 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1859,15 +2073,15 @@ 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) { + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueTypeCase_ = 17; valueType_ = value; onChanged(); @@ -1875,6 +2089,8 @@ public Builder setStringValueBytes( } /** + * + * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -1882,12 +2098,15 @@ public Builder setStringValueBytes(
      * 
* * bytes bytes_value = 18; + * * @return Whether the bytesValue field is set. */ public boolean hasBytesValue() { return valueTypeCase_ == 18; } /** + * + * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -1895,6 +2114,7 @@ public boolean hasBytesValue() {
      * 
* * bytes bytes_value = 18; + * * @return The bytesValue. */ public com.google.protobuf.ByteString getBytesValue() { @@ -1904,6 +2124,8 @@ public com.google.protobuf.ByteString getBytesValue() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -1911,19 +2133,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(); - } - valueTypeCase_ = 18; + throw new NullPointerException(); + } + valueTypeCase_ = 18; valueType_ = value; onChanged(); return this; } /** + * + * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -1931,6 +2156,7 @@ public Builder setBytesValue(com.google.protobuf.ByteString value) {
      * 
* * bytes bytes_value = 18; + * * @return This builder for chaining. */ public Builder clearBytesValue() { @@ -1943,12 +2169,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 @@ -1956,12 +2185,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 @@ -1971,8 +2203,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; @@ -1983,25 +2214,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; } @@ -2011,32 +2243,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) { + public Builder setReferenceValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueTypeCase_ = 5; + 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,21 +2285,23 @@ 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) { + public Builder setReferenceValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueTypeCase_ = 5; valueType_ = value; onChanged(); @@ -2070,13 +2309,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 @@ -2084,11 +2327,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 @@ -2106,6 +2352,8 @@ public com.google.type.LatLng getGeoPointValue() { } } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2126,14 +2374,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(); @@ -2144,6 +2393,8 @@ public Builder setGeoPointValue( return this; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2152,10 +2403,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; } @@ -2171,6 +2423,8 @@ public Builder mergeGeoPointValue(com.google.type.LatLng value) { return this; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2194,6 +2448,8 @@ public Builder clearGeoPointValue() { return this; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2204,6 +2460,8 @@ public com.google.type.LatLng.Builder getGeoPointValueBuilder() { return getGeoPointValueFieldBuilder().getBuilder(); } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2222,6 +2480,8 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { } } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2229,27 +2489,34 @@ 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; - onChanged();; + onChanged(); + ; return geoPointValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> arrayValueBuilder_; + com.google.firestore.v1.ArrayValue, + com.google.firestore.v1.ArrayValue.Builder, + com.google.firestore.v1.ArrayValueOrBuilder> + arrayValueBuilder_; /** + * + * *
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2257,6 +2524,7 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
      * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -2264,6 +2532,8 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** + * + * *
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2271,6 +2541,7 @@ public boolean hasArrayValue() {
      * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return The arrayValue. */ @java.lang.Override @@ -2288,6 +2559,8 @@ public com.google.firestore.v1.ArrayValue getArrayValue() { } } /** + * + * *
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2310,6 +2583,8 @@ public Builder setArrayValue(com.google.firestore.v1.ArrayValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2318,8 +2593,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();
@@ -2330,6 +2604,8 @@ public Builder setArrayValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2340,10 +2616,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;
         }
@@ -2359,6 +2638,8 @@ public Builder mergeArrayValue(com.google.firestore.v1.ArrayValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2384,6 +2665,8 @@ public Builder clearArrayValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2396,6 +2679,8 @@ public com.google.firestore.v1.ArrayValue.Builder getArrayValueBuilder() {
       return getArrayValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2416,6 +2701,8 @@ public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2425,32 +2712,42 @@ 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;
-      onChanged();;
+      onChanged();
+      ;
       return arrayValueBuilder_;
     }
 
     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 @@ -2458,11 +2755,14 @@ public boolean hasMapValue() { return valueTypeCase_ == 6; } /** + * + * *
      * A map value.
      * 
* * .google.firestore.v1.MapValue map_value = 6; + * * @return The mapValue. */ @java.lang.Override @@ -2480,6 +2780,8 @@ public com.google.firestore.v1.MapValue getMapValue() { } } /** + * + * *
      * A map value.
      * 
@@ -2500,14 +2802,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(); @@ -2518,6 +2821,8 @@ public Builder setMapValue( return this; } /** + * + * *
      * A map value.
      * 
@@ -2526,10 +2831,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; } @@ -2545,6 +2853,8 @@ public Builder mergeMapValue(com.google.firestore.v1.MapValue value) { return this; } /** + * + * *
      * A map value.
      * 
@@ -2568,6 +2878,8 @@ public Builder clearMapValue() { return this; } /** + * + * *
      * A map value.
      * 
@@ -2578,6 +2890,8 @@ public com.google.firestore.v1.MapValue.Builder getMapValueBuilder() { return getMapValueFieldBuilder().getBuilder(); } /** + * + * *
      * A map value.
      * 
@@ -2596,6 +2910,8 @@ public com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder() { } } /** + * + * *
      * A map value.
      * 
@@ -2603,26 +2919,30 @@ 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();; + 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); } @@ -2632,12 +2952,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(); } @@ -2646,27 +2966,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; @@ -2681,6 +3001,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 dda81dae76..7227b16ac8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java @@ -1,98 +1,143 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/document.proto package com.google.firestore.v1; -public interface ValueOrBuilder extends +public interface ValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Value) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; + * * @return Whether the nullValue field is set. */ boolean hasNullValue(); /** + * + * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; + * * @return The enum numeric value on the wire for nullValue. */ int getNullValueValue(); /** + * + * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; + * * @return The nullValue. */ com.google.protobuf.NullValue getNullValue(); /** + * + * *
    * A boolean value.
    * 
* * bool boolean_value = 1; + * * @return Whether the booleanValue field is set. */ boolean hasBooleanValue(); /** + * + * *
    * A boolean value.
    * 
* * bool boolean_value = 1; + * * @return The booleanValue. */ boolean getBooleanValue(); /** + * + * *
    * An integer value.
    * 
* * int64 integer_value = 2; + * * @return Whether the integerValue field is set. */ boolean hasIntegerValue(); /** + * + * *
    * An integer value.
    * 
* * int64 integer_value = 2; + * * @return The integerValue. */ long getIntegerValue(); /** + * + * *
    * A double value.
    * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
    * A double value.
    * 
* * double double_value = 3; + * * @return The doubleValue. */ double getDoubleValue(); /** + * + * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -100,10 +145,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** + * + * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -111,10 +159,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** + * + * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -126,6 +177,8 @@ public interface ValueOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -134,10 +187,13 @@ public interface ValueOrBuilder extends
    * 
* * string string_value = 17; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -146,10 +202,13 @@ public interface ValueOrBuilder extends
    * 
* * string string_value = 17; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -158,12 +217,14 @@ public interface ValueOrBuilder extends
    * 
* * string string_value = 17; + * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString - getStringValueBytes(); + com.google.protobuf.ByteString getStringValueBytes(); /** + * + * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -171,10 +232,13 @@ public interface ValueOrBuilder extends
    * 
* * bytes bytes_value = 18; + * * @return Whether the bytesValue field is set. */ boolean hasBytesValue(); /** + * + * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -182,61 +246,78 @@ public interface ValueOrBuilder extends
    * 
* * bytes bytes_value = 18; + * * @return The bytesValue. */ com.google.protobuf.ByteString getBytesValue(); /** + * + * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; + * * @return Whether the referenceValue field is set. */ boolean hasReferenceValue(); /** + * + * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; + * * @return The referenceValue. */ java.lang.String getReferenceValue(); /** + * + * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; + * * @return The bytes for referenceValue. */ - com.google.protobuf.ByteString - getReferenceValueBytes(); + com.google.protobuf.ByteString getReferenceValueBytes(); /** + * + * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; + * * @return Whether the geoPointValue field is set. */ boolean hasGeoPointValue(); /** + * + * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; + * * @return The geoPointValue. */ com.google.type.LatLng getGeoPointValue(); /** + * + * *
    * A geo point value representing a point on the surface of Earth.
    * 
@@ -246,6 +327,8 @@ public interface ValueOrBuilder extends com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder(); /** + * + * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -253,10 +336,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return Whether the arrayValue field is set. */ boolean hasArrayValue(); /** + * + * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -264,10 +350,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return The arrayValue. */ com.google.firestore.v1.ArrayValue getArrayValue(); /** + * + * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -279,24 +368,32 @@ public interface ValueOrBuilder extends
   com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; + * * @return Whether the mapValue field is set. */ boolean hasMapValue(); /** + * + * *
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; + * * @return The mapValue. */ com.google.firestore.v1.MapValue getMapValue(); /** + * + * *
    * A map value.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java similarity index 76% 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 f94bf48e4c..8d0eb882ec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java @@ -1,63 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; /** + * + * *
  * A write on a document.
  * 
* * Protobuf type {@code google.firestore.v1.Write} */ -public final class Write extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Write extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Write) WriteOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Write.newBuilder() to construct. private Write(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Write() { updateTransforms_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Write(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_Write_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Write.class, com.google.firestore.v1.Write.Builder.class); } private int operationCase_ = 0; private java.lang.Object operation_; + public enum OperationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { UPDATE(1), DELETE(2), TRANSFORM(6), OPERATION_NOT_SET(0); private final int value; + private OperationCase(int value) { this.value = value; } @@ -73,31 +93,38 @@ public static OperationCase valueOf(int value) { public static OperationCase forNumber(int value) { switch (value) { - case 1: return UPDATE; - case 2: return DELETE; - case 6: return TRANSFORM; - case 0: return OPERATION_NOT_SET; - default: return null; + case 1: + return UPDATE; + case 2: + return DELETE; + case 6: + return TRANSFORM; + case 0: + return OPERATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OperationCase - getOperationCase() { - return OperationCase.forNumber( - operationCase_); + public OperationCase getOperationCase() { + return OperationCase.forNumber(operationCase_); } public static final int UPDATE_FIELD_NUMBER = 1; /** + * + * *
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; + * * @return Whether the update field is set. */ @java.lang.Override @@ -105,21 +132,26 @@ public boolean hasUpdate() { return operationCase_ == 1; } /** + * + * *
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; + * * @return The update. */ @java.lang.Override public com.google.firestore.v1.Document getUpdate() { if (operationCase_ == 1) { - return (com.google.firestore.v1.Document) operation_; + return (com.google.firestore.v1.Document) operation_; } return com.google.firestore.v1.Document.getDefaultInstance(); } /** + * + * *
    * A document to write.
    * 
@@ -129,31 +161,37 @@ public com.google.firestore.v1.Document getUpdate() { @java.lang.Override public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { if (operationCase_ == 1) { - return (com.google.firestore.v1.Document) operation_; + return (com.google.firestore.v1.Document) operation_; } return com.google.firestore.v1.Document.getDefaultInstance(); } public static final int DELETE_FIELD_NUMBER = 2; /** + * + * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; + * * @return Whether the delete field is set. */ public boolean hasDelete() { return operationCase_ == 2; } /** + * + * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; + * * @return The delete. */ public java.lang.String getDelete() { @@ -164,8 +202,7 @@ public java.lang.String getDelete() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (operationCase_ == 2) { operation_ = s; @@ -174,24 +211,25 @@ public java.lang.String getDelete() { } } /** + * + * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; + * * @return The bytes for delete. */ - public com.google.protobuf.ByteString - getDeleteBytes() { + public com.google.protobuf.ByteString getDeleteBytes() { java.lang.Object ref = ""; if (operationCase_ == 2) { ref = operation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (operationCase_ == 2) { operation_ = b; } @@ -203,11 +241,14 @@ public java.lang.String getDelete() { public static final int TRANSFORM_FIELD_NUMBER = 6; /** + * + * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; + * * @return Whether the transform field is set. */ @java.lang.Override @@ -215,21 +256,26 @@ public boolean hasTransform() { return operationCase_ == 6; } /** + * + * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; + * * @return The transform. */ @java.lang.Override public com.google.firestore.v1.DocumentTransform getTransform() { if (operationCase_ == 6) { - return (com.google.firestore.v1.DocumentTransform) operation_; + return (com.google.firestore.v1.DocumentTransform) operation_; } return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); } /** + * + * *
    * Applies a transformation to a document.
    * 
@@ -239,7 +285,7 @@ public com.google.firestore.v1.DocumentTransform getTransform() { @java.lang.Override public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder() { if (operationCase_ == 6) { - return (com.google.firestore.v1.DocumentTransform) operation_; + return (com.google.firestore.v1.DocumentTransform) operation_; } return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); } @@ -247,6 +293,8 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder( public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.firestore.v1.DocumentMask updateMask_; /** + * + * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -260,6 +308,7 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder(
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -267,6 +316,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -280,13 +331,18 @@ public boolean hasUpdateMask() {
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override public com.google.firestore.v1.DocumentMask getUpdateMask() { - return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.firestore.v1.DocumentMask.getDefaultInstance() + : updateMask_; } /** + * + * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -307,8 +363,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   public static final int UPDATE_TRANSFORMS_FIELD_NUMBER = 7;
-  private java.util.List updateTransforms_;
+  private java.util.List
+      updateTransforms_;
   /**
+   *
+   *
    * 
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -316,13 +375,17 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ @java.lang.Override - public java.util.List getUpdateTransformsList() { + public java.util.List + getUpdateTransformsList() { return updateTransforms_; } /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -330,14 +393,17 @@ public java.util.List
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ @java.lang.Override - public java.util.List + public java.util.List getUpdateTransformsOrBuilderList() { return updateTransforms_; } /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -345,13 +411,16 @@ public java.util.List
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ @java.lang.Override public int getUpdateTransformsCount() { return updateTransforms_.size(); } /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -359,13 +428,16 @@ public int getUpdateTransformsCount() {
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ @java.lang.Override public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransforms(int index) { return updateTransforms_.get(index); } /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -373,23 +445,27 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransfo
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ @java.lang.Override - public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTransformsOrBuilder( - int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder + getUpdateTransformsOrBuilder(int index) { return updateTransforms_.get(index); } public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 4; private com.google.firestore.v1.Precondition currentDocument_; /** + * + * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return Whether the currentDocument field is set. */ @java.lang.Override @@ -397,19 +473,26 @@ public boolean hasCurrentDocument() { return currentDocument_ != null; } /** + * + * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return The currentDocument. */ @java.lang.Override public com.google.firestore.v1.Precondition getCurrentDocument() { - return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; } /** + * + * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
@@ -423,6 +506,7 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -434,8 +518,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_);
     }
@@ -464,27 +547,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;
@@ -494,7 +576,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);
@@ -503,29 +585,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:
@@ -574,130 +650,134 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.Write parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.Write parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Write parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.Write parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.firestore.v1.Write parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Write parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Write parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Write parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Write parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Write parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Write parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Write parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.Write parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.firestore.v1.Write parseFrom(com.google.protobuf.CodedInputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Write parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.Write prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A write on a document.
    * 
* * Protobuf type {@code google.firestore.v1.Write} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Write) com.google.firestore.v1.WriteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_Write_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_Write_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Write.class, com.google.firestore.v1.Write.Builder.class); } // Construct using com.google.firestore.v1.Write.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -732,9 +812,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 @@ -800,38 +880,39 @@ public com.google.firestore.v1.Write 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.v1.Write) { - return mergeFrom((com.google.firestore.v1.Write)other); + return mergeFrom((com.google.firestore.v1.Write) other); } else { super.mergeFrom(other); return this; @@ -861,9 +942,10 @@ public Builder mergeFrom(com.google.firestore.v1.Write other) { updateTransformsBuilder_ = null; updateTransforms_ = other.updateTransforms_; bitField0_ = (bitField0_ & ~0x00000001); - updateTransformsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUpdateTransformsFieldBuilder() : null; + updateTransformsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUpdateTransformsFieldBuilder() + : null; } else { updateTransformsBuilder_.addAllMessages(other.updateTransforms_); } @@ -873,23 +955,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(); @@ -917,59 +1003,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); - - break; - } // case 26 - case 34: { - input.readMessage( - getCurrentDocumentFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + break; + } // case 26 + case 34: + { + input.readMessage(getCurrentDocumentFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -979,12 +1064,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() { @@ -997,13 +1082,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 @@ -1011,11 +1102,14 @@ public boolean hasUpdate() { return operationCase_ == 1; } /** + * + * *
      * A document to write.
      * 
* * .google.firestore.v1.Document update = 1; + * * @return The update. */ @java.lang.Override @@ -1033,6 +1127,8 @@ public com.google.firestore.v1.Document getUpdate() { } } /** + * + * *
      * A document to write.
      * 
@@ -1053,14 +1149,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(); @@ -1071,6 +1168,8 @@ public Builder setUpdate( return this; } /** + * + * *
      * A document to write.
      * 
@@ -1079,10 +1178,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; } @@ -1098,6 +1200,8 @@ public Builder mergeUpdate(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * A document to write.
      * 
@@ -1121,6 +1225,8 @@ public Builder clearUpdate() { return this; } /** + * + * *
      * A document to write.
      * 
@@ -1131,6 +1237,8 @@ public com.google.firestore.v1.Document.Builder getUpdateBuilder() { return getUpdateFieldBuilder().getBuilder(); } /** + * + * *
      * A document to write.
      * 
@@ -1149,6 +1257,8 @@ public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { } } /** + * + * *
      * A document to write.
      * 
@@ -1156,31 +1266,38 @@ 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; - onChanged();; + onChanged(); + ; return updateBuilder_; } /** + * + * *
      * 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 @@ -1188,12 +1305,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 @@ -1203,8 +1323,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; @@ -1215,25 +1334,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; } @@ -1243,32 +1363,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) { + public Builder setDelete(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - operationCase_ = 2; + 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() { @@ -1280,21 +1405,23 @@ 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) { + public Builder setDeleteBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); operationCase_ = 2; operation_ = value; onChanged(); @@ -1302,13 +1429,19 @@ public Builder setDeleteBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentTransform, com.google.firestore.v1.DocumentTransform.Builder, com.google.firestore.v1.DocumentTransformOrBuilder> transformBuilder_; + com.google.firestore.v1.DocumentTransform, + com.google.firestore.v1.DocumentTransform.Builder, + com.google.firestore.v1.DocumentTransformOrBuilder> + transformBuilder_; /** + * + * *
      * Applies a transformation to a document.
      * 
* * .google.firestore.v1.DocumentTransform transform = 6; + * * @return Whether the transform field is set. */ @java.lang.Override @@ -1316,11 +1449,14 @@ public boolean hasTransform() { return operationCase_ == 6; } /** + * + * *
      * Applies a transformation to a document.
      * 
* * .google.firestore.v1.DocumentTransform transform = 6; + * * @return The transform. */ @java.lang.Override @@ -1338,6 +1474,8 @@ public com.google.firestore.v1.DocumentTransform getTransform() { } } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1358,14 +1496,15 @@ public Builder setTransform(com.google.firestore.v1.DocumentTransform value) { return this; } /** + * + * *
      * Applies a transformation to a document.
      * 
* * .google.firestore.v1.DocumentTransform transform = 6; */ - public Builder setTransform( - com.google.firestore.v1.DocumentTransform.Builder builderForValue) { + public Builder setTransform(com.google.firestore.v1.DocumentTransform.Builder builderForValue) { if (transformBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); @@ -1376,6 +1515,8 @@ public Builder setTransform( return this; } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1384,10 +1525,13 @@ public Builder setTransform( */ public Builder mergeTransform(com.google.firestore.v1.DocumentTransform value) { if (transformBuilder_ == null) { - if (operationCase_ == 6 && - operation_ != com.google.firestore.v1.DocumentTransform.getDefaultInstance()) { - operation_ = com.google.firestore.v1.DocumentTransform.newBuilder((com.google.firestore.v1.DocumentTransform) operation_) - .mergeFrom(value).buildPartial(); + if (operationCase_ == 6 + && operation_ != com.google.firestore.v1.DocumentTransform.getDefaultInstance()) { + operation_ = + com.google.firestore.v1.DocumentTransform.newBuilder( + (com.google.firestore.v1.DocumentTransform) operation_) + .mergeFrom(value) + .buildPartial(); } else { operation_ = value; } @@ -1403,6 +1547,8 @@ public Builder mergeTransform(com.google.firestore.v1.DocumentTransform value) { return this; } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1426,6 +1572,8 @@ public Builder clearTransform() { return this; } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1436,6 +1584,8 @@ public com.google.firestore.v1.DocumentTransform.Builder getTransformBuilder() { return getTransformFieldBuilder().getBuilder(); } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1454,6 +1604,8 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder( } } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1461,28 +1613,39 @@ 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()); operation_ = null; } operationCase_ = 6; - onChanged();; + onChanged(); + ; return transformBuilder_; } private com.google.firestore.v1.DocumentMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> updateMaskBuilder_; + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1496,12 +1659,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1515,16 +1681,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.firestore.v1.DocumentMask update_mask = 3; + * * @return The updateMask. */ public com.google.firestore.v1.DocumentMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.firestore.v1.DocumentMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1553,6 +1724,8 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1567,8 +1740,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();
         onChanged();
@@ -1579,6 +1751,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1597,7 +1771,9 @@ public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.firestore.v1.DocumentMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.DocumentMask.newBuilder(updateMask_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -1609,6 +1785,8 @@ public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1635,6 +1813,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1650,11 +1830,13 @@ public Builder clearUpdateMask() {
      * .google.firestore.v1.DocumentMask update_mask = 3;
      */
     public com.google.firestore.v1.DocumentMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1673,11 +1855,14 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.firestore.v1.DocumentMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1693,32 +1878,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_ & 0x00000001) != 0)) {
-        updateTransforms_ = new java.util.ArrayList(updateTransforms_);
+        updateTransforms_ =
+            new java.util.ArrayList(
+                updateTransforms_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> updateTransformsBuilder_;
+            com.google.firestore.v1.DocumentTransform.FieldTransform,
+            com.google.firestore.v1.DocumentTransform.FieldTransform.Builder,
+            com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>
+        updateTransformsBuilder_;
 
     /**
+     *
+     *
      * 
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1726,9 +1922,11 @@ private void ensureUpdateTransformsIsMutable() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public java.util.List getUpdateTransformsList() { + public java.util.List + getUpdateTransformsList() { if (updateTransformsBuilder_ == null) { return java.util.Collections.unmodifiableList(updateTransforms_); } else { @@ -1736,6 +1934,8 @@ public java.util.List } } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1743,7 +1943,8 @@ public java.util.List
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public int getUpdateTransformsCount() { if (updateTransformsBuilder_ == null) { @@ -1753,6 +1954,8 @@ public int getUpdateTransformsCount() { } } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1760,7 +1963,8 @@ public int getUpdateTransformsCount() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransforms(int index) { if (updateTransformsBuilder_ == null) { @@ -1770,6 +1974,8 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransfo } } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1777,7 +1983,8 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransfo
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder setUpdateTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -1794,6 +2001,8 @@ public Builder setUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1801,10 +2010,12 @@ public Builder setUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder setUpdateTransforms( - int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (updateTransformsBuilder_ == null) { ensureUpdateTransformsIsMutable(); updateTransforms_.set(index, builderForValue.build()); @@ -1815,6 +2026,8 @@ public Builder setUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1822,9 +2035,11 @@ public Builder setUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public Builder addUpdateTransforms(com.google.firestore.v1.DocumentTransform.FieldTransform value) { + public Builder addUpdateTransforms( + com.google.firestore.v1.DocumentTransform.FieldTransform value) { if (updateTransformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1838,6 +2053,8 @@ public Builder addUpdateTransforms(com.google.firestore.v1.DocumentTransform.Fie return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1845,7 +2062,8 @@ public Builder addUpdateTransforms(com.google.firestore.v1.DocumentTransform.Fie
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder addUpdateTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -1862,6 +2080,8 @@ public Builder addUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1869,7 +2089,8 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder addUpdateTransforms( com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { @@ -1883,6 +2104,8 @@ public Builder addUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1890,10 +2113,12 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder addUpdateTransforms( - int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (updateTransformsBuilder_ == null) { ensureUpdateTransformsIsMutable(); updateTransforms_.add(index, builderForValue.build()); @@ -1904,6 +2129,8 @@ public Builder addUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1911,14 +2138,15 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder addAllUpdateTransforms( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (updateTransformsBuilder_ == null) { ensureUpdateTransformsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, updateTransforms_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, updateTransforms_); onChanged(); } else { updateTransformsBuilder_.addAllMessages(values); @@ -1926,6 +2154,8 @@ public Builder addAllUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1933,7 +2163,8 @@ public Builder addAllUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder clearUpdateTransforms() { if (updateTransformsBuilder_ == null) { @@ -1946,6 +2177,8 @@ public Builder clearUpdateTransforms() { return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1953,7 +2186,8 @@ public Builder clearUpdateTransforms() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder removeUpdateTransforms(int index) { if (updateTransformsBuilder_ == null) { @@ -1966,6 +2200,8 @@ public Builder removeUpdateTransforms(int index) { return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1973,13 +2209,16 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder getUpdateTransformsBuilder( - int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder + getUpdateTransformsBuilder(int index) { return getUpdateTransformsFieldBuilder().getBuilder(index); } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1987,16 +2226,20 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder getUpdat
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTransformsOrBuilder( - int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder + getUpdateTransformsOrBuilder(int index) { if (updateTransformsBuilder_ == null) { - return updateTransforms_.get(index); } else { + return updateTransforms_.get(index); + } else { return updateTransformsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2004,10 +2247,12 @@ public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpda
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public java.util.List - getUpdateTransformsOrBuilderList() { + public java.util.List< + ? extends com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> + getUpdateTransformsOrBuilderList() { if (updateTransformsBuilder_ != null) { return updateTransformsBuilder_.getMessageOrBuilderList(); } else { @@ -2015,6 +2260,8 @@ public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpda } } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2022,13 +2269,18 @@ public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpda
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdateTransformsBuilder() { - return getUpdateTransformsFieldBuilder().addBuilder( - com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder + addUpdateTransformsBuilder() { + return getUpdateTransformsFieldBuilder() + .addBuilder( + com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2036,14 +2288,18 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdat
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdateTransformsBuilder( - int index) { - return getUpdateTransformsFieldBuilder().addBuilder( - index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder + addUpdateTransformsBuilder(int index) { + return getUpdateTransformsFieldBuilder() + .addBuilder( + index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2051,18 +2307,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_ & 0x00000001) != 0), getParentForChildren(), @@ -2074,36 +2337,49 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdat private com.google.firestore.v1.Precondition currentDocument_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> currentDocumentBuilder_; + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> + currentDocumentBuilder_; /** + * + * *
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return Whether the currentDocument field is set. */ public boolean hasCurrentDocument() { return currentDocumentBuilder_ != null || currentDocument_ != null; } /** + * + * *
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return The currentDocument. */ public com.google.firestore.v1.Precondition getCurrentDocument() { if (currentDocumentBuilder_ == null) { - return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; } else { return currentDocumentBuilder_.getMessage(); } } /** + * + * *
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2125,6 +2401,8 @@ public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2144,6 +2422,8 @@ public Builder setCurrentDocument(
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2155,7 +2435,9 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       if (currentDocumentBuilder_ == null) {
         if (currentDocument_ != null) {
           currentDocument_ =
-            com.google.firestore.v1.Precondition.newBuilder(currentDocument_).mergeFrom(value).buildPartial();
+              com.google.firestore.v1.Precondition.newBuilder(currentDocument_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           currentDocument_ = value;
         }
@@ -2167,6 +2449,8 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2186,6 +2470,8 @@ public Builder clearCurrentDocument() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2194,11 +2480,13 @@ public Builder clearCurrentDocument() {
      * .google.firestore.v1.Precondition current_document = 4;
      */
     public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder() {
-      
+
       onChanged();
       return getCurrentDocumentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2210,11 +2498,14 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
       if (currentDocumentBuilder_ != null) {
         return currentDocumentBuilder_.getMessageOrBuilder();
       } else {
-        return currentDocument_ == null ?
-            com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
+        return currentDocument_ == null
+            ? com.google.firestore.v1.Precondition.getDefaultInstance()
+            : currentDocument_;
       }
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2223,21 +2514,24 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
      * .google.firestore.v1.Precondition current_document = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> 
+            com.google.firestore.v1.Precondition,
+            com.google.firestore.v1.Precondition.Builder,
+            com.google.firestore.v1.PreconditionOrBuilder>
         getCurrentDocumentFieldBuilder() {
       if (currentDocumentBuilder_ == null) {
-        currentDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder>(
-                getCurrentDocument(),
-                getParentForChildren(),
-                isClean());
+        currentDocumentBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.Precondition,
+                com.google.firestore.v1.Precondition.Builder,
+                com.google.firestore.v1.PreconditionOrBuilder>(
+                getCurrentDocument(), getParentForChildren(), isClean());
         currentDocument_ = null;
       }
       return currentDocumentBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2247,12 +2541,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.Write)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.Write)
   private static final com.google.firestore.v1.Write DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.Write();
   }
@@ -2261,27 +2555,27 @@ public static com.google.firestore.v1.Write getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Write parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Write parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2296,6 +2590,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.Write getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
index 3d10085e92..98e1b069c4 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface WriteOrBuilder extends
+public interface WriteOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.Write)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; + * * @return Whether the update field is set. */ boolean hasUpdate(); /** + * + * *
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; + * * @return The update. */ com.google.firestore.v1.Document getUpdate(); /** + * + * *
    * A document to write.
    * 
@@ -35,56 +59,72 @@ public interface WriteOrBuilder extends com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder(); /** + * + * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; + * * @return Whether the delete field is set. */ boolean hasDelete(); /** + * + * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; + * * @return The delete. */ java.lang.String getDelete(); /** + * + * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; + * * @return The bytes for delete. */ - com.google.protobuf.ByteString - getDeleteBytes(); + com.google.protobuf.ByteString getDeleteBytes(); /** + * + * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; + * * @return Whether the transform field is set. */ boolean hasTransform(); /** + * + * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; + * * @return The transform. */ com.google.firestore.v1.DocumentTransform getTransform(); /** + * + * *
    * Applies a transformation to a document.
    * 
@@ -94,6 +134,8 @@ public interface WriteOrBuilder extends com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder(); /** + * + * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -107,10 +149,13 @@ public interface WriteOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -124,10 +169,13 @@ public interface WriteOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; + * * @return The updateMask. */ com.google.firestore.v1.DocumentMask getUpdateMask(); /** + * + * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -145,6 +193,8 @@ public interface WriteOrBuilder extends
   com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -152,11 +202,14 @@ public interface WriteOrBuilder extends
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - java.util.List + java.util.List getUpdateTransformsList(); /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -164,10 +217,13 @@ public interface WriteOrBuilder extends
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransforms(int index); /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -175,10 +231,13 @@ public interface WriteOrBuilder extends
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ int getUpdateTransformsCount(); /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -186,11 +245,14 @@ public interface WriteOrBuilder extends
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - java.util.List + java.util.List getUpdateTransformsOrBuilderList(); /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -198,32 +260,41 @@ public interface WriteOrBuilder extends
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTransformsOrBuilder( int index); /** + * + * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return Whether the currentDocument field is set. */ boolean hasCurrentDocument(); /** + * + * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return The currentDocument. */ com.google.firestore.v1.Precondition getCurrentDocument(); /** + * + * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java
new file mode 100644
index 0000000000..bb8c49df70
--- /dev/null
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java
@@ -0,0 +1,208 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/write.proto
+
+package com.google.firestore.v1;
+
+public final class WriteProto {
+  private WriteProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_Write_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Write_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_DocumentTransform_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_WriteResult_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_WriteResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_DocumentChange_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_DocumentDelete_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_DocumentRemove_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_ExistenceFilter_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\037google/firestore/v1/write.proto\022\023googl"
+          + "e.firestore.v1\032 google/firestore/v1/comm"
+          + "on.proto\032\"google/firestore/v1/document.p"
+          + "roto\032\037google/protobuf/timestamp.proto\"\333\002"
+          + "\n\005Write\022/\n\006update\030\001 \001(\0132\035.google.firesto"
+          + "re.v1.DocumentH\000\022\020\n\006delete\030\002 \001(\tH\000\022;\n\ttr"
+          + "ansform\030\006 \001(\0132&.google.firestore.v1.Docu"
+          + "mentTransformH\000\0226\n\013update_mask\030\003 \001(\0132!.g"
+          + "oogle.firestore.v1.DocumentMask\022P\n\021updat"
+          + "e_transforms\030\007 \003(\01325.google.firestore.v1"
+          + ".DocumentTransform.FieldTransform\022;\n\020cur"
+          + "rent_document\030\004 \001(\0132!.google.firestore.v"
+          + "1.PreconditionB\013\n\toperation\"\345\004\n\021Document"
+          + "Transform\022\020\n\010document\030\001 \001(\t\022O\n\020field_tra"
+          + "nsforms\030\002 \003(\01325.google.firestore.v1.Docu"
+          + "mentTransform.FieldTransform\032\354\003\n\016FieldTr"
+          + "ansform\022\022\n\nfield_path\030\001 \001(\t\022`\n\023set_to_se"
+          + "rver_value\030\002 \001(\0162A.google.firestore.v1.D"
+          + "ocumentTransform.FieldTransform.ServerVa"
+          + "lueH\000\022/\n\tincrement\030\003 \001(\0132\032.google.firest"
+          + "ore.v1.ValueH\000\022-\n\007maximum\030\004 \001(\0132\032.google"
+          + ".firestore.v1.ValueH\000\022-\n\007minimum\030\005 \001(\0132\032"
+          + ".google.firestore.v1.ValueH\000\022B\n\027append_m"
+          + "issing_elements\030\006 \001(\0132\037.google.firestore"
+          + ".v1.ArrayValueH\000\022@\n\025remove_all_from_arra"
+          + "y\030\007 \001(\0132\037.google.firestore.v1.ArrayValue"
+          + "H\000\"=\n\013ServerValue\022\034\n\030SERVER_VALUE_UNSPEC"
+          + "IFIED\020\000\022\020\n\014REQUEST_TIME\020\001B\020\n\016transform_t"
+          + "ype\"u\n\013WriteResult\022/\n\013update_time\030\001 \001(\0132"
+          + "\032.google.protobuf.Timestamp\0225\n\021transform"
+          + "_results\030\002 \003(\0132\032.google.firestore.v1.Val"
+          + "ue\"q\n\016DocumentChange\022/\n\010document\030\001 \001(\0132\035"
+          + ".google.firestore.v1.Document\022\022\n\ntarget_"
+          + "ids\030\005 \003(\005\022\032\n\022removed_target_ids\030\006 \003(\005\"m\n"
+          + "\016DocumentDelete\022\020\n\010document\030\001 \001(\t\022\032\n\022rem"
+          + "oved_target_ids\030\006 \003(\005\022-\n\tread_time\030\004 \001(\013"
+          + "2\032.google.protobuf.Timestamp\"m\n\016Document"
+          + "Remove\022\020\n\010document\030\001 \001(\t\022\032\n\022removed_targ"
+          + "et_ids\030\002 \003(\005\022-\n\tread_time\030\004 \001(\0132\032.google"
+          + ".protobuf.Timestamp\"3\n\017ExistenceFilter\022\021"
+          + "\n\ttarget_id\030\001 \001(\005\022\r\n\005count\030\002 \001(\005B\303\001\n\027com"
+          + ".google.firestore.v1B\nWriteProtoP\001Z
  * The request for [Firestore.Write][google.firestore.v1.Firestore.Write].
  * The first request creates a stream, or resumes an existing one from a token.
@@ -16,15 +33,16 @@
  *
  * Protobuf type {@code google.firestore.v1.WriteRequest}
  */
-public final class WriteRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class WriteRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteRequest)
     WriteRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use WriteRequest.newBuilder() to construct.
   private WriteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private WriteRequest() {
     database_ = "";
     streamId_ = "";
@@ -34,44 +52,46 @@ private WriteRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new WriteRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_WriteRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 5:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.WriteRequest.class, com.google.firestore.v1.WriteRequest.Builder.class);
+            com.google.firestore.v1.WriteRequest.class,
+            com.google.firestore.v1.WriteRequest.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
   private volatile java.lang.Object database_;
   /**
+   *
+   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -79,6 +99,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ @java.lang.Override @@ -87,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}`.
@@ -102,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 { @@ -122,6 +143,8 @@ public java.lang.String getDatabase() { public static final int STREAM_ID_FIELD_NUMBER = 2; 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 +152,7 @@ public java.lang.String getDatabase() {
    * 
* * string stream_id = 2; + * * @return The streamId. */ @java.lang.Override @@ -137,14 +161,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 +177,15 @@ public java.lang.String getStreamId() {
    * 
* * string stream_id = 2; + * * @return The bytes for streamId. */ @java.lang.Override - public com.google.protobuf.ByteString - getStreamIdBytes() { + public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); streamId_ = b; return b; } else { @@ -172,6 +196,8 @@ public java.lang.String getStreamId() { public static final int WRITES_FIELD_NUMBER = 3; private java.util.List writes_; /** + * + * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -187,6 +213,8 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -198,11 +226,12 @@ public java.util.List getWritesList() {
    * repeated .google.firestore.v1.Write writes = 3;
    */
   @java.lang.Override
-  public java.util.List 
-      getWritesOrBuilderList() {
+  public java.util.List getWritesOrBuilderList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -218,6 +247,8 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -233,6 +264,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -244,14 +277,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_;
   /**
+   *
+   *
    * 
    * A stream token that was previously sent by the server.
    * The client should set this field to the token from the most recent
@@ -266,6 +300,7 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
    * 
* * bytes stream_token = 4; + * * @return The streamToken. */ @java.lang.Override @@ -274,24 +309,23 @@ 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, + ""); } - 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_; } @@ -300,28 +334,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this write request.
    * 
* * 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.
    * 
@@ -329,11 +365,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 5; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels associated with this write request.
    * 
@@ -341,16 +378,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, 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.
    * 
@@ -358,12 +395,11 @@ public 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(); } @@ -371,6 +407,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -382,8 +419,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_); } @@ -396,12 +432,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); } @@ -418,22 +450,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; @@ -443,23 +473,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; } @@ -490,97 +515,103 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.WriteRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.WriteRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.WriteRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.WriteRequest parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.firestore.v1.WriteRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.WriteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.WriteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.WriteRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.WriteRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.WriteRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.WriteRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.WriteRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.WriteRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.WriteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.WriteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [Firestore.Write][google.firestore.v1.Firestore.Write].
    * The first request creates a stream, or resumes an existing one from a token.
@@ -593,55 +624,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();
@@ -663,9 +691,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
@@ -708,38 +736,39 @@ public com.google.firestore.v1.WriteRequest 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.v1.WriteRequest) {
-        return mergeFrom((com.google.firestore.v1.WriteRequest)other);
+        return mergeFrom((com.google.firestore.v1.WriteRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -774,9 +803,10 @@ public Builder mergeFrom(com.google.firestore.v1.WriteRequest other) {
             writesBuilder_ = null;
             writes_ = other.writes_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            writesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getWritesFieldBuilder() : null;
+            writesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getWritesFieldBuilder()
+                    : null;
           } else {
             writesBuilder_.addAllMessages(other.writes_);
           }
@@ -785,8 +815,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());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -813,48 +842,54 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              database_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              streamId_ = input.readStringRequireUtf8();
-
-              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();
-
-              break;
-            } // case 34
-            case 42: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                database_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                streamId_ = input.readStringRequireUtf8();
+
+                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();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                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) {
@@ -864,10 +899,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}`.
@@ -875,13 +913,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; @@ -890,6 +928,8 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -897,15 +937,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 { @@ -913,6 +952,8 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -920,20 +961,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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -941,15 +984,18 @@ public Builder setDatabase(
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -957,16 +1003,16 @@ 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) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -974,6 +1020,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
@@ -981,13 +1029,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; @@ -996,6 +1044,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
@@ -1003,15 +1053,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 { @@ -1019,6 +1068,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
@@ -1026,20 +1077,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) { + public Builder setStreamId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + streamId_ = value; 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
@@ -1047,15 +1100,18 @@ public Builder setStreamId(
      * 
* * string stream_id = 2; + * * @return This builder for chaining. */ public Builder clearStreamId() { - + streamId_ = getDefaultInstance().getStreamId(); 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
@@ -1063,34 +1119,40 @@ 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) { + public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + streamId_ = value; onChanged(); return this; } private java.util.List writes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWritesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writes_ = new java.util.ArrayList(writes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> writesBuilder_; + com.google.firestore.v1.Write, + com.google.firestore.v1.Write.Builder, + com.google.firestore.v1.WriteOrBuilder> + writesBuilder_; /** + * + * *
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1109,6 +1171,8 @@ public java.util.List getWritesList() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1127,6 +1191,8 @@ public int getWritesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1145,6 +1211,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1155,8 +1223,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();
@@ -1170,6 +1237,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1180,8 +1249,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());
@@ -1192,6 +1260,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1216,6 +1286,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1226,8 +1298,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();
@@ -1241,6 +1312,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1251,8 +1324,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());
@@ -1263,6 +1335,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1273,8 +1347,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());
@@ -1285,6 +1358,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1299,8 +1374,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);
@@ -1308,6 +1382,8 @@ public Builder addAllWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1329,6 +1405,8 @@ public Builder clearWrites() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1350,6 +1428,8 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1360,11 +1440,12 @@ public Builder removeWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public com.google.firestore.v1.Write.Builder getWritesBuilder(
-        int index) {
+    public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
       return getWritesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1375,14 +1456,16 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
       if (writesBuilder_ == null) {
-        return writes_.get(index);  } else {
+        return writes_.get(index);
+      } else {
         return writesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1393,8 +1476,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 {
@@ -1402,6 +1485,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1413,10 +1498,11 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
      * repeated .google.firestore.v1.Write writes = 3;
      */
     public com.google.firestore.v1.Write.Builder addWritesBuilder() {
-      return getWritesFieldBuilder().addBuilder(
-          com.google.firestore.v1.Write.getDefaultInstance());
+      return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1427,12 +1513,13 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public com.google.firestore.v1.Write.Builder addWritesBuilder(
-        int index) {
-      return getWritesFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.Write.getDefaultInstance());
+    public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
+      return getWritesFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1443,20 +1530,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_ & 0x00000001) != 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_ & 0x00000001) != 0), getParentForChildren(), isClean());
         writes_ = null;
       }
       return writesBuilder_;
@@ -1464,6 +1553,8 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(
 
     private com.google.protobuf.ByteString streamToken_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * A stream token that was previously sent by the server.
      * The client should set this field to the token from the most recent
@@ -1478,6 +1569,7 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(
      * 
* * bytes stream_token = 4; + * * @return The streamToken. */ @java.lang.Override @@ -1485,6 +1577,8 @@ public com.google.protobuf.ByteString getStreamToken() { return streamToken_; } /** + * + * *
      * A stream token that was previously sent by the server.
      * The client should set this field to the token from the most recent
@@ -1499,19 +1593,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(); - } - + throw new NullPointerException(); + } + streamToken_ = value; onChanged(); return this; } /** + * + * *
      * A stream token that was previously sent by the server.
      * The client should set this field to the token from the most recent
@@ -1526,31 +1623,31 @@ public Builder setStreamToken(com.google.protobuf.ByteString value) {
      * 
* * bytes stream_token = 4; + * * @return This builder for chaining. */ public Builder clearStreamToken() { - + streamToken_ = getDefaultInstance().getStreamToken(); onChanged(); 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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -1562,28 +1659,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this write request.
      * 
* * 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.
      * 
@@ -1591,11 +1690,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 5; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this write request.
      * 
@@ -1603,16 +1703,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, 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.
      * 
@@ -1620,12 +1721,11 @@ public 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(); } @@ -1633,69 +1733,66 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - 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() { 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); 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); 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); } @@ -1705,12 +1802,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(); } @@ -1719,27 +1816,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; @@ -1754,6 +1851,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.WriteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java index 076745c182..11c6c1e650 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface WriteRequestOrBuilder extends +public interface WriteRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -15,10 +33,13 @@ public interface WriteRequestOrBuilder extends
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -26,12 +47,14 @@ public interface WriteRequestOrBuilder extends
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The ID of the write stream to resume.
    * This may only be set in the first message. When left empty, a new write
@@ -39,10 +62,13 @@ public interface WriteRequestOrBuilder extends
    * 
* * string stream_id = 2; + * * @return The streamId. */ java.lang.String getStreamId(); /** + * + * *
    * The ID of the write stream to resume.
    * This may only be set in the first message. When left empty, a new write
@@ -50,12 +76,14 @@ public interface WriteRequestOrBuilder extends
    * 
* * string stream_id = 2; + * * @return The bytes for streamId. */ - com.google.protobuf.ByteString - getStreamIdBytes(); + com.google.protobuf.ByteString getStreamIdBytes(); /** + * + * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -66,9 +94,10 @@ public interface WriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  java.util.List 
-      getWritesList();
+  java.util.List getWritesList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -81,6 +110,8 @@ public interface WriteRequestOrBuilder extends
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -93,6 +124,8 @@ public interface WriteRequestOrBuilder extends
    */
   int getWritesCount();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -103,9 +136,10 @@ public interface WriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  java.util.List 
-      getWritesOrBuilderList();
+  java.util.List getWritesOrBuilderList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -116,10 +150,11 @@ public interface WriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-      int index);
+  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A stream token that was previously sent by the server.
    * The client should set this field to the token from the most recent
@@ -134,11 +169,14 @@ com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
    * 
* * bytes stream_token = 4; + * * @return The streamToken. */ com.google.protobuf.ByteString getStreamToken(); /** + * + * *
    * Labels associated with this write request.
    * 
@@ -147,30 +185,31 @@ com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder( */ int getLabelsCount(); /** + * + * *
    * Labels associated with this write request.
    * 
* * map<string, string> labels = 5; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Labels associated with this write request.
    * 
* * map<string, string> labels = 5; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels associated with this write request.
    * 
@@ -179,18 +218,18 @@ boolean containsLabels( */ /* 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 2b30d5bb11..ab23022846 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,38 +45,42 @@ private WriteResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.WriteResponse.class, com.google.firestore.v1.WriteResponse.Builder.class); + com.google.firestore.v1.WriteResponse.class, + com.google.firestore.v1.WriteResponse.Builder.class); } public static final int STREAM_ID_FIELD_NUMBER = 1; 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 @@ -67,30 +89,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 { @@ -101,6 +123,8 @@ public java.lang.String getStreamId() { public static final int STREAM_TOKEN_FIELD_NUMBER = 2; private com.google.protobuf.ByteString 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.
@@ -108,6 +132,7 @@ public java.lang.String getStreamId() {
    * 
* * bytes stream_token = 2; + * * @return The streamToken. */ @java.lang.Override @@ -118,6 +143,8 @@ public com.google.protobuf.ByteString getStreamToken() { public static final int WRITE_RESULTS_FIELD_NUMBER = 3; private java.util.List writeResults_; /** + * + * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -131,6 +158,8 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -140,11 +169,13 @@ public java.util.List getWriteResultsList()
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getWriteResultsOrBuilderList() {
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -158,6 +189,8 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -171,6 +204,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -180,20 +215,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 @@ -201,12 +238,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 @@ -214,6 +254,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.
@@ -227,6 +269,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -238,8 +281,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_);
     }
@@ -265,16 +307,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;
@@ -284,23 +323,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;
@@ -330,130 +365,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.WriteResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.WriteResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.WriteResponse parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.firestore.v1.WriteResponse parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.WriteResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.WriteResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.WriteResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The response for [Firestore.Write][google.firestore.v1.Firestore.Write].
    * 
* * Protobuf type {@code google.firestore.v1.WriteResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.WriteResponse) com.google.firestore.v1.WriteResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.WriteResponse.class, com.google.firestore.v1.WriteResponse.Builder.class); + com.google.firestore.v1.WriteResponse.class, + com.google.firestore.v1.WriteResponse.Builder.class); } // Construct using com.google.firestore.v1.WriteResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +518,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_descriptor; } @java.lang.Override @@ -499,7 +539,8 @@ 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); int from_bitField0_ = bitField0_; result.streamId_ = streamId_; result.streamToken_ = streamToken_; @@ -525,38 +566,39 @@ public com.google.firestore.v1.WriteResponse 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.v1.WriteResponse) { - return mergeFrom((com.google.firestore.v1.WriteResponse)other); + return mergeFrom((com.google.firestore.v1.WriteResponse) other); } else { super.mergeFrom(other); return this; @@ -590,9 +632,10 @@ public Builder mergeFrom(com.google.firestore.v1.WriteResponse 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_); } @@ -627,42 +670,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - streamId_ = input.readStringRequireUtf8(); + case 10: + { + streamId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - streamToken_ = input.readBytes(); + break; + } // case 10 + case 18: + { + streamToken_ = input.readBytes(); - 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); + 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); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -672,23 +717,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; @@ -697,21 +745,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 { @@ -719,57 +768,64 @@ 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) { + public Builder setStreamId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + streamId_ = value; 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() { - + streamId_ = getDefaultInstance().getStreamId(); onChanged(); 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) { + public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + streamId_ = value; onChanged(); return this; @@ -777,6 +833,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.
@@ -784,6 +842,7 @@ public Builder setStreamIdBytes(
      * 
* * bytes stream_token = 2; + * * @return The streamToken. */ @java.lang.Override @@ -791,6 +850,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.
@@ -798,19 +859,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(); - } - + throw new NullPointerException(); + } + streamToken_ = value; 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.
@@ -818,28 +882,35 @@ public Builder setStreamToken(com.google.protobuf.ByteString value) {
      * 
* * bytes stream_token = 2; + * * @return This builder for chaining. */ public Builder clearStreamToken() { - + streamToken_ = getDefaultInstance().getStreamToken(); onChanged(); return this; } private java.util.List writeResults_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWriteResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writeResults_ = new java.util.ArrayList(writeResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> writeResultsBuilder_; + com.google.firestore.v1.WriteResult, + com.google.firestore.v1.WriteResult.Builder, + com.google.firestore.v1.WriteResultOrBuilder> + writeResultsBuilder_; /** + * + * *
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -856,6 +927,8 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -872,6 +945,8 @@ public int getWriteResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -888,6 +963,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -896,8 +973,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();
@@ -911,6 +987,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -931,6 +1009,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -953,6 +1033,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -961,8 +1043,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();
@@ -976,6 +1057,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -984,8 +1067,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());
@@ -996,6 +1078,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1016,6 +1100,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1028,8 +1114,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);
@@ -1037,6 +1122,8 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1056,6 +1143,8 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1075,6 +1164,8 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1083,11 +1174,12 @@ public Builder removeWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) {
       return getWriteResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1096,14 +1188,16 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
       if (writeResultsBuilder_ == null) {
-        return writeResults_.get(index);  } else {
+        return writeResults_.get(index);
+      } else {
         return writeResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1112,8 +1206,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 {
@@ -1121,6 +1215,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1130,10 +1226,12 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
     public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
-      return getWriteResultsFieldBuilder().addBuilder(
-          com.google.firestore.v1.WriteResult.getDefaultInstance());
+      return getWriteResultsFieldBuilder()
+          .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1142,12 +1240,13 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
-        int index) {
-      return getWriteResultsFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.WriteResult.getDefaultInstance());
+    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) {
+      return getWriteResultsFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1156,20 +1255,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_ & 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_;
@@ -1177,36 +1279,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 commitTimeBuilder_ != null || 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. */ 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.
@@ -1228,6 +1343,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.
@@ -1235,8 +1352,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();
         onChanged();
@@ -1247,6 +1363,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.
@@ -1258,7 +1376,7 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
         if (commitTime_ != null) {
           commitTime_ =
-            com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial();
         } else {
           commitTime_ = value;
         }
@@ -1270,6 +1388,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.
@@ -1289,6 +1409,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.
@@ -1297,11 +1419,13 @@ public Builder clearCommitTime() {
      * .google.protobuf.Timestamp commit_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
-      
+
       onChanged();
       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.
@@ -1313,11 +1437,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.
@@ -1326,21 +1453,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);
     }
 
@@ -1350,12 +1480,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();
   }
@@ -1364,27 +1494,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;
@@ -1399,6 +1529,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 8bd57a4aba..f92a2e255e 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
@@ -1,35 +1,58 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface WriteResponseOrBuilder extends
+public interface WriteResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The ID of the stream.
    * Only set on the first message, when a new stream was created.
    * 
* * string stream_id = 1; + * * @return The streamId. */ java.lang.String getStreamId(); /** + * + * *
    * The ID of the stream.
    * Only set on the first message, when a new stream was created.
    * 
* * string stream_id = 1; + * * @return The bytes for streamId. */ - com.google.protobuf.ByteString - getStreamIdBytes(); + com.google.protobuf.ByteString getStreamIdBytes(); /** + * + * *
    * A token that represents the position of this response in the stream.
    * This can be used by a client to resume the stream at this point.
@@ -37,11 +60,14 @@ public interface WriteResponseOrBuilder extends
    * 
* * bytes stream_token = 2; + * * @return The streamToken. */ com.google.protobuf.ByteString getStreamToken(); /** + * + * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -50,9 +76,10 @@ public interface WriteResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
-  java.util.List 
-      getWriteResultsList();
+  java.util.List getWriteResultsList();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -63,6 +90,8 @@ public interface WriteResponseOrBuilder extends
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -73,6 +102,8 @@ public interface WriteResponseOrBuilder extends
    */
   int getWriteResultsCount();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -81,9 +112,11 @@ public interface WriteResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
-  java.util.List 
+  java.util.List
       getWriteResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -92,30 +125,37 @@ public interface WriteResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
-  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-      int index);
+  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; + * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** + * + * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; + * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** + * + * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
index 9dfac8f3a1..8c96d49bf5 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
@@ -1,56 +1,77 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The result of applying a write.
  * 
* * Protobuf type {@code google.firestore.v1.WriteResult} */ -public final class WriteResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WriteResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteResult) WriteResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WriteResult.newBuilder() to construct. private WriteResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WriteResult() { transformResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_WriteResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_WriteResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_WriteResult_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_WriteResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.WriteResult.class, com.google.firestore.v1.WriteResult.Builder.class); + com.google.firestore.v1.WriteResult.class, + com.google.firestore.v1.WriteResult.Builder.class); } public static final int UPDATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -66,6 +88,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -74,6 +98,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ @java.lang.Override @@ -81,6 +106,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -98,6 +125,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int TRANSFORM_RESULTS_FIELD_NUMBER = 2;
   private java.util.List transformResults_;
   /**
+   *
+   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -110,6 +139,8 @@ public java.util.List getTransformResultsList() {
     return transformResults_;
   }
   /**
+   *
+   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -118,11 +149,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], in the
    * same order.
@@ -135,6 +168,8 @@ public int getTransformResultsCount() {
     return transformResults_.size();
   }
   /**
+   *
+   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -147,6 +182,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], in the
    * same order.
@@ -155,12 +192,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;
@@ -172,8 +209,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());
     }
@@ -190,12 +226,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;
@@ -205,7 +239,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);
@@ -214,11 +248,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;
   }
@@ -243,130 +275,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(); @@ -387,9 +424,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 @@ -432,38 +469,39 @@ public com.google.firestore.v1.WriteResult 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.v1.WriteResult) { - return mergeFrom((com.google.firestore.v1.WriteResult)other); + return mergeFrom((com.google.firestore.v1.WriteResult) other); } else { super.mergeFrom(other); return this; @@ -493,9 +531,10 @@ public Builder mergeFrom(com.google.firestore.v1.WriteResult other) { transformResultsBuilder_ = null; transformResults_ = other.transformResults_; bitField0_ = (bitField0_ & ~0x00000001); - transformResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTransformResultsFieldBuilder() : null; + transformResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTransformResultsFieldBuilder() + : null; } else { transformResultsBuilder_.addAllMessages(other.transformResults_); } @@ -527,32 +566,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - 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: + 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) { @@ -562,12 +600,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`.
@@ -576,12 +620,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -590,16 +637,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`.
@@ -623,6 +675,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`.
@@ -632,8 +686,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();
         onChanged();
@@ -644,6 +697,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -657,7 +712,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -669,6 +724,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`.
@@ -690,6 +747,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -700,11 +759,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -718,11 +779,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`.
@@ -733,32 +797,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_ & 0x00000001) != 0)) {
-        transformResults_ = new java.util.ArrayList(transformResults_);
+        transformResults_ =
+            new java.util.ArrayList(transformResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     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], in the
      * same order.
@@ -774,6 +848,8 @@ public java.util.List getTransformResultsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -789,6 +865,8 @@ public int getTransformResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -804,6 +882,8 @@ public com.google.firestore.v1.Value getTransformResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -811,8 +891,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();
@@ -826,6 +905,8 @@ public Builder setTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -845,6 +926,8 @@ public Builder setTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -866,6 +949,8 @@ public Builder addTransformResults(com.google.firestore.v1.Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -873,8 +958,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();
@@ -888,6 +972,8 @@ public Builder addTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -895,8 +981,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());
@@ -907,6 +992,8 @@ public Builder addTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -926,6 +1013,8 @@ public Builder addTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -937,8 +1026,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);
@@ -946,6 +1034,8 @@ public Builder addAllTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -964,6 +1054,8 @@ public Builder clearTransformResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -982,6 +1074,8 @@ public Builder removeTransformResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -989,11 +1083,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], in the
      * same order.
@@ -1001,14 +1096,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], in the
      * same order.
@@ -1016,8 +1113,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 {
@@ -1025,6 +1122,8 @@ public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
      * same order.
@@ -1033,10 +1132,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], in the
      * same order.
@@ -1044,12 +1145,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], in the
      * same order.
@@ -1057,16 +1159,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_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1075,9 +1182,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);
     }
 
@@ -1087,12 +1194,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();
   }
@@ -1101,27 +1208,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;
@@ -1136,6 +1243,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 8280d4c498..69b0367872 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface WriteResultOrBuilder extends
+public interface WriteResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -16,10 +34,13 @@ public interface WriteResultOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -28,10 +49,13 @@ public interface WriteResultOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -44,6 +68,8 @@ public interface WriteResultOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -51,9 +77,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], in the
    * same order.
@@ -63,6 +90,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], in the
    * same order.
@@ -72,6 +101,8 @@ public interface WriteResultOrBuilder extends
    */
   int getTransformResultsCount();
   /**
+   *
+   *
    * 
    * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the
    * same order.
@@ -79,9 +110,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], in the
    * same order.
@@ -89,6 +122,5 @@ public interface WriteResultOrBuilder extends
    *
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
-  com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
-      int index);
+  com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto b/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
rename to proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto b/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
rename to proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto b/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
rename to proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto b/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
rename to proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto b/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
rename to proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto b/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto
rename to proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto